FLUX.2 [klein] 4B Edit
FLUX.2 [klein] 4B Edit brings native editing capabilities to the FLUX.2 [klein] model family from Black Forest Labs. Perform precise image modifications using natural language descriptions with the efficient 4B parameter model.
See more
FLUX.2 [klein] 4B Edit brings native editing capabilities to the FLUX.2 [klein] model family from Black Forest Labs. Perform precise image modifications using natural language descriptions with the efficient 4B parameter model.
Connect Claude, Cursor, VS Code, or Codex to Layer’s MCP server and FLUX.2 [klein] 4B Edit 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 [klein] 4B Edit to generate 4 variations of a crystal sword icon on a transparent background.”
execute_forge({
"base_model_id": "flux-2-klein-4b-edit",
"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-klein-4b-edit/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.
- negative_prompt string
- What to keep out of the result.
- aspect_ratio enumdefault SQUARE_1K10 options
- The shape and size of the output.
- quality enumdefault HIGHLOW, MEDIUM, HIGH
- Higher levels render more detail, and can take longer and cost more.
- seed integer
- The starting point for the model's randomness. The same seed and settings give the same result.
- guidance_scale numberdefault 50–20
- How closely the result follows the prompt. Lower gives the model more freedom.
- inference_steps integerdefault 44–8
- 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[]required
- 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 [klein] 4B Edit 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 [klein] 4B Edit for image?
High-quality image generation
FLUX.2 [klein] 4B Edit delivers production-ready outputs with clean structure, sharp detail, and strong prompt adherence. Ideal for character art, environments, and marketing assets.
Strong prompt control
The model interprets creative instructions with high accuracy, even when switching between different styles, lighting setups, or character directions.
Clean compositions for UA
Maintains stable framing, clear silhouettes, and high focal clarity. Assets read well at mobile sizes, making it strong for UA experiments and ad creatives.

Rapid character and cosmetic ideation with strong structure
Quickly explore character poses, cosmetic ideas, and early art directions. Clean silhouettes and expressive results help teams evaluate concepts before moving to heavier models.

Fast UA creative exploration and thumbnail testing
Generate clear, high-readability frames that work well for quick A/B testing across networks. Test multiple creative angles and iterate quickly based on results.

Lightweight environment and item exploration for LiveOps
Draft environments, themed content, shop items, and event visuals in a rapid loop. Ideal for early-stage direction setting before committing to final polish.
FAQ
How much does FLUX.2 [klein] 4B Edit 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 [klein] 4B Edit 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 [flex]
Black Forest Labs
FLUX.2 [max]
Black Forest Labs
FLUX.1 Kontext [max]
Black Forest Labs
Premium model for max editing performance, superior typography, and visual narrative consistency.
FLUX.2 [klein] 4B
Black Forest Labs
FLUX.1 Kontext [pro]
Black Forest Labs
Pro-grade multimodal model for fast, iterative editing, style transfer, and consistency.