Skip to content
Guides
Guides

KIE image and video upscaling

KIE image and video upscaling

Use kie-upscale-image to upscale an image and kie-upscale-video to upscale a video. Both endpoints return a Task ID. Poll the matching endpoint or use a callback.

Image upscaling

Send POST /api/v1/kie/upscale_image with model, source_image_url, and an optional string upscale_factor of "1", "2", "4", or "8". The service defaults to "2". The source image must be at most 20 MB. Output is limited to 67,108,864 pixels and 16,384 pixels per side. Oversized images receive HTTP 422 before a Task is created.

JSON
{"model":"kie-upscale-image","source_image_url":"https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg","upscale_factor":"2"}

Poll GET /api/v1/kie/upscale_image/{id}. Completed results contain images.

Video upscaling

Send POST /api/v1/kie/upscale_video with model, source_video_url, and an optional resolution of 1080P, 2K, or 4K. The service defaults to 2K. The source video must be at most 50 MB and 60 seconds. Media that exceeds these limits after download fails asynchronously. The output preserves frame rate, frame count, and audio tracks.

JSON
{"model":"kie-upscale-video","source_video_url":"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4","resolution":"2K"}

Poll GET /api/v1/kie/upscale_video/{id}. Completed results contain videos.