Try MiniMax H3 Image: 4K Generate + Edit from Minimaxai →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick connectors and skills, set tier, deploy
Pre-built AgentsBrowse the catalog
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
Image GenerationActive

FLUX.2 Klein 4B

byblack-forest-labs

FLUX.2 Klein 4B is a 4 billion parameter rectified flow transformer from Black Forest Labs that generates images from text and edits with up to 4 reference images. Open weights under Apache 2.0.

Text to ImageImage to ImageImage EditingFast InferenceFlux
Model ID
FLUX.2-klein-4B
Provider
black-forest-labs
Updated
Oct 29, 2026, 20:32
FLUX.2-klein-4B
0
Comments
Average rating : 0 (0 users)
Providerblack-forest-labs
ModelFLUX.2-klein-4B
Text to ImageImage to ImageImage EditingFast Inference
wiro playground—black-forest-labs/FLUX.2-klein-4B
1 / 4
Maximum 4 image allowed
Delete All
Image 1

Tell us about any details you want to generate

Your request will cost $0.014

Sample outputs
Sample 1
Sample 2
Sample 3
Sample 4
Updated Oct 29, 2026, 20:32

Overview

FLUX.2 [klein] 4B is a 4 billion parameter rectified flow transformer from Black Forest Labs (BFL) that handles text-to-image generation and multi-reference image editing with one set of weights. It is a distilled model that BFL positions for local development, edge deployment and production use. Prompts are read by a Qwen3 text encoder.

BFL released the 4B weights under Apache 2.0, which allows commercial use. The larger 9B [klein] model ships under a non-commercial license, and both sizes also exist as undistilled Base versions meant for fine-tuning and research.

On Wiro one page covers both modes. Leave the image slot empty to generate from a prompt, or add up to 4 images to edit one photo or combine several.

What you can build

  • Instruction-based photo edits. The default example takes a night photo of an aurora over dark hills and covers the slopes and foreground in snow, while the aurora and stars stay in place.
  • Relighting and mood changes. Another sample turns a hazy daytime photo of fishing boats on calm water into a golden-hour sunset, with the boats and the mooring line kept where they were.
  • Photoreal text-to-image. The samples include a macro shot of a bee on lavender with pollen on its legs and a candid selfie of a freckled woman in a park.
  • Compositions from several references, such as a product, a person and a setting placed in one scene.
  • Up to 8 variations per request to choose from.

Inputs

  • A prompt (required).
  • Up to 4 input images, optional. References larger than about one megapixel are scaled down before use.
  • Width and height, 1024 x 1024 by default and up to 2048 per side. Values are rounded down to a multiple of 16.
  • Inference steps, 4 by default, from 1 to 50.
  • Samples, from 1 to 8 images per run.
  • Seed. 0 picks a random seed; any other number repeats a result.

Outputs

PNG images, one per sample, at the width and height you set, for edits too.

Recommended settings

  • Keep 4 steps. That is the setting in BFL's reference example for this distilled model.
  • For edits, set width and height to the aspect ratio of your input. With the default 1024 x 1024, a portrait photo comes back square and recomposed, as in the snow sample on this page.
  • Say what to change and what to keep, the way the default prompt ends with "Keep the aurora, stars, and sky unchanged".
  • BFL notes that prompt following depends heavily on prompt style. For photoreal results, describe light, lens and setting, as the sample prompts do.

Limitations

From BFL's model card:

  • Text rendered inside images may be inaccurate or distorted.
  • Results may not match the prompt.
  • The model can reflect or amplify biases in its training data.
  • It is not a source of factual information.

Safety & compliance

BFL filtered the training data for NSFW content and known CSAM and fine-tuned the model against text-to-image and image-to-image abuse before release. The model card rules out illegal content, content that harms minors, non-consensual intimate imagery, harassment and deceptive content.

Example prompts

Great starting points for FLUX.2-klein-4B.

A macro photography shot of a honey bee landing on a purple lavender flower, showing visible pollen grains stuck to the bee’s fuzzy legs and the translucent texture of the bee's wings catching the sunlight. Use a 100mm macro lens to achieve a shallow depth of field with a creamy green bokeh background, maintaining a crisp sharp focus on the insect's eyes with a shutter speed of 1/2000.Image Generation
A casual, candid selfie of a young woman with curly red hair and freckles smiling naturally in a park, featuring imperfect lighting and slight wind blowing hair across her face. She is wearing no makeup, revealing realistic skin texture with visible pores and slight blemishes. The image mimics an amateur photography style shot on an iPhone 15 Pro, with harsh sunlight creating realistic shadows for an authentic, non-studio look.Image Generation
A hyper-realistic wide shot of small fishing boats floating on calm water during a dramatic golden hour sunset. The sky is ablaze with vibrant orange, amber, and purple hues, casting warm, shimmering reflections onto the rippling water surface. The distant skyline is silhouetted against the bright sun. Cinematic lighting, volumetric fog, highly detailed textures on the weathered boats, 8k resolution, photography style.Image Generation
A breathtaking autumn landscape during golden hour. The grassy hills have turned to vibrant shades of rust, amber, and gold. The sun is setting, casting long dramatic shadows and warm yellow light across the slopes. The mist in the valley is illuminated by the sunset. Cinematic landscape photography, warm color palette, volumetric lighting, detailed foliage.Image Generation
Add a thin, realistic layer of snow on the mountains and foreground, with soft white highlights and subtle cold tones. Keep the aurora, stars, and sky unchanged, and make the winter effect natural and photorealistic.Image Generation

API quick start

Run FLUX.2-klein-4B with a single API call.

POST https://api.wiro.ai/v1/Run/black-forest-labs/flux-2-klein-4b
{
  "prompt": "Add a thin, realistic layer of snow on th…",
  "inputImage": "https://your-cdn.com/input.png",
  "steps": 4,
  "scale": 1
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/black-forest-labs/flux-2-klein-4b" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "Add a thin, realistic layer of snow on th…",
  "inputImage": "https://your-cdn.com/input.png",
  "steps": 4,
  "scale": 1
}
JSON

Other models you might like

Explore similar image generation models.

View all
FLUX.2-klein-base-9B
Text to Image

FLUX.2-klein-base-9B

black-forest-labs

FLUX.2-klein-9B
Text to Image

FLUX.2-klein-9B

black-forest-labs

FLUX.2-klein-base-4B
Text to Image

FLUX.2-klein-base-4B

black-forest-labs

flux-2-flex
Text to Image

flux-2-flex

black-forest-labs

  • flux-2-problack-forest-labs
  • FLUX.2-dev-turbowiro
  • FLUX.2-devwiro
  • FLUX.1-Fill-devblack-forest-labs
  • image-edit-generalwiro
  • nano banana 2.1 advancedgoogle
  • nano-banana-2google
  • GLM-IMAGEzai-org

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion