## Basic model info

Model name: black-forest-labs/flux-3
Model description: Generate video with synchronized audio from text, images, or video. FLUX 3 is Black Forest Labs' multimodal model (early access preview).


## Model inputs

- prompt (required): Text description of the video to generate. Plain language works — the prompt is interpreted and expanded before generation. Describe the scene, action, camera moves, and any audio you want. (string)
- images (optional): Optional images to drive the video, placed on screen pixel for pixel. One image opens the clip (image-to-video). Two images start and end it. Three or more (up to 10) become a storyboard — the first starts it, the last ends it, and the rest fall evenly in between (needs a duration). Leave empty for text-to-video. Must be PNG, JPEG, or WebP. (array)
- start_video (optional): A video to continue from its final frames. Use this to extend a shot or chain generations into a longer sequence. Must be an mp4, at most 50MB and 15 seconds. Can't be combined with images. (string)
- aspect_ratio (optional): Aspect ratio of the generated video. 'auto' picks a ratio from your prompt and any inputs. (string)
- resolution (optional): Output resolution. (string)
- duration (optional): Length of the generated clip in seconds. 'auto' lets the model pick to fit the content. Three or more images need an explicit duration. (string)
- generate_audio (optional): Generate synchronized audio (ambient sound, speech, effects). Set to false for a silent clip. (boolean)
- draft (optional): Generate a fast, low-cost draft preview instead of a full-quality clip. Drafts are 720p. (boolean)
- safety_tolerance (optional): Moderation tolerance for input and output, 0 (strictest) to 4 (most permissive). Requests with image or video inputs are limited to 2. (integer)


## Model output schema

{
  "type": "string",
  "title": "Output",
  "format": "uri"
}

If the input or output schema includes a format of URI, it is referring to a file.


## Example inputs and outputs

Use these example outputs to better understand the types of inputs the model accepts, and the types of outputs the model returns:

### Example (https://replicate.com/p/3xt40ya79srmt0czsnwrypwd70)

#### Input

```json
{
  "prompt": "A fox running through dawn mist in a quiet forest, soft ambient sound.",
  "duration": "5",
  "resolution": "720p"
}
```

#### Output

```json
"https://replicate.delivery/xezq/i8ABxSoKgor5CxPwAzeSLtksMeKfDSsSsoa0bS6mma59m3fbB/tmpp_k96x51.mp4"
```


### Example (https://replicate.com/p/bqas6xtwsdrmw0czy3q8d7r514)

#### Input

```json
{
  "draft": false,
  "images": [],
  "prompt": "a home video of a futuristic san francisco with people riding hoverboards ",
  "duration": "auto",
  "resolution": "720p",
  "aspect_ratio": "auto",
  "generate_audio": true,
  "safety_tolerance": 2
}
```

#### Output

```json
"https://replicate.delivery/xezq/5nWQXFWkx7ZPERvKORrbm6xjPXUWEpXRI4yfIs4aK1pVhGhLA/tmpgw5m4ori.mp4"
```


## Model readme

> # FLUX 3
> 
> FLUX 3 is a multimodal model from Black Forest Labs that generates video with synchronized audio. You send a text prompt and, optionally, images or a video to drive the result.
> 
> Outputs are `.mp4`, at 720p or 1080p, 5 to 20 seconds, with audio by default.
> 
> ## What you can make
> 
> You always send a prompt. You can also attach one of:
> 
> - **Nothing** — the model generates the whole clip from your text (text-to-video).
> - **One image** — your image opens the clip, shown pixel for pixel as the first frame.
> - **Two images** — the first starts the clip and the second ends it.
> - **Three or more images** (up to 10) — a storyboard: the first starts it, the last ends it, and the rest fall evenly in between (set a duration).
> - **`start_video`** — continue a clip from its final frames.
> 
> Attach either images or a start video, not both.
> 
> ## Settings
> 
> - **`aspect_ratio`** — `auto` (default), or one of `21:9`, `2:1`, `16:9`, `4:3`, `1:1`, `3:4`, `9:16`. `auto` picks a ratio from your prompt and inputs.
> - **`resolution`** — `720p` (default) or `1080p`.
> - **`duration`** — `auto` (default) or a whole number of seconds from 5 to 20.
> - **`generate_audio`** — on by default. Turn it off for a silent clip.
> - **`draft`** — generate a fast, low-cost 720p preview. Handy for iterating on a prompt before a full-quality run.
> - **`safety_tolerance`** — moderation tolerance from 0 (strictest) to 4. Requests with image or video inputs are limited to 2.
> 
> ## About
> 
> FLUX 3 is built on Black Forest Labs' Self-Flow architecture, a single multimodal flow-matching model trained across images, video, and audio.

