Call it
curl https://api.peume.com/v1/call/seedance-2-0-mini-video-byteplus \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"content": [],
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"watermark": false
}
}'const res = await fetch("https://api.peume.com/v1/call/seedance-2-0-mini-video-byteplus", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"content": [],
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"watermark": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/seedance-2-0-mini-video-byteplus",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"content": [],
"resolution": "720p",
"duration": 5,
"generate_audio": True,
"watermark": False
}
},
)
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: seedance-2-0-mini-video-byteplus.
Parameters
contentRequiredarrayContent items: text (text-to-video), image_url (image-to-video / first+last frame / reference images), video_url and audio_url (multimodal reference).
resolutionstringOutput resolution (also the price selector).
480p · 720p
Example: 720p
durationintegerDuration in seconds (4-15).
Example: 5
ratiostringAspect ratio. Omit for the upstream default (adaptive - picks the best fit from your prompt/inputs).
16:9 · 4:3 · 1:1 · 3:4 · 9:16 · 21:9 · adaptive
generate_audiobooleanGenerate synchronized audio (voice, sound effects, music). Default true. No price impact.
Example: true
watermarkbooleanAdd an "AI Generated" watermark. Default false.
Example: false
priorityintegerQueue priority 0-9 (higher = front of the queue). Default 0.
