PeumeAPI

Developer & public data

Edit Footage

Turn your own footage into a finished, edited video from a prompt.

From $0.75 per call

Call it

curl https://api.peume.com/v1/call/edit-footage \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "footage": [],
    "effort": "low",
    "max_seconds": 10
  }
}'

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-footage.

Parameters

footageRequiredarray

1 to 200 source files, 5 hours of video in all. Each entry is a public https link (a direct file link, a Google Drive file or folder link, a Dropbox file link, or an Instagram, TikTok or YouTube video link) or a file_ upload id from /uploads/create, reusable in any number of videos and charged on its first use only. Video, images and audio are accepted; at least one entry needs a picture.

promptstring

What to make. Required unless references is given. Say what the video is and how long, name the files that matter, and say what you do not want (for example 'No music').

referencesarray

Up to 5 videos to make it look like: https links or file_ upload ids. Charged per minute, like footage; a file_ id already used is not charged again.

effortRequiredstring

Required; sets the price. low costs half as much and finishes sooner. high follows a detailed request or a reference more closely.

low · high

max_secondsRequiredinteger

Required; sets the price. The longest the video may run, in whole seconds from 1 to 1800. It is never exceeded. The price is that of the band it falls in: up to 60, 120, 300, 600, 900 or 1800 seconds, so 30 costs the same as 60. Use target_seconds for the length to aim for.

target_secondsinteger

The length to aim for, in seconds, from 1 to max_seconds.

aspect_ratiostring

Frame shape. Or send width and height instead. Left out, the editor chooses from the footage and the prompt.

9:16 · 16:9 · 1:1

widthinteger

Frame width in pixels, with height: even, 320 to 3840, the shorter side at most 2160. Not with aspect_ratio.

heightinteger

Frame height in pixels, with width.

fpsinteger

Frames a second, 1 to 60 (default 30).

resolutionstring

Resolution of the finished file.

720p · 1080p · 1440p · 4k

variationsinteger

How many Cuts to make from the same footage, 1 to 5 (default 1). Each extra Cut adds to the price.

variation_briefstring

How the Cuts differ from each other.

variation_scopestring

portion (default): the Cuts differ in one part, such as the hook, and each extra Cut adds 10% of the price. full: each Cut is edited differently throughout and adds 75%.

portion · full

allow_generated_mediaboolean

true lets the editor generate music, voiceover, sound and images, which are charged up to generated_media_budget. Off by default.

generated_media_budgetnumber

USD. The most generated media may add. Left out, $0.30 plus $0.10 for each minute of max_seconds.

max_pricenumber

USD. The most the video may cost in all. If your footage would take it over, the run ends before any editing and costs nothing. On /videos/create it is also the amount held for the run; left out there, the hold and the ceiling are the price for the requested Cuts, the generated-media budget and $0.60 for footage sent.

filenamestring

Name of the downloaded file, 1 to 120 characters; makes it end in.mp4. Left out, the file is named video.mp4. Later files of the same Video get -2, -3 and so on before.mp4.

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.