flux-3-video API
Generate video from text, image keyframes, or an existing video with flux-3-video on Openrouter API.
flux-3-videoflux-3-video API pricing
All prices in USD. Openrouter API rates compared with the official list price for the same unit.
| Option | Openrouter API | Official | Save |
|---|---|---|---|
| DefaultDefault | $0.1496 | $0.15 | — |
| DRAFT | $0.0528 | $0.06 | −12% |
| FHD | $0.2552 | $0.24 | — |
| HD | $0.1496 | $0.15 | — |
| V2V-DRAFT | $0.1056 | $0.12 | −12% |
| V2V-FHD | $0.4664 | $0.53 | −12% |
| V2V-HD | $0.3608 | $0.41 | −12% |
Prices are per second.
What is flux-3-video?
flux-3-video is Black Forest Labs’ FLUX Video model for generating clips from text, animating image keyframes, and continuing an existing video. Its unified endpoint supports 5–20-second outputs, HD or FHD resolution, seven aspect ratios, and automatic aspect-ratio selection. Supply up to 10 image keyframes to define a sequence, or an MP4 input for continuation. Output uses H.264 video with AAC synced audio by default; you can also request silent video.
On Openrouter API, submit requests to POST /v1/videos/generations using your API key and model ID flux-3-video. Processing is asynchronous: the response returns a task ID for subsequent queries. Pricing is pay-as-you-go, with billing only for successful requests. Default and HD generation cost $0.1496 per second, while FHD costs $0.2552 per second. Draft previews and video continuation have separate rates; turning off audio does not reduce the price.
flux-3-video highlights
Three Input Workflows
Generate from a text prompt, supply image keyframes, or continue an input video through one endpoint. Mode can be inferred from inputs or selected explicitly.
Ordered Image Keyframes
Use 1–10 images: one sets the start frame, two set start and end, and additional middle frames are evenly spaced. Image order carries meaning.
Synced Audio Output
Outputs use H.264 video and AAC synced audio by default. Set audio to false for silent video without changing the price.
Draft To Final
Create an HD low-quality draft, then use its successful task ID to request a full-quality final. Finalization uses saved parameters and allows only resolution to change.
How to call the flux-3-video API in 4 steps
- 01
Get an API key
Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.
- 02
Set the base URL
Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.
- 03
Send the request
Call POST /v1/videos/generations with "model": "flux-3-video" and the parameters below.
- 04
Handle the response
The response contains a task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then download the result URLs.
Request examples
Documentation: FLUX 3 Video Generationcurl --request POST \
--url https://openrouterapi.ru/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "flux-3-video",
"prompt": "An orange cat jumps onto a sunlit wooden table, its tail brushes a glass that wobbles but does not fall. Cinematic, shallow depth of field.",
"duration": 5,
"resolution": "hd",
"aspect_ratio": "16:9"
}'Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | — | Fixed value: `flux-3-video` |
nsfw_check | boolean | Optional | false | Whether to run content moderation before submitting the video task. |
prompt | string | Required | — | Prompt. **Must not be sent** when using `draft_from_task_id` (rejected if present). |
duration | integer | Optional | 5 | Duration in seconds, integer **5\~20**, default `5` |
resolution | string | Optional | hd | Resolution |
aspect_ratio | string | Optional | auto | Aspect ratio |
image_urls | string[] | Optional | — | Image-to-video keyframes, **1\~10**, public http(s) URL or base64 |
video_url | string | Optional | — | Input video for continuation (mp4, public URL or base64) |
video_urls | string[] | Optional | — | Same as `video_url`; uses the **first** item (compat) |
audio | boolean | Optional | true | Generate synced audio, default `true`. `false` yields silent video (**no discount**) |
draft | boolean | Optional | false | Draft mode: \~**1/3 price** low-quality preview; only with `resolution: hd` |
draft_from_task_id | string | Optional | — | Draft → final: ID of **your** successful draft task |
safety_tolerance | integer | Optional | 2 | Moderation tolerance **0\~4**, default `2` (higher = more permissive) |
mode | string | Optional | — | Explicit mode (optional); see Generation Modes |
What you can build with flux-3-video
Prompt-Based Clip Tools
Build a tool that turns written scene descriptions into 5–20-second video clips with optional synced audio.
Image Sequence Animation
Let users supply start, end, and intermediate images to guide a video sequence for a storyboard or visual concept.
Video Continuation Workflows
Accept an MP4 input and request a continuation, tracking the task until completion and reading its final cost.
Draft Review Interfaces
Give teams an HD draft review step before requesting a full-quality render with the saved prompt and assets.
Tips for better results
- 01
Track The Task ID
Store the task ID returned by generation and use it for subsequent status queries. Do not treat submission as a completed video response.
- 02
Set Duration Explicitly
Send an integer duration from 5 to 20 seconds, especially with 3–10 image keyframes. Omitted, non-integer, or auto values are treated as 5 seconds rather than adaptive length.
- 03
Preserve Keyframe Order
Do not sort or deduplicate image_urls. The first image is the start, the last is the end, and middle images define evenly spaced keyframes.
- 04
Budget Both Render Steps
Draft-to-final is charged at the full final rate, and the draft fee is not credited. Omit prompt when sending draft_from_task_id, and change only resolution.
Limits and things to know
Draft mode supports only HD resolution.
Image-to-video accepts at most 10 keyframes, and video_urls uses only its first item.
Video continuation may deliver fewer seconds than requested; the difference is refunded after completion.
flux-3-video API FAQ
How much does flux-3-video cost on Openrouter API?
Openrouter API Default and HD cost $0.1496 per second; DRAFT costs $0.0528 per second; FHD costs $0.2552 per second. Video continuation rates are V2V-DRAFT at $0.1056 per second, V2V-FHD at $0.4664 per second, and V2V-HD at $0.3608 per second. Billing is pay-as-you-go and only for successful requests.
How do I call flux-3-video through the API?
Send a Bearer-authenticated POST request to https://openrouterapi.ru/v1/videos/generations with model set to flux-3-video and the appropriate input fields. The response returns a task ID for subsequent queries rather than a completed video.
Does flux-3-video support image-to-video and video continuation?
Yes. Supply 1–10 ordered images through image_urls for keyframe-based generation, or supply an MP4 through video_url for continuation. Explicit mode has highest priority; otherwise, video continuation takes precedence when both image and video inputs are supplied.
What durations, resolutions, and aspect ratios are supported?
Duration accepts integers from 5 to 20 seconds, with a default of 5. Resolution supports hd and fhd, while aspect_ratio supports 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16, or auto. Drafts are restricted to HD.
Can I disable audio or finalize a draft?
Set audio to false for silent output, with no price discount. To finalize, send draft_from_task_id referencing your own successful draft and omit prompt; only resolution may change, and the full final fee is charged separately from the draft.
Can I use flux-3-video output commercially?
Commercial use is subject to the model developer's terms. Review Black Forest Labs’ applicable terms and any rights associated with your input assets before using generated output commercially.
Related models
openrouterapi-zoe
happyhorse
happyhorse-1.0happyhorse-1.1
wan2.5-preview
wan2.6
wan2.6-i2v
wan2.6-i2v-flash
wan2.7
Start building with flux-3-video
One key, pay as you go from $50, billed only for successful requests.
