
RealBasicVSR
Enlarges a real-world video 4 times, looking across frames so detail stays steady and flicker is lower than with…
Fine-tunableREAL_ESRGAN_VIDEOEnlarges a video 2 or 4 times, frame by frame, with Real-ESRGAN: sharper detail and less noise and blur, with a photo model, a fast general model and an anime model to choose from.

Real-ESRGAN by Xintao Wang, Liangbin Xie, Chao Dong and Ying Shan, released under the BSD 3-Clause Licence; its generator network is BasicSR's, under the Apache License 2.0.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
video | file | Yes | — | The video to enlarge: MP4, MOV, WebM or MKV, at most 256 MB, 300 frames and 518,400 pixels a frame. The result has no sound. 1–2048 characters · video/mp4, quicktime, webm, x-matroska |
variant | text | No | general | photo: best detail for real footage; general: faster, with adjustable denoise; anime: cartoons and anime. Allowed: photo, general, anime |
scale | integer | No | 4 | How many times wider and taller the result is. Allowed: 2, 4 · 2–4 |
denoise_strength | number | No | 0.5 | General model only (the others ignore it): 0 keeps noise and grain, 1 removes as much of them as it can. 0–1 |
Output. Returns MP4 video: The enlarged video as an H.264 MP4 without sound, at the input's frame rate.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=REAL_ESRGAN_VIDEO" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"video": "https://example.com/input.png",
"denoise_strength": 0.5,
"scale": 4,
"variant": "general"
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"REAL_ESRGAN_VIDEO",
{
"video": "https://example.com/input.png",
"denoise_strength": 0.5,
"scale": 4,
"variant": "general"
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Real-ESRGAN Video on your own data and run the tuned model through the same API. Dataset: One ZIP (at most 4 GB, 128 MB a clip, no password) with 2 to 100 pairs of a clip and the same clip exactly 4 times larger, and manifest.jsonl with one {"input", "target"} line per pair. More: Good to know, in the README.
The steps are in the docs.
Price per frame: 0.002185 credits ($0.00002185). The price is shown again before every run; all prices are on the pricing page.

Enlarges a real-world video 4 times, looking across frames so detail stays steady and flicker is lower than with…
Fine-tunable
Cuts a person out of video precisely, hair included, when you also give a picture of the empty background from the…
Fine-tunable
Video-editing model (Wan 2.1 VACE, 1.3B): follows a control clip, redoes a masked area or the end of a clip, or puts…
Fine-tunable
Colourises black-and-white video with DeOldify's video model: plausible colour for every frame, laid over the original…
Fine-tunable
Makes slow motion and higher frame rates by painting the frames between two frames, even when things move far between…
Fine-tunable
Cuts people out of video with a soft alpha matte that keeps hair and fine edges, with no green screen and no…
Fine-tunable