PeumeAPI

Developer & public data

Start Video Upload

Start a video upload and get presigned part URLs to PUT the file to.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/start-video-upload \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "filename": "your filename",
    "file_size": 10,
    "content_type": "your content type",
    "title": "your title"
  }
}'

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: start-video-upload.

Parameters

filenameRequiredstring

The file's name, e.g. 'launch.mp4'.

file_sizeRequiredinteger

The file's exact size in bytes, at most 20,000,000,000. It must equal the bytes you upload: a mismatch fails the upload at /uploads/complete.

content_typeRequiredstring

The video's MIME type, e.g. 'video/mp4'.

titleRequiredstring

The video's title.

descriptionstring

The video's description.

tagsarray

Up to 50 tags.

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.