# ByteDance Video Upscaler > Upscale and enhance video up to 4K at 60fps, with scene-aware presets for AI-generated content, short dramas, UGC, and film restoration. Spatial upscaling and frame interpolation run in one pass. Billed per second of output video by processing tier, target resolution and frame rate. This gateway accepts source videos up to 60 seconds. - **Provider**: replicate - **Model ID**: bytedance/video-upscaler - **Category**: video_editing - **Credits**: from 1,920 for the default configuration — varies by input, see Pricing - **Pricing Type**: input_based ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `video` (string, **required**): Video to upscale and enhance (mp4, up to 60 seconds). Typically a Seedance output (720p/1080p, 24fps), but any video works. - `processing_type` (string, optional): Processing tier. 'standard' works for everything. 'pro' uses a higher-quality enhancement model with better skin texture and fine detail for real-people footage, billed at 10x the standard rate. (Default: `standard`; Options: `standard`, `pro`) - `scene` (string, optional): Scene-based enhancement preset. 'aigc' is recommended for Seedance / other AI model outputs. 'short_series' is tuned for short-form drama, 'ugc' for user-generated content, 'old_film' for film restoration, 'common' for everything else. (Default: `aigc`; Options: `aigc`, `short_series`, `ugc`, `old_film`, `common`) - `target_fps` (integer, optional): Target output frame rate. Frame interpolation is applied if higher than the source. Above 30fps doubles the per-second price. (Default: `60`; Options: `24`, `30`, `60`, `120`) - `target_resolution` (string, optional): Target output resolution (lowercase `2k`/`4k`). 4k is the native maximum. Each step up doubles the per-second price. (Default: `4k`; Options: `720p`, `1080p`, `2k`, `4k`) ## Example Request ```json { "model": "bytedance/video-upscaler", "input": { "processing_type": "standard", "scene": "aigc", "target_fps": 60, "target_resolution": "4k", "video": "https://replicate.delivery/xezq/uOSu3KdjK0YnD5OafmYcOiE3Q0Ue6RBVklAIdMtb7QsjkinWA/tmp4mgrr5jh.mp4" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "bytedance/video-upscaler", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null, "credits_used": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` When the job is `completed`, `result` holds the output URL(s) or data and `credits_used` the net credits charged. When it is `failed`, `error` and `error_code` say why and the charge is refunded. ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Pricing Charged by input. Rules are checked top to bottom and the first match applies: - When `processing_type` = `standard` and `target_resolution` = `720p` and `target_fps` ≤ `30`: 8.004975 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `720p` and `target_fps` > `30`: 16.012275 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `1080p` and `target_fps` ≤ `30`: 16.012275 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `1080p` and `target_fps` > `30`: 32.022225 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `2k` and `target_fps` ≤ `30`: 32.022225 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `2k` and `target_fps` > `30`: 64.0491 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `4k` and `target_fps` ≤ `30`: 64.0491 credits per second of the input media (measured by the gateway) - When `processing_type` = `standard` and `target_resolution` = `4k` and `target_fps` > `30`: 128.100525 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `720p` and `target_fps` ≤ `30`: 80.061375 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `720p` and `target_fps` > `30`: 160.12275 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `1080p` and `target_fps` ≤ `30`: 160.12275 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `1080p` and `target_fps` > `30`: 320.25015 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `2k` and `target_fps` ≤ `30`: 320.25015 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `2k` and `target_fps` > `30`: 640.49565 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `4k` and `target_fps` ≤ `30`: 640.49565 credits per second of the input media (measured by the gateway) - When `processing_type` = `pro` and `target_resolution` = `4k` and `target_fps` > `30`: 1,280.993625 credits per second of the input media (measured by the gateway) - Otherwise: 128.100525 credits per second of the input media (measured by the gateway) The request reserves the amount above; the final charge is settled on the measured output, and any unused part of the reservation is refunded. Default configuration: 1,920 credits. These are list prices. The amount charged is rounded, and large charges are discounted progressively. `POST /predictions/estimate` with the same `model` and `input` returns the charge for that input without creating a job (an estimate when the price depends on the output). ## Output Type url ## Tags video-upscaling, video-enhancement, frame-interpolation, 4K, ByteDance ## Documentation https://replicate.com/bytedance/video-upscaler