← Back to all generators

black-forest-labs/flux-2-klein-4b

Very fast image generation and editing model. 4 steps distilled, sub-second inference for production and near real-time applications.

Capabilities

Seed

Cost

Community model (estimated from hardware time)

Input Parameters

promptrequiredstring

Text prompt for image generation.

aspect_ratiostring

Aspect ratio for the generated image. Use 'match_input_image' to match the aspect ratio of the first input image.

Default: "1:1"
1:116:99:163:22:34:33:45:44:521:99:21match_input_image
disable_safety_checkerboolean

Disable safety checker for generated images.

Default: false
go_fastboolean

Run faster predictions with additional optimizations.

Default: false
imagesarray

List of input images for image-to-image generation. Maximum 5 images. Must be jpeg, png, gif, or webp.

Default:
output_formatstring

Format of the output images

Default: "jpg"
webpjpgpng
output_megapixelsstring

Resolution of the output image in megapixels

Default: "1"
0.250.5124
output_qualityinteger

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs.

Default: 95min: 0, max: 100
seedinteger

Random seed. Set for reproducible generation

Version: 8e9c42d77b10Updated: 7/25/20264.7M runs