HiAPI
这张 flux-2-klein-4b 图像模型详情页 Hero 图以悬浮半透明玻璃浮卡与棱镜光带为主体,左侧柔光留白,彩色虹彩层叠,模型名以发光立体字蚀刻于玻璃浮卡上。

Black Forest Labs

FLUX.2 Klein 4B

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

A 4-billion-parameter distilled small model that unifies text-to-image generation and image editing, with end-to-end inference as fast as under 1 second and runs on about 13GB of VRAM

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

Input

Output

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

Pricing

flux-2-klein-4b/image-to-image per image

Specifications Unit Price
0.25 MP $0.00608
0.5 MP $0.00643
1 MP $0.00715
2 MP $0.00858
4 MP $0.01143

Overview

FLUX.2 klein 4B is a 4-billion-parameter image editing model released by Black Forest Labs. It accepts a single reference image as input and performs controlled modifications to the original image via instructions. Developers can specify the output resolution (0.25–4 MP), aspect ratio, format, and compression quality, and fix the random seed to reproduce results. It is suitable for developers who need to quickly validate image editing workflows, and for teams integrating reference-image redrawing into application prototypes.

Key Highlights

  • Single-reference-image instruction editing — Just provide one reference image and an editing prompt to complete targeted modifications to the original image, with no need to build an additional editing pipeline.
  • Fine-grained control over output parameters — Supports specifying resolution (0.25–4 MP), aspect ratio, output format, and compression quality, and a seed can be used to reproduce identical results.
  • Compact distilled model — With 4B parameters distilled from a larger FLUX.2 base, it lowers the deployment barrier while retaining understanding of lighting and materials.

Capabilities

Instruction-based image editing: Input a reference image and a prompt, and the model modifies the reference image as described, outputting edited results that can be used directly in downstream workflows.

Output resolution and ratio control: Resolution can be selected between 0.25 MP and 4 MP, and the aspect ratio can match the original image or be set to common specified ratios to meet the requirements of different display placements.

Adjustable format and quality: Supports webp, jpg, and png output, and compression quality (0–100) can be set, making it easy to trade off between image quality and file size.

Reproducible results: By setting the seed parameter, the same editing result can be reproduced under identical inputs, facilitating debugging and consistency verification of batch tasks.

Use Cases

  • Quick validation of image editing workflows by developers — Test editing effects with a single reference image plus a prompt, and produce reproducible sample images to evaluate whether to integrate into a production pipeline.
  • Style-consistent redrawing of product images — Based on a product reference image, adjust style or details according to instructions and output images with uniform specifications for display or asset libraries.
  • Real-time interactive editing prototypes — Integrate reference-image redrawing capabilities into interactive tools and output preview images as low as 0.25 MP for instant feedback.

Limitations and Model Selection Advice

Only a single reference image is accepted; multiple images cannot be constrained simultaneously. Input images exceeding 4 MP will be compressed to 4 MP, and the SVG format is not supported. As a small 4B distilled model, its capability ceiling is constrained by scale; for complex edits or scenarios requiring high-fidelity detail restoration, evaluating larger models is recommended. Independent horizontal benchmark data is currently lacking, so the full license and usage terms should be verified before commercial use.

Frequently asked questions

View all FAQs →
  • What is FLUX.2 [klein] 4B best for?

    It fits batch drafts, product concepts, social assets, and cost-sensitive iteration. Move to 9B when realism, typography, and fine detail matter more.

  • How should I choose between 0.25 and 4 MP?

    Start with 0.25 or 0.5 MP for drafts, use 1 MP for typical web assets, and select 2 or 4 MP for larger output. Price changes by megapixel tier.

  • Which aspect ratios are supported?

    1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 21:9, and 9:21.

  • How can I reproduce a composition direction?

    Keep seed, prompt, ratio, megapixel tier, and output settings fixed while changing one variable at a time.

Related Models

View all models →

Same Type