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

⭐ Official ▶️ 138.0K runs 📅 Jan 2026 ⚙️ Cog 0.16.9 🔗 GitHub ⚖️ License
image-editing image-to-image text-to-image

Performance

2.4sTypical run time
138.0KTotal runs

About

Un-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 Base""

Output

Example output

Performance Metrics

2.36s Prediction Time
2.37s 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 Base\"",
  "go_fast": true,
  "guidance": 4,
  "aspect_ratio": "1:1",
  "output_format": "jpg",
  "output_quality": 95,
  "output_megapixels": "1"
}
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: false
Run faster predictions with additional optimizations.
guidance Type: numberDefault: 4Range: 1 - 10
Classifier-free guidance scale. Higher values produce images more closely related to the prompt.
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.
output_megapixels Default: 1
Resolution of the output image in megapixels
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: 4049352935
Generating 1024x1024 image (1.00 MP, 1:1) with 50 steps, guidance=4.0 ...
Generation took 2.33s
Version Details
Version ID
b037b94bdba7e4a7454b68e9dc6cf8e98c83f0f216fe5474144f52f69420c95c
Version Created
January 15, 2026
Run on Replicate →