PeumeAPI

AI generation

Text to Video

Text-to-video with Wan 2.7.

From $0.15 per call

Call it

curl https://api.peume.com/v1/call/text-to-video-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "your prompt",
    "resolution": "720P",
    "ratio": "16:9",
    "duration": 5,
    "prompt_extend": true,
    "watermark": false
  }
}'

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

Parameters

promptRequiredstring

Text prompt describing the video content and style (max 5,000 characters — longer text is silently truncated upstream).

negative_promptstring

Elements to exclude from the video (max 500 characters).

audio_urlstring

Public URL of a driving audio file (WAV/MP3, 2-30s, <=15MB). Without it the model auto-generates matching music or sound effects.

resolutionstring

Output resolution tier (also the price selector). Default 720P.

720P · 1080P

Example: 720P

ratiostring

Aspect ratio of the output video. Default 16:9.

16:9 · 9:16 · 1:1 · 4:3 · 3:4

Example: 16:9

durationinteger

Output duration in seconds (2-15). Default 5. Billing is per second.

Example: 5

prompt_extendboolean

Rewrite the prompt with an LLM to improve quality (best for short prompts; adds latency). Default true.

Example: true

watermarkboolean

Add an "AI Generated" watermark. Default false.

Example: false

seedinteger

Random seed for reproducibility. Same seed does not guarantee identical results.

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.