black-forest-labs/flux-2-klein-9b 🔢🖼️📝✓❓ → 🖼️

⭐ Official ▶️ 4.1M runs 📅 Jan 2026 ⚙️ Cog 0.16.9
image-to-image text-to-image

Performance

0.7sTypical run time
4.1MTotal runs

About

4 step distilled version of FLUX.2 [klein]. A foundation model for maximum flexibility and control

Example Output

Prompt:

"A surreal underwater or cosmic garden scene with bioluminescent flora against a deep navy blue to black background. Delicate, feather-like structures in pale icy blue and white emerge from the left side, resembling ethereal ferns or coral fronds with intricate fractal patterns. These luminous fronds transition into a cloud-like dispersal of particles and spores floating through the dark space, creating a dreamy, ethereal atmosphere. On the right side, dense clusters of vegetation in deep greens, blues, and purple-pink tones form an organic canopy. The foliage includes pine-like needles, flowering bushes in blue and magenta hues, and various plant forms creating depth and texture. Small glowing particles and orbs of light are scattered throughout the scene like floating pollen or bioluminescent plankton. The overall composition creates a mystical, otherworldly environment that blends elements of deep sea bioluminescence with alien botanical landscapes. Cinematic lighting with cool color palette dominated by blues, teals, and deep greens. Photorealistic rendering with soft focus effects and atmospheric depth. With large white text in the center: "FLUX.2 [klein] 9B""

Output

Example output

Performance Metrics

0.68s Prediction Time
0.69s Total Time
All Input Parameters
{
  "images": [],
  "prompt": "A surreal underwater or cosmic garden scene with bioluminescent flora against a deep navy blue to black background. Delicate, feather-like structures in pale icy blue and white emerge from the left side, resembling ethereal ferns or coral fronds with intricate fractal patterns. These luminous fronds transition into a cloud-like dispersal of particles and spores floating through the dark space, creating a dreamy, ethereal atmosphere. On the right side, dense clusters of vegetation in deep greens, blues, and purple-pink tones form an organic canopy. The foliage includes pine-like needles, flowering bushes in blue and magenta hues, and various plant forms creating depth and texture. Small glowing particles and orbs of light are scattered throughout the scene like floating pollen or bioluminescent plankton. The overall composition creates a mystical, otherworldly environment that blends elements of deep sea bioluminescence with alien botanical landscapes. Cinematic lighting with cool color palette dominated by blues, teals, and deep greens. Photorealistic rendering with soft focus effects and atmospheric depth. With large white text in the center: \"FLUX.2 [klein] 9B\"",
  "go_fast": true,
  "megapixels": "1",
  "aspect_ratio": "1:1",
  "output_format": "jpg",
  "output_quality": 95
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
images Type: arrayDefault:
List of input images for image-to-image generation. Maximum 5 images. Must be jpeg, png, gif, or webp.
prompt (required) Type: string
Text prompt for image generation.
go_fast Type: booleanDefault: true
Run faster predictions with additional optimizations.
megapixels Default: 1
Resolution in megapixels
aspect_ratio Default: 1:1
Aspect ratio for the generated image. Use 'match_input_image' to match the aspect ratio of the first input image.
output_format Default: jpg
Format of the output images
output_quality Type: integerDefault: 95Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: array • Items Type: string • Items Format: uri

Example Execution Logs
Using seed: 1303830516
Generating 1024x1024 image (1.00 MP, 1:1) ...
Generation took 0.44s
Version Details
Version ID
963f7b2c4aa2bc7e6377b95759dcf3a21cf175f6e8b0d8c1efe7bf6c8a23b690
Version Created
January 21, 2026
Run on Replicate →