Skip to main content
API Reference for FLUX Video Upscale. FLUX Video Upscale is Black Forest Labs’ video upscaler: send a video, get a higher-resolution version back.
Comfy Router is not generally available yet. POST /v2/models/{provider}/{model} and its catalog and schema siblings are not serving requests yet: an authenticated call answers 404 today. The snippets on this page document the contract those routes will serve, published ahead of the rollout so your integration is ready to write against.

Quick start

Create a key at platform.comfy.org/profile/api-keys and export it as COMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk, npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP. Model ID: bfl/video-upscale-v1 Endpoint: POST https://api.comfy.org/v2/models/bfl/video-upscale-v1

Schema

Input

Fields follow Black Forest Labs’ published API specification and are checked against it in CI. Router’s own schema for this model is not published yet, so requests are forwarded to the provider unvalidated.
string
required
The video to upscale, as an HTTPS URL or a base64-encoded MP4. At most 20 seconds and 50MB.
number
default:"2"
Resolution multiplier.Range: 1.5 to 3
integer
default:"1"
0 preserves faces and products faithfully; 1 lets the model add detail, suited to generated footage.Possible values: 0, 1
string
default:"\"\""
Optional guidance for the added detail.
integer
default:"2"
Moderation tolerance for inputs and outputs. 0 is strictest.Range: 0 to 4

Output

Router returns Black Forest Labs’ native response unchanged. The video is at result.sample.
string
required
BFL task id for this generation.
string
required
Terminal task status. Router only returns once this is Ready.Possible values: Ready
object
required
string (uri)
required
Signed URL of the generated MP4. Expires roughly two hours after the result is ready.Format: uri

Examples

Input

Output

result.sample is a signed URL that expires roughly two hours after the result is ready. Download the MP4 promptly.

Before you ship

The snippets above are the shortest working call. Three things are the same for every model and are documented once on the Comfy Router headers page: send an Idempotency-Key on every paid call and reuse it when you retry, expect the connection to be held up to Router’s 10 minute deadline, and keep X-Comfy-Request-Id from every response. The SDKs do all three for you; the cURL tab does none of them. On failure, X-Comfy-Error-Type names the bucket, and a 422 means the body failed the model’s schema and was never billed.

Headers

Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.

Quickstart

Typed error handling in Python and TypeScript, reading the 422, walking the catalog.

Limitations

What Router does not do today, and what to use instead.