Video upscaling with Real-ESRGAN โ enhance videos to FHD, 2K, or 4K frame by frame. The go-to open-source video upscaler for old footage and AI-generated clips.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "lucataco/real-esrgan-video",
"input": {
"video_path": "https://example.com/generated-clip.mp4",
"model": "RealESRGAN_x4plus",
"resolution": "4k"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
video_path | string | Yes | - | Input video to upscale |
resolution | string | No | FHD | Target output resolution FHD2k4k |
model | string | No | RealESRGAN_x4plus | Upscaling model variant (anime variant for animation) RealESRGAN_x4plusRealESRGAN_x4plus_anime_6Brealesr-animevideov3 |
There are 3 ways to provide files for the video_path parameter:
Attach files directly to POST /v1/predictions/upload. No separate upload step needed.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=lucataco/real-esrgan-video" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:video_path=@your_file.png"Pass a publicly accessible URL directly. You can also use file_url from the Storage API.
{
"model": "lucataco/real-esrgan-video",
"input": {
"prompt": "your prompt here",
"video_path": "https://example.com/image.jpg"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Upscale a generated video clip to 4K
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "lucataco/real-esrgan-video",
"input": {
"video_path": "https://example.com/generated-clip.mp4",
"model": "RealESRGAN_x4plus",
"resolution": "4k"
}
}'POST /v1/predictions