Call it
curl https://api.peume.com/v1/call/image-to-video-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "your prompt",
"image": "your image",
"resolution": "480p"
}
}'const res = await fetch("https://api.peume.com/v1/call/image-to-video-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"prompt": "your prompt",
"image": "your image",
"resolution": "480p"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/image-to-video-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"prompt": "your prompt",
"image": "your image",
"resolution": "480p"
}
},
)
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: image-to-video-3.
Parameters
promptRequiredstringWhat to generate: subject, setting, camera, and the sound you want (name the room tone and effects; put spoken lines in double quotes; say "no music" to avoid a music bed). Up to 16,000 characters.
imageRequiredobjectFirst frame: { "type": "url", "url": "" } — a public PNG or JPEG.
resolutionRequiredstringOutput resolution: 480p, 768p, 1080p or 2k. Sets the per-second price.
480p · 768p · 1080p · 2k
durationstringClip length in whole seconds, 5–30, or auto to fit the quoted dialogue (8 seconds minimum, billed at the resolved length). Default 5. Clips over 15 seconds bill every second at the higher long-clip rate and need prompt_enhancement quality or turbo.
prompt_enhancementstringHow rewrites the prompt before generating: quality (default), turbo, ultraquality, or disabled (use your text as written).
quality · turbo · ultraquality · disabled
seedintegerGeneration seed for repeatable output; random when omitted.
