FLUX.2 [flex]
FLUX.2 [flex] is Black Forest Labs's developer-tunable image generation model. It exposes direct control over inference steps and guidance scale, letting you trade typography accuracy and fine detail against generation speed within a single model.
Image Gen
index.ts
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'bfl/flux-2-flex', prompt: 'A red balloon on a wooden table.'});Playground
Try out FLUX.2 [flex] by Black Forest Labs. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Prompt
Describe what you want the model to generate.Need inspiration?
Reference images(optional)
Images to generate
Your generated image will appear here