Flux
<!-- TODO: expand -->Flux is a family of high-quality image generation models from Black Forest Labs. JSON2Video supports several Flux variants through partner platforms (Fal, Replicate, and direct Black Forest Labs API access).
When to use Flux
- Photorealistic image generation with strong prompt adherence.
- Typography and text-in-image rendering (Flux handles text far better than most models).
- A balanced cost/quality tradeoff between SDXL and the top commercial models.
Flux variants
| Variant | Use case |
|---|---|
flux-schnell |
Fastest, lowest cost. Good for thumbnails and quick iterations. |
flux-dev |
Mid-tier quality, slower than Schnell. Best for non-commercial use. |
flux-pro |
Highest quality, slowest, highest cost. Best for hero shots. |
The exact set of available variants depends on which provider is currently hosting them. Check the live AI models catalog for the up-to-date list.
Usage
Reference Flux on an image element:
{
"type": "image",
"prompt": "A cozy minimalist coffee shop interior at sunrise, warm light, cinematic",
"model": "flux-schnell",
"duration": 4
}
You can also use Flux for animated images and Ken Burnsβstyle movements:
{
"type": "image",
"prompt": "Aerial drone shot of a forest in autumn, gentle camera dolly",
"model": "flux-pro",
"duration": 5,
"zoom": 1.1,
"pan": "right"
}
Bring your own provider
Flux is hosted on multiple providers. To use your own provider account:
- Fal: see Fal integration.
- Replicate: see Replicate integration.
- Black Forest Labs direct API: get a key at api.bfl.ml and create a Connection in the dashboard.
Cost
JSON2Video-billed usage is in the credit consumption table. When using your own provider Connection, the underlying inference is billed by that provider per their published rates.