PeumeAPI

AI generation

Reference to Video

Video with sound guided by reference images, videos and audio, Video 1.

From $0.0005 per unit

Call it

curl https://api.peume.com/v1/call/reference-to-video \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "your prompt",
    "resolution": "480p"
  }
}'

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: reference-to-video.

Parameters

promptRequiredstring

What to generate. Name references by position: <Picture 1>, <Picture 2> … for images, <Video 1> … for videos, <Audio 1> … for audio, e.g. '<Picture 1> walks through the street in <Video 1>'. Up to 16,000 characters.

resolutionRequiredstring

Output resolution: 480p, 768p, 1080p or 2k. Sets the per-second price.

480p · 768p · 1080p · 2k

durationstring

Clip length in whole seconds, 5–15, or auto to fit the quoted dialogue (8 seconds minimum, billed at the resolved length). Default 5.

aspect_ratiostring

adaptive (default: follows the first reference image, else the first video), 21:9, 16:9, 4:3, 1:1, 3:4 or 9:16. At 1080p and 2k set 16:9 or 9:16.

21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16 · adaptive

prompt_enhancementstring

How rewrites the prompt before generating: quality (default), turbo, ultraquality, or disabled (use your text as written).

quality · turbo · ultraquality · disabled

seedinteger

Generation seed for repeatable output; random when omitted.

reference_imagesarray

Up to 9 reference images (PNG or JPEG); the first two are free, each { "type": "url", "url": "" }.

reference_videosarray

Up to 3 reference videos; the first 5 seconds of each are used and billed, each { "type": "url", "url": "" }.

reference_audioarray

Up to 3 reference audio clips (free), each { "type": "url", "url": "" }.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.