Call it
curl https://api.peume.com/v1/call/douyin-short-drama-channel \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"genre": "action",
"page_token": "your page token"
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-short-drama-channel", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"genre": "action",
"page_token": "your page token"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-short-drama-channel",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"genre": "action",
"page_token": "your page token"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: douyin-short-drama-channel.
Parameters
genrestringShort-drama genre: `hot`, `sweet_romance`, `comedy`, `uplifting`, `growth`, `suspense`, `family`, `urban`, `fantasy`, `xuanhuan`, `workplace`, `youth`, `costume`, `action`, `comeback` or `other`. Leave it out for the channel's default picks. One of: action, comeback, comedy, costume, family, fantasy, growth, hot, other, suspense, sweet_romance, uplifting, urban, workplace, xuanhuan, youth.
action · comeback · comedy · costume · family · fantasy · growth · hot · other · suspense · sweet_romance · uplifting …
page_tokenstringPage token for `series_feed`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping the other inputs unchanged. Tokens last 24 hours; the last page has no `next_page_token`. A page holds 16 dramas; pages can repeat a drama, so de-duplicate by `series_id`.
