> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bfl.ml/llms.txt
> Use this file to discover all available pages before exploring further.

# FLUX 3 Video

> Generate video with synchronized audio using FLUX 3, edit an existing clip with FLUX Video Edit [fast], or run FLUX 3 Action, the open-weights action mode.

## Generated with FLUX 3

FLUX 3

# Overview

One model trained across image, video, and audio.

## One model, multiple modalities

FLUX 3 generates **video with synchronized audio** from a text prompt, pinned
keyframes, or an existing clip to continue. FLUX Video Edit \[fast] applies an edit
instruction to a source clip through a separate FLUX Tools endpoint.

* **Up to 20 seconds, up to 4K** (3840 × 2176 for 16:9), 24 fps, in a single request.
* **Multilingual speech with strong lipsync**, plus effects and ambience, generated with the frames.
* **Multiple scenes and camera angles in one generation.** Shots hold together across cuts.
* **Stylistic range beyond cinematic:** animation, motion design, stylized artistic looks.
* **Accurate text and typography** rendered inside the scene.

> [!NOTE]
>
> FLUX 3 is a **preview** model. **Omni Reference with images and videos** will
> be available soon.

## Modes

Every `/v1/flux-3-video` request names a mode. The mode is how you tell FLUX 3 what you're
starting from, and it decides what the model does with your media: start a
clip from words alone, build one around images you pin, carry an existing clip
forward, or enhance a draft.

The video modes are:

* **Text to Video** (`t2v`) starts from nothing but your prompt.
* **Image to Video** (`i2v`) starts from your images. They become frames of the clip itself.
* **Video Continuation** (`v2v`) starts from a clip you already have and keeps it going.

FLUX Video Edit \[fast] is a separate tool at `/v1/flux-tools/video-edit-v1`,
documented on its [own page](https://docs.bfl.ml/flux_tools/flux_video_edit.md). It takes `video` and
`prompt`, with no `mode` field.

The public [flux-3-video endpoint](https://docs.bfl.ml/api-reference/utility/generate-a-video-with-flux-3.md)
documents `t2v`, `i2v`, and `v2v`, with different media fields and limits. The first
three tabs are **one scene passed through the API**: the first request
generates a clip, and the two after it run on that clip's own frames. Each of
those tabs shows the request we sent and the video that came back.

> [tab] Text to Video
>
> Describe the shot. `t2v` turns the prompt into a clip, sound included.
> This is the request that started the scene:
>
> ```bash theme={null}
> curl -X POST https://api.bfl.ai/v1/flux-3-video \
>   -H "x-key: $BFL_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "mode": "t2v",
>     "prompt": "she takes his hand and pulls him laughing through the lantern-lit alley, the camera chasing them, paper lanterns swaying overhead, their footsteps and laughter echoing off the walls",
>     "duration": 8
>   }'
> ```
>
> <video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/modes-demo/alley.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=b64172fd2beca22bc00c5df0caea553d" />
>
> The clip this request returned. The next two tabs build on it.

> [tab] Image to Video
>
> There is no separate start-frame field: `keyframes` is how you hand `i2v`
> images, and one image is the start frame. We extracted the **opening frame
> of the clip in the first tab** and pinned it, with a new camera direction:
>
> ```bash theme={null}
> curl -X POST https://api.bfl.ai/v1/flux-3-video \
>   -H "x-key: $BFL_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "mode": "i2v",
>     "prompt": "from this frame the camera rises slowly above the alley as they rush away beneath the lanterns, their laughter fading into the night",
>     "keyframes": "data:image/png;base64,<opening frame>"
>   }'
> ```
>
> <video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/modes-demo/alley_alt.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=b47f41eb8ac928a614c18aa57cf348ac" />
>
> Same first frame, different film: the pinned image opens the clip exactly, then the prompt takes over.
>
> More images, more control: two pin the start and end frames, up to ten
> storyboard the clip, and `[seconds, image]` pairs pin each one to an
> exact moment. Here the hero clip's **first and last frames** are pinned at
> `0` and `8` seconds and the model finds its own path between them:
>
> ```bash theme={null}
> curl -X POST https://api.bfl.ai/v1/flux-3-video \
>   -H "x-key: $BFL_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "mode": "i2v",
>     "prompt": "they sprint the length of the lantern-lit alley, lanterns blurring past, footsteps quick on the wet stones",
>     "keyframes": [[0, "data:image/png;base64,<first frame>"], [8, "data:image/png;base64,<last frame>"]],
>     "duration": 8
>   }'
> ```
>
> <video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/modes-demo/alley_between.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=89b5095f3a8b17d4f62142b41e2ed27d" />
>
> Both pins hit exactly; the sprint in between is the model's.

> [tab] Video Continuation
>
> `v2v` picks up where your clip ends. Momentum, framing, and scene logic
> carry into the new footage. We sent the **first tab's clip** as
> `start_video` and asked for the scene's next beat:
>
> ```bash theme={null}
> curl -X POST https://api.bfl.ai/v1/flux-3-video \
>   -H "x-key: $BFL_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "mode": "v2v",
>     "prompt": "they burst out of the alley into a crowded night market, drums and street chatter swelling, she pulls him into the lantern light",
>     "start_video": "data:video/mp4;base64,<the clip from the first tab>",
>     "duration": 8
>   }'
> ```
>
> <video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/modes-demo/alley_continued.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=39fb34873ddf20e3f746a06d313f8481" />
>
> The same couple, out of the alley and into the market: continuation keeps the scene's logic and sound.

> [tab] FLUX Video Edit
>
> One prompt asked for two changes to this clip: the pedestrians go and pigeons
> arrive around the fountain. The buildings, the water and the camera move are
> as they were in the source.
>
> <video src="https://cdn.sanity.io/files/2gpum2i6/production/5b163e044b56fb0db536693a4aa97e737ddfbad3.mp4" autoPlay muted playsInline preload="auto" aria-label="Edited" />
>
> <video src="https://cdn.sanity.io/files/2gpum2i6/production/a38495a2841be9a8d2827d48df5f17aec7b5ac98.mp4" autoPlay muted playsInline preload="auto" aria-label="Source" />
>
> Source
>
> Edited
>
> Remove all the pedestrians and add a flock of pigeons around the fountain.
>
> Send the clip as `video` and the instruction as `prompt` to
> `POST /v1/flux-tools/video-edit-v1` with an `x-key` header:
>
> ```json theme={null}
> {
>   "video": "https://cdn.sanity.io/files/2gpum2i6/production/a38495a2841be9a8d2827d48df5f17aec7b5ac98.mp4",
>   "prompt": "Remove all the pedestrians and add a flock of pigeons around the fountain."
> }
> ```
>
> Poll the returned `polling_url` until `Ready`, then download `result.sample`.
> Every other edit type, with clips, is on the
> [FLUX Video Edit page](https://docs.bfl.ml/flux_tools/flux_video_edit.md).

For `t2v`, `i2v`, and `v2v`, the following optional fields have defaults. Check
the API reference for each mode's accepted values:

* **`aspect_ratio`** and **`duration`** default to `auto` and fit themselves to the content.
* **`resolution`** defaults to `hd`; `fhd`, `qhd`, and `uhd` finish the result at a higher resolution via the video upsampler.
* **`generate_audio`** defaults to `true`.

The full field list, constraints, and dimensions live in the
[API reference](https://docs.bfl.ml/api-reference/utility/generate-a-video-with-flux-3.md).

## Draft mode

Iterate in draft, commit once. Drafts generate faster and cost about a third
of a full render, so you can explore variants freely and only pay full price
for the shot you keep.

* **`draft: true`** returns a fast preview instead of a full render, plus a `draft_cache` bundle in the result.
* **`mode: "draft_enhance"`** renders the preview you picked at full quality: send its bundle as `draft_cache` and the original generation is reproduced. Same shot, same seed, nothing re-interpreted.

Here is the same prompt run through all three paths:

Generation time

Bar lengths are measured submit-to-Ready times for the same prompt and settings at hd, shown relative to the draft preview. Absolute times vary with load.

Each fresh submit is its own generation, so the direct full render can
interpret the shot differently from the draft you liked. Enhancing keeps it:

<video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/draft-demo/mocap_draft.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=ed697a1f09d420f180c1ffaa804051ea" />

Draft preview

<video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/draft-demo/mocap_enhanced.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=291613d06877c8cadfe3286656f473d1" />

Enhanced: the draft's shot, full quality

<video controls muted playsInline preload="metadata" src="https://mintcdn.com/bfl/gUyNpVEEjK1_M2Gr/images/flux3/draft-demo/mocap_full.mp4?fit=max&auto=format&n=gUyNpVEEjK1_M2Gr&q=85&s=998207a79cfaa9fb13a99851a421f99a" />

Direct full render: its own take

> [tab] 1: Draft
>
> ```bash theme={null}
> curl -X POST https://api.bfl.ai/v1/flux-3-video \
>   -H "x-key: $BFL_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "mode": "t2v",
>     "prompt": "a fox running through dawn mist",
>     "draft": true
>   }'
> ```

> [tab] 2: Enhance the one you picked
>
> Download the winning preview's `draft_cache` URL from its result, then send
> the bundle back:
>
> ```bash theme={null}
> curl -X POST https://api.bfl.ai/v1/flux-3-video \
>   -H "x-key: $BFL_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d "{
>     \"mode\": \"draft_enhance\",
>     \"draft_cache\": \"$(base64 -i draft_cache.bin)\"
>   }"
> ```

Limits and constraints are in the [API reference](https://docs.bfl.ml/api-reference/utility/generate-a-video-with-flux-3.md).

## Specifications

| Mode | You send | Length | Full render, per second (`hd` / `fhd` / `qhd` / `uhd`) | Draft |
| - | - | - | - | - |
| **Text to Video** | a prompt | 5–20 s |  /  /  /  | |
| **Image to Video** | a prompt + 1–10 images | 5–20 s |  /  /  /  | |
| **Video Continuation** | a prompt + your clip | 5–15 s |  /  /  /  | |

Every mode outputs 24 fps at `hd`, `fhd`, `qhd`, or `uhd`, with up to 3840 × 2176
pixels for 16:9. Supported aspect ratios are 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16, and 9:21. Drafts
render at `hd`. Delivered dimensions for every class are in the
[video documentation](https://docs.bfl.ml/flux_3/flux3_video.md#resolution).

## What it can do

## FLUX 3 Image

FLUX 3 Image generates and edits images through one endpoint,
`/v1/flux-3-image`. Send a prompt to generate, or add up to ten reference
images to edit, restyle, or combine them. Bounding boxes in the prompt place
each element. Output goes up to 4K. See the
[FLUX 3 Image overview](https://docs.bfl.ml/flux_3/flux3_image_overview.md).

## FLUX 3 Action

FLUX 3 Action is a 7B world action model with open weights. Given camera
images, the current state and an instruction, it predicts a chunk of actions and
about two seconds of future video. Run it on a robot arm through LeRobot,
or fine-tune it for your robot, simulator or game. See the
[FLUX 3 Action overview](https://docs.bfl.ml/flux_3/flux3_action_overview.md).

## Start in ten seconds

FLUX 3 is asynchronous. You **submit** a request and get back an `id` and a
`polling_url`; then you **poll** that URL until the job turns `Ready` and returns
your result. Here is the full round trip, text to video with audio.

[Get API key](https://dashboard.bfl.ai)

> [!WARNING]
>
> Result URLs are signed and expire about 2 hours after the job finishes.
> Download the video promptly once the status is `Ready`.

## Getting started

> [card] [Quickstart](https://docs.bfl.ml/quick_start/get_started.md)
>
> Create an account, add credits, and make your first FLUX 3 call.

> [card] [Try in Playground](https://playground.bfl.ai)
>
> Test FLUX 3 in your browser. No setup required.

> [card] [Video](https://docs.bfl.ml/flux_3/flux3_video.md)
>
> Generate from text, animate stills, pin keyframes, continue clips, all with audio.

> [card] [API reference](https://docs.bfl.ml/api-reference/utility/generate-a-video-with-flux-3.md)
>
> The full flux-3-video request contract: modes, fields, constraints.

> [card] [FLUX 3 Image](https://docs.bfl.ml/flux_3/flux3_image_overview.md)
>
> Generate and edit images, combine references, and place elements with boxes.

> [card] [FLUX 3 Action](https://docs.bfl.ml/flux_3/flux3_action_overview.md)
>
> Open weights that output actions: run them on a robot arm, fine-tune on your robot or game.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.