FLUX.2 [flex]
FLUX.2 [flex] is a highly controllable text-to-image model from Black Forest Labs that puts full creative control in your hands. This model excels at rendering text and fine details while allowing developers to fine-tune parameters like inference steps and guidance scale to perfectly balance quality, prompt adherence, and speed. It's ideal for creators who need precise control over the generation process and want to optimize their workflow for specific creative requirements.
See more
FLUX.2 [flex] is a highly controllable text-to-image model from Black Forest Labs that puts full creative control in your hands. This model excels at rendering text and fine details while allowing developers to fine-tune parameters like inference steps and guidance scale to perfectly balance quality, prompt adherence, and speed. It's ideal for creators who need precise control over the generation process and want to optimize their workflow for specific creative requirements.
Connect Claude, Cursor, VS Code, or Codex to Layer’s MCP server and FLUX.2 [flex] becomes a tool your agent can reach for — it picks the parameters, runs the generation, and shows you the result in the conversation.
https://mcp.app.layer.ai/mcpAsk your agent
“Use FLUX.2 [flex] to generate 4 variations of a crystal sword icon on a transparent background.”
execute_forge({
"base_model_id": "flux-2-flex",
"prompt": "A crystal sword icon on a transparent background, game UI art",
"batch_size": 4,
"width": 1024,
"height": 1024
})Authenticate with a personal access token, post the model’s own form, and poll the inference until it completes. Every field below is accepted by this endpoint.
# Start the generation — returns an inference id straight away.
curl -X POST https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/base-models/bfl-flux-2-flex/inferences \
-H "Authorization: Bearer $LAYER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A crystal sword icon on a transparent background, game UI art"
}'
# Poll until status is "complete" — the response then carries the asset URLs.
curl https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/inferences/$INFERENCE_ID \
-H "Authorization: Bearer $LAYER_TOKEN"- prompt string
- Describe what to generate, or the change to make.
- aspect_ratio enumdefault SQUARE_1K10 options
- The shape and size of the output.
- seed integer
- The starting point for the model's randomness. The same seed and settings give the same result.
- guidance_scale numberdefault 3.51.5–10
- How closely the result follows the prompt. Lower gives the model more freedom.
- inference_steps integerdefault 282–50
- How many refinement passes the model makes. More add detail and take longer.
- transparency booleandefault false
- Output the subject alone, with no backdrop behind it.
- guidance_file_init_image file[]
- The image to modify
- guidance_file_reference_image file[]
- Guides the edit
- output_fit any
- Trim the transparent margin, and place the image on a canvas of a fixed size.
- prompt_language string
- The language the prompt is written in, so it reaches the model as you meant it.
Create amazing image assets with FLUX.2 [flex] on Layer
The complete content creation platform for modern game teams. From concepting to polished in-game assets - across Image, 3D, Video, and Audio.
Why use FLUX.2 [flex] for image?
Highly adaptable style control for multi-genre game art
FLUX.2 Flex is designed to shift seamlessly between visual styles - from stylized mobile art to painterly moods or semi-realistic rendering. It’s ideal for teams juggling multiple projects, exploring new directions, or producing varied creative for UA and LiveOps.
Strong prompt fidelity across dramatic aesthetic shifts
Flex responds predictably to changes in tone, palette, lighting, personality, and mood. Whether you’re testing cartoon silhouettes, gritty sci-fi looks, or clean fantasy themes, the model maintains structure while adapting the aesthetic cleanly.
Perfect for rapid creative exploration and theme iteration
With Flex, studios can generate broad variations on characters, environments, or in-game items with just a few prompt tweaks. It accelerates concepting, theme exploration, and creative decision-making while keeping everything visually coherent.

Multi-style character concepts for diverse game portfolios
Explore characters in different art styles - stylized, painterly, semi-realistic, graphic, or anime-inspired - without losing structural accuracy. FLUX.2 Flex makes it easy to compare directions, build style references, or generate quick concepts for new IP pitches.

Creative testing for UA and LiveOps themes
Generate variations of the same asset across wildly different styles and moods to find what resonates. Flex supports quick theme-shifts for seasonal events, A/B testing, and rapid creative experimentation across ad placements.

Versatile environment and item ideation
Explore world concepts, background scenes, or item sets in a range of aesthetics to help teams lock in visual direction early. FLUX.2 Flex keeps depth, silhouette clarity, and spatial coherence stable even while the visual style changes dramatically.
FAQ
How much does FLUX.2 [flex] cost? Is it free?+
How does Layer's pricing work?+
There are no seat fees, feature gates, or plans on Layer. Instead, our platform uses a consumption based system with Creative Units (CUs) with a flexible monthly subscription. Every generation on Layer (image, video, 3D, or audio) consumes a Creative Unit, and you only pay for what you create.
What Elo score does FLUX.2 [flex] have?+
Other image models on Layer
FLUX.3 Image
Black Forest Labs
Black Forest Labs' FLUX.3 image model for native 1K to 4K generation and multi-reference editing.
FLUX.2 [max]
Black Forest Labs
FLUX.2 [dev] Edit
Black Forest Labs
Ideogram V4
Ideogram
Ideogram's latest text-to-image model with crisp visuals, accurate text, and image-to-image support.
Krea 2 Large
Krea
Krea's flagship text-to-image model for high-fidelity generations with distinctive aesthetic range.
Seedream 4.5
ByteDance
A new-generation image creation model from ByteDance, for both generation and editing.