Notice: MAI Image 2.7 launch limited-time 20% off, covering the full text-to-image and image editing lineup, try it now
Notice: Black Friday 2026 × Cyber Monday: Get up to 30% extra on top-ups, DeepSeek free to use · View the promotion
21:9 widescreen hero: warm light negative space on the left, floating translucent glass cards and a prism light-splitting sculpture on the right, ice blue coral pink lavender gradient, with flux-2-klein-9b rendered as internally lit three-dimensional lettering on one of the glass panels.

Black Forest Labs

FLUX.2 Klein 9B

flux-2-klein-9b/image-to-image

A 9-billion-parameter rectified-flow image model, step-distilled to 4 steps, unifying text-to-image and single/multi-reference image editing in a compact architecture, aimed at low-latency real-time generation scenarios

Try flux-2-klein-9b/image-to-image

Input

Output

image
Fill in the parameters and run — results show up here.

Pricing

flux-2-klein-9b/image-to-image $0.03143 per image

Positioning Overview

An image editing model built on the FLUX.2 klein 9B architecture, accessed through the unified HiAPI.ai interface. It takes one reference image and an editing instruction, adjusts the content and style of the original image as described, and supports specifying the output aspect ratio and format. It is suited to developers who need image-to-image rapid iteration and low-latency editing results, and can be used for prototyping, content re-creation, and similar scenarios.

Key Highlights

  • Instruction-based editing driven by a single reference image — simply upload one reference image and provide an editing description, and the model modifies the image according to the instruction, with no additional masks or complex preprocessing required.
  • Few-step inference with 4 to 8 steps — using step distillation, the number of inference steps can be adjusted between 4 and 8, offering a flexible trade-off between quality and latency.
  • Specifiable output aspect ratio and format — supports five aspect ratios (1:1, 4:3, 3:4, 16:9, 9:16) and three output formats (jpeg, png, webp), making it easy to connect directly to downstream pipelines.

Capability Description

  • Reference-image instruction editing: input a jpeg/png/webp image and a text editing description, and the model generates the modified image accordingly, making it suitable for quickly validating editing ideas.
  • Adjustable inference steps: num_inference_steps supports integers from 4 to 8; more steps yield more detail, while fewer steps yield faster responses, so you can choose based on your scenario.
  • Controlled output specifications: you can specify the aspect ratio and file format of the generated image, reducing subsequent cropping and transcoding steps and allowing direct use for display or storage.
  • Reproducible generation: fix the random seed via the seed parameter, making it easy to reproduce the same editing result during debugging and comparison.

Use Cases

  • Designers rapidly iterating on visual concepts — upload a style reference image and describe the desired adjustment direction in text to produce multiple edited versions for concept screening and client communication.
  • Content creators re-creating images — input editing instructions based on existing source images to generate stylized or content-adjusted images for social media and article illustrations.
  • Validating image-to-image pipelines during development integration — use a fixed seed and a small number of inference steps to quickly generate images, verify API parameters and downstream pipelines, and use the results for integration testing.

Limitations and Selection Advice

Only a single reference image input is supported, and input images are scaled to 1 MP, so high-resolution detail retention is limited; the svg format is not supported. The maximum number of inference steps is 8, which may be insufficient for ultra-high-quality or fine-grained control needs. This model focuses on image editing and does not cover modalities such as video or audio. If you need pure text-to-image or higher-resolution output, evaluate other lines in the same series or models with the corresponding capabilities.

Frequently asked questions

View all FAQs →
  • How many references does FLUX.2 [klein] 9B Image to Image accept?

    It currently accepts one JPEG, PNG, or WebP reference. image_urls must contain exactly one public image URL.

  • Which editing tasks is it best for?

    It is suited to product cleanup, background replacement, in-image text rewriting, color changes, and commercial edits that preserve subject and camera.

  • How do I set inference steps?

    num_inference_steps accepts integers from 4 to 8 and defaults to 4. The current price does not change with the step count.

  • Which ratios and formats are supported?

    Ratios: 1:1, 4:3, 3:4, 16:9, and 9:16. Formats: JPEG, PNG, and WebP.

Related Models

View all models →

Same Type