Black Forest Labs Flux 3 Video Upscale API Documentation
Playground
Try it on WaveSpeedAI!FLUX Video Upscale enhances MP4 videos with source-faithful or creative detail reconstruction, configurable 1.5x to 3x scaling, and improved visual clarity for video restoration, social content, ads, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
FLUX 3 Video Upscale enhances an input video with AI-powered upscaling. Upload a source video, optionally describe the desired enhancement direction with a prompt, choose an upscale factor, and adjust creativity to control how much visual detail the model reconstructs during the upscale process.
Why Choose This?
-
AI video upscaling
Improve video resolution and perceived detail from an existing source clip. -
Prompt-guided enhancement
Use an optional prompt to guide the visual direction, such as sharper details, cleaner textures, or more cinematic refinement. -
Adjustable upscale factor
Control how strongly the output should be upscaled with theupscale_factorparameter. -
Creativity control
Usecreativityto control the enhancement strength and reconstruction behavior. -
Short video enhancement workflow
Designed for upgrading short video clips while preserving the original motion and scene structure. -
Simple input pipeline
Provide a video, set the upscale parameters, and generate an enhanced output.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Input video to upscale. |
| prompt | No | Optional text prompt describing the desired enhancement direction, detail style, or visual refinement. |
| upscale_factor | No | Upscale factor for the output video. Higher values increase the target upscale amount. |
| creativity | No | Controls how creatively the model reconstructs or enhances visual details. A value of 1 uses the higher creativity pricing tier. |
How to Use
- Upload the input video — Provide the source video you want to upscale.
- Add a prompt optional — Describe the desired enhancement style, such as sharper detail, cleaner lighting, reduced softness, or cinematic refinement.
- Set upscale factor — Choose how strongly the video should be upscaled.
- Adjust creativity — Use
creativityto control the amount of visual reconstruction. - Submit — Generate the upscaled video and retrieve the output.
Pricing
Pricing is based on input video duration and the selected creativity value. The highest (4K) pricing tier applies to every request, regardless of output resolution or upscale_factor.
| Creativity | Price per second |
|---|---|
| Creative - 1 | $0.79 |
| Precise - 0 | $0.55 |
Billable duration is rounded up to the next whole second, with a minimum of 1 second and a maximum of 20 seconds. The default creativity value is 1 (creative).
For example, a 10-second video costs $7.90 in creative mode or $5.50 in precise mode.
Best Use Cases
- Video enhancement — Improve short video clips with AI upscaling.
- Creative restoration — Add sharper detail and cleaner visual structure to soft or lower-resolution footage.
- Marketing assets — Upgrade short product, campaign, or social media clips.
- Preview-to-final workflows — Improve draft videos before publishing or presenting.
- Cinematic refinement — Enhance lighting, texture, and perceived detail while preserving the source motion.
- Social video optimization — Upscale short clips for higher-quality platform delivery.
Pro Tips
- Use clean source videos with stable motion for better upscaling results.
- Add a prompt when you want a specific enhancement direction, such as sharper product details, cleaner faces, or more cinematic lighting.
- Keep prompts focused on enhancement rather than changing the scene content.
- Use
creativitycarefully when the original video needs stronger detail reconstruction. - Short clips are easier to review and iterate before processing longer videos.
- Make sure the source video already has the motion and composition you want, since this endpoint is designed for upscaling rather than video editing.
Related Models
- FLUX 3 Text-to-Video — Generate video directly from a text prompt.
- FLUX 3 Image-to-Video — Animate a reference image into a video.
- FLUX 3 Start-End-to-Video — Generate a video between a start image and an end image.
- FLUX 3 Video Extend — Extend an existing video with a new generated continuation.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"video": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
"upscale_factor": 2,
"creativity": 1
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/black-forest-labs/flux-3/video-upscale" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| video | string | Yes | - | MP4 video to upscale. Maximum duration: 20 seconds. Maximum file size: 50 MB. | |
| prompt | string | No | - | Optional description used to guide creative detail enhancement. Leave empty for a neutral upscale. | |
| upscale_factor | number | No | 2 | 1.5 ~ 3 | Output scaling factor. The source aspect ratio is preserved. |
| creativity | integer | No | 1 | 0 ~ 1 | Use 0 for a source-faithful upscale or 1 for creative detail enhancement. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Task status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses. |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.status | string | Status: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |