$5 free credits when you sign up Claim now
Wan 2.2 Animate now available Test it!
Video Upscaling models now available Test it!
Z-Anime image model Test it!
  • Text-to-Image
  • Image-to-Image

FLUX.2 Klein 4B BF16

256–1024px resolution (16px steps). Default: 1024×1024, 4 steps. Guidance: 1.0 (fixed). Unified model for generation and multi-reference editing. Sub-second inference.

  • Free tier available
  • No subscriptions
  • No credit card required

Sample Outputs

Real outputs generated with FLUX.2 Klein 4B BF16 on deAPI.

“A cinematic, hyper-realistic eye-level shot through a rainy coffee shop window at night. Condensation on the glass is partially wiped away to reveal the handwritten text 'KLEIN 4B' clearly written in the moisture. Through the clear glass, a warm, cozy interior is visible with soft bokeh lights. Outside, reflections of blue and pink neon city lights dance on the wet glass droplets. 8k resolution, shot on 35mm lens, f/1.4, street photography style.” “A cinematic, hyper-realistic eye-level shot through a rainy coffee shop window at night. Condensation on the glass is partially wiped away to reveal the handwritten text 'KLEIN 4B' clearly written in the moisture. Through the clear glass, a warm, cozy interior is visible with soft bokeh lights. Outside, reflections of blue and pink neon city lights dance on the wet glass droplets. 8k resolution, shot on 35mm lens, f/1.4, street photography style.”

“A breathtaking aerial view of terraced rice fields in Bali at golden hour, lush green paddies reflecting warm sunlight, misty mountains in the background, photorealistic, cinematic composition” “A breathtaking aerial view of terraced rice fields in Bali at golden hour, lush green paddies reflecting warm sunlight, misty mountains in the background, photorealistic, cinematic composition”

“A modern brutalist concrete building with dramatic geometric shadows, golden hour light casting long shadows across the facade, urban architecture photography, sharp details, 35mm lens” “A modern brutalist concrete building with dramatic geometric shadows, golden hour light casting long shadows across the facade, urban architecture photography, sharp details, 35mm lens”

“A sleek matte black Porsche 911 GT3 RS parked on a rain-soaked Tokyo street at night, neon reflections on wet asphalt, dramatic rim lighting, cinematic automotive photography, 85mm lens, shallow depth of field” “A sleek matte black Porsche 911 GT3 RS parked on a rain-soaked Tokyo street at night, neon reflections on wet asphalt, dramatic rim lighting, cinematic automotive photography, 85mm lens, shallow depth of field”

“Close-up portrait of an elderly Japanese man with deep weathered wrinkles, kind eyes, silver hair, wearing a traditional indigo happi coat, soft natural window light, Hasselblad medium format, incredibly detailed skin texture, photorealistic, warm tones” “Close-up portrait of an elderly Japanese man with deep weathered wrinkles, kind eyes, silver hair, wearing a traditional indigo happi coat, soft natural window light, Hasselblad medium format, incredibly detailed skin texture, photorealistic, warm tones”

“A cozy reading nook by a large arched window on a rainy day, overflowing bookshelves, a steaming cup of tea on a wooden side table, warm amber lamp light, a cat sleeping on a velvet cushion, photorealistic interior photography, soft focus background” “A cozy reading nook by a large arched window on a rainy day, overflowing bookshelves, a steaming cup of tea on a wooden side table, warm amber lamp light, a cat sleeping on a velvet cushion, photorealistic interior photography, soft focus background”

“A massive ancient library with towering wooden bookshelves reaching to a vaulted cathedral ceiling, golden sunbeams streaming through stained glass windows illuminating floating dust particles, a spiral staircase in the center, warm amber tones, photorealistic, 8k, wide angle lens, cinematic lighting” “A massive ancient library with towering wooden bookshelves reaching to a vaulted cathedral ceiling, golden sunbeams streaming through stained glass windows illuminating floating dust particles, a spiral staircase in the center, warm amber tones, photorealistic, 8k, wide angle lens, cinematic lighting”

“A lone astronaut standing on the surface of Mars, looking at a dramatic crimson sunset with two small moons visible in the dusty pink sky, footprints in red sand leading to a futuristic habitat dome in the distance, volumetric light rays, sci-fi concept art, photorealistic, cinematic composition, 35mm anamorphic lens” “A lone astronaut standing on the surface of Mars, looking at a dramatic crimson sunset with two small moons visible in the dusty pink sky, footprints in red sand leading to a futuristic habitat dome in the distance, volumetric light rays, sci-fi concept art, photorealistic, cinematic composition, 35mm anamorphic lens”

“Cyberpunk neon city at night, glowing purple and blue neon signs, rain-soaked streets, futuristic dystopian atmosphere, blade runner style” “Cyberpunk neon city at night, glowing purple and blue neon signs, rain-soaked streets, futuristic dystopian atmosphere, blade runner style”

“Vintage film photography, warm faded tones, soft grain texture, nostalgic 1970s Kodachrome aesthetic, golden light leak effects” “Vintage film photography, warm faded tones, soft grain texture, nostalgic 1970s Kodachrome aesthetic, golden light leak effects”

“Anime illustration style, vibrant colors, clean cel-shading, Studio Ghibli inspired character art, expressive eyes, soft pastel background” “Anime illustration style, vibrant colors, clean cel-shading, Studio Ghibli inspired character art, expressive eyes, soft pastel background”

“Delicate watercolor painting, soft wet-on-wet washes, visible paper texture, muted pastel hues bleeding into each other, artistic and dreamlike atmosphere” “Delicate watercolor painting, soft wet-on-wet washes, visible paper texture, muted pastel hues bleeding into each other, artistic and dreamlike atmosphere”

“Bold pop art style, bright saturated primary colors, thick black outlines, Ben-Day dots pattern, Andy Warhol inspired, flat graphic design aesthetic” “Bold pop art style, bright saturated primary colors, thick black outlines, Ben-Day dots pattern, Andy Warhol inspired, flat graphic design aesthetic”

“Enchanted magical fantasy forest, bioluminescent glowing mushrooms and fireflies, ethereal blue and purple light, mystical fog, fairy tale atmosphere” “Enchanted magical fantasy forest, bioluminescent glowing mushrooms and fireflies, ethereal blue and purple light, mystical fog, fairy tale atmosphere”

“Classical Renaissance oil painting, rich golden tones, dramatic chiaroscuro lighting, ornate gilded frame style, masterful brushwork reminiscent of Vermeer” “Classical Renaissance oil painting, rich golden tones, dramatic chiaroscuro lighting, ornate gilded frame style, masterful brushwork reminiscent of Vermeer”

“Oil painting, impressionist style, thick visible brushstrokes, vibrant warm colors, Monet-inspired landscape, dreamy atmospheric quality” “Oil painting, impressionist style, thick visible brushstrokes, vibrant warm colors, Monet-inspired landscape, dreamy atmospheric quality”

Capabilities

What you can do with FLUX.2 Klein 4B BF16.

Text-to-Image

Generate stunning images from text descriptions. From product photography to creative art, turn prompts into high-quality visuals in seconds.

Image-to-Image

Transform and enhance existing images with AI. Perfect for style transfer, editing, and creative modifications.

Try now

Technical Specifications

Resolution

256–1536 x 256–1536 px (16px steps)

Default Size

1024 x 1024 px

Inference Steps

4 steps (default: 4)

Guidance

Not required

Input Images

Up to 3

How to use in deAPI

Integrate FLUX.2 Klein 4B BF16 into your app with a single API call.

POST https://api.deapi.ai/api/v1/client/txt2img

curl · deAPI txt2img

curl -X 'POST' \
  'https://api.deapi.ai/api/v1/client/txt2img' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "Flux_2_Klein_4B_BF16",
    "prompt": "a serene mountain landscape at sunset, photorealistic",
    "width": 768,
    "height": 768,
    "steps": 4,
    "seed": -1
}'{
    "model": "Flux_2_Klein_4B_BF16",
    "prompt": "a serene mountain landscape at sunset, photorealistic",
    "width": 768,
    "height": 768,
    "steps": 4,
    "seed": -1
}

Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /request-status/{request_id} for results.

POST https://api.deapi.ai/api/v1/client/img2img

curl · deAPI img2img

curl -X 'POST' \
  'https://api.deapi.ai/api/v1/client/img2img' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'model=Flux_2_Klein_4B_BF16' \
  -F 'prompt=transform into watercolor painting style' \
  -F 'image=@/path/to/file' \
  -F 'steps=20' \
  -F 'seed=-1'{
    "model": "Flux_2_Klein_4B_BF16",
    "prompt": "transform into watercolor painting style",
    "image": "BASE64_OR_URL",
    "steps": 20,
    "seed": -1
}

Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /request-status/{request_id} for results.

Need an API key?

Sign up for free and get $5 in credits to start.

Get $5 credits

Frequently Asked Questions

256–1024px resolution (16px steps). Default: 1024×1024, 4 steps. Guidance: 1.0 (fixed). Unified model for generation and multi-reference editing. Sub-second inference.
FLUX.2 Klein is a 4-billion parameter model that handles both text-to-image and image-to-image in a single model. It generates at up to 1536×1536px resolution and supports multi-image input (up to 3 source images) for image editing tasks.
Upload a source image and describe the change you want in natural language — for example "make it sunset" or "add snow to the scene". The model applies the edit while preserving the overall composition. It supports custom output sizes different from the input.
Sign up for a free deAPI account at https://deapi.ai/register and get $5 in free credits — no credit card required. Then open the playground, select FLUX.2 Klein 4B BF16, and generate your first result in seconds.
deAPI is pay-per-use with no subscriptions or monthly fees. Check the pricing page at https://deapi.ai/pricing for current per-generation rates.
Yes. FLUX.2 Klein 4B BF16 is available via the deAPI REST API. Submit a request, receive a request ID, and poll for the result. See the API documentation at https://docs.deapi.ai for code examples in Python, Node.js, and cURL.
  • No subscription
  • No credit card required
  • Pay only for what you use

FLUX.2 Klein 4B BF16 for Free

Get $5 in free credits and start generating with FLUX.2 Klein 4B BF16.