Call it
curl https://api.peume.com/v1/call/seedance-2-5 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"model": "example/seedance-2.5",
"prompt": "A paper boat crosses a quiet pond at sunrise.",
"duration": 4,
"resolution": "480p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}'const res = await fetch("https://api.peume.com/v1/call/seedance-2-5", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"model": "example/seedance-2.5",
"prompt": "A paper boat crosses a quiet pond at sunrise.",
"duration": 4,
"resolution": "480p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/seedance-2-5",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"model": "example/seedance-2.5",
"prompt": "A paper boat crosses a quiet pond at sunrise.",
"duration": 4,
"resolution": "480p",
"aspect_ratio": "16:9",
"generate_audio": True
}
},
)
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-5.
Parameters
modelRequiredstringbytedance/seedance-2.5
Example: example/seedance-2.5
promptRequiredstringExample: A paper boat crosses a quiet pond at sunrise.
durationintegerExample: 4
resolutionstring480p · 720p
Example: 480p
aspect_ratiostring16:9 · 4:3 · 1:1 · 3:4 · 9:16 · 21:9
Example: 16:9
generate_audiobooleanExample: true
frame_imagesarrayimage objects with type image_url, an image_url.url, and frame_type first_frame or last_frame.
Other ways to do it
Same job, other sources, cheapest first.
