PeumeAPI

AI generation

Upscale Video with Realistic Detail

Starlight: diffusion upscaling that restores realistic faces, textures and text in GenAI and archival video.

$0.15 per credit

Call it

curl https://api.peume.com/v1/call/upscale-video-with-realistic-detail \
  -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: upscale-video-with-realistic-detail.

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: slp-2.6 (Starlight Precise 2.6, the latest all-round model with a sharpness dial); slp-2.5 (Starlight Precise 2.5, the previous release); slhq-1 (Starlight HQ, maximum quality for clean modern high-resolution sources); slm-1 (Starlight Mini, restoration for 8mm/16mm film, MiniDV and interlaced tapes); wonder-1 (Starlight Sharp, sharper detail and small faces in low-res progressive video); slf-2 (Starlight Fast 2, twice as fast at half the credits). Default slp-2.6.

slp-2.6 · slp-2.5 · slhq-1 · slm-1 · wonder-1 · slf-2

Example: slp-2.6

keep_audioboolean

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

Example: true

sharpnessnumber

slp-2.6 only: how much sharpening to apply (1.0 softest to 5.0 sharpest). Default 5.0.

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.