PeumeAPI

AI generation

Edit Video

Instruction-based video editing with Wan 2.7.

From $0.15 per call

Call it

curl https://api.peume.com/v1/call/edit-video \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "media": [],
    "resolution": "720P",
    "audio_setting": "auto",
    "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: edit-video.

Parameters

promptstring

Editing instruction (max 5,000 characters), e.g. "Convert the entire scene to a claymation style".

negative_promptstring

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

mediaRequiredarray

Exactly one video plus up to four reference images.

resolutionstring

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

720P · 1080P

Example: 720P

ratiostring

Aspect ratio. Omit to follow the input video's ratio.

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

durationinteger

Truncate the output to this many seconds (2-10). Omit to keep the source clip's length. Cost note: omitting holds the price of a 10s output up front and settles on actual seconds.

audio_settingstring

"auto" (default): the model decides the audio from the prompt. "origin": keep the input video's original audio.

auto · origin

Example: auto

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.