PeumeAPI

AI generation

Recover Faces in Video

Iris: face-focused recovery for low and medium quality footage, with upscaling.

$0.15 per credit

Call it

curl https://api.peume.com/v1/call/recover-faces-in-video \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "video_url": "your video url",
    "frame_count": 10,
    "frame_rate": 10,
    "width": 10,
    "height": 10,
    "output_width": 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: recover-faces-in-video.

Parameters

video_urlRequiredstring

Public https:// URL of the source video; the path must end with a video extension (.mp4,.mov,.mkv,.webm,...). downloads it directly. Max 100 GB.

frame_countRequiredinteger

Total frames in the source video, e.g. 120 for a 5-second 24 fps clip. needs it to size the job; it also sets the credit hold.

frame_rateRequirednumber

Source frame rate in frames per second, e.g. 24, 25, 30.

widthRequiredinteger

Source width in pixels, e.g. 1280.

heightRequiredinteger

Source height in pixels, e.g. 720.

output_widthRequiredinteger

Output width in pixels, e.g. 1920 (HD), 3840 (4K), 1080 (portrait HD). Keep the source aspect ratio.

output_heightRequiredinteger

Output height in pixels, e.g. 1080 (HD), 2160 (4K), 1920 (portrait HD). With the source size it sets the credits; see the pricing notes.

modelstring

Model: iris-3 (Iris Low Quality, badly degraded faces); iris-2 (Iris Medium Quality, moderately degraded faces). Default iris-2.

iris-3 · iris-2

Example: iris-2

keep_audioboolean

Copy the source audio track into the output (AAC). Default true; a silent source stays silent.

Example: true

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.