PeumeAPI

AI generation

Upscale and Fix Video Artifacts

Artemis: balanced denoise, sharpen and upscale tuned per source quality and artifact type.

$0.15 per credit

Call it

curl https://api.peume.com/v1/call/upscale-and-fix-video-artifacts \
  -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-and-fix-video-artifacts.

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: ahq-12 (Artemis High Quality, for clean sources); alqs-2 (Artemis Medium Quality, for average sources); alq-13 (Artemis Low Quality, for degraded sources); amqs-2 (Artemis Medium Halo, removes light edge halos); amq-13 (Artemis Strong Halo, removes heavy edge halos); aaa-9 (Artemis Aliasing / Moire, removes jagged edges and moire). Default alqs-2.

ahq-12 · alqs-2 · alq-13 · amqs-2 · amq-13 · aaa-9

Example: alqs-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.