Edit and fuse images into high quality results with Seedream 4.0.
Flux 2 Klein 4B is a compact, open-weight text-to-image and image-editing model built by Black Forest Labs, optimized for speed and responsive creative iteration. It accepts a text prompt (and optionally one or more reference images for editing) and returns a single image suitable for concepting, mockups, and fast visual experiments.
Output format: up to ~1024×1024 resolution (commonly used), fps: n/a, duration: n/a, aspect ratio: flexible, audio: none
| Parameter | Required | Type | Default | Range / Options | Description |
|---|---|---|---|---|---|
| multipart* | Yes (*) | object | None | n/a | Container for form-data fields; typically includes prompt text and generation options. |
| body | No | object | None | n/a | The multipart body payload; commonly includes fields such as prompt, steps, width, height, and optional references (varies by provider). |
| contentType | No | string | None | n/a | Content type for multipart submissions; set by the client or SDK. |
| Unit | Price |
|---|---|
| Per image | $0.003 |
1) Choose the model in RunComfy: select Flux 2 Klein 4B Text to Image for generation or editing workflows.
2) Prepare your input:
- Text-to-image: write a concise prompt with subject, style, lighting, and camera terms.
- Image editing: upload one or more reference images (if your workflow supports multi-reference editing) to guide style or identity.
3) Set image size and aspect ratio:
- Start with 1024×1024 for quality and speed; adjust aspect ratio to fit your composition.
4) Configure steps and quality:
- Fewer steps are faster; more steps can refine detail. Typical ranges vary by provider.
5) Use a seed if available:
- Fix a seed to reproduce results; change it to explore new variations around the same prompt.
6) Run the job and review outputs:
- Iterate by adjusting style tokens, composition terms, or references; save preferred seeds and prompts.
7) API usage (no self-hosting required):
- Submit a multipart POST with fields like prompt, steps, width, and height to the platform endpoint; Flux 2 Klein 4B is also compatible with common AI-inference APIs that accept multipart form data.
In short, Flux 2 Klein 4B offers one of the best speed-to-quality trade-offs in its family for agile image creation.
Edit and fuse images into high quality results with Seedream 4.0.
Generate detailed multilingual visuals with 4K clarity and creative control.
Prompt-to-visual engine with precise layout and typography control
Seamlessly craft, edit, and fuse images for storytelling, branding, and beyond
Generate images from text prompts with Wan 2.5 Preview.
Create precise, consistent visuals with 4K detail and adaptive text-to-image rendering for design and production needs.
Flux 2 Klein 4B excels in text-to-image generation, image-to-image editing, and multi-reference input blending — all inside one unified model. It provides clean text rendering, photorealistic imagery, and fast output suitable for UI mockups and brand consistency with low latency, often below one second on consumer GPUs.
Flux 2 Klein 4B text-to-image emphasizes speed, local execution, and open-source availability, while Seedream 4.5 and Nano Banana Pro aim for extreme detail and fidelity at higher computational costs. Flux 2 Klein 4B remains a top choice when you need rapid iteration and strong prompt adherence on limited resources.
Flux 2 Klein 4B text-to-image currently supports image resolutions up to approximately 2048×2048 pixels (around 4 megapixels), depending on aspect ratio settings. This limit ensures fast generation without exceeding VRAM requirements on GPUs with around 13 GB memory.
Flux 2 Klein 4B text-to-image supports flexible aspect ratios between 128×128 and 2048×2048 in steps, and typically allows prompts of up to 512 tokens for highest clarity. Longer prompts will be truncated automatically to maintain consistent performance during inference.
You can move from the RunComfy Playground (Web UI) to production by using the RunComfy API. The API mirrors the playground model settings for Flux 2 Klein 4B text-to-image, allowing you to automate generation or integrate it into backend workflows. Ensure you secure an API key, review usage pricing, and configure your generation settings as per API documentation.
Flux 2 Klein 4B text-to-image supports multiple reference inputs through its multi-reference mode. While designed for efficiency, most deployments allow 2–3 references concurrently, balancing fidelity and speed on consumer hardware configurations.
Compared to FLUX.1 and larger Flux 2 models, Flux 2 Klein 4B text-to-image uses a rectified flow transformer distilled to just 4 inference steps, achieving sub-second image creation while preserving fidelity. It trades some micro-detail for speed and accessibility on smaller GPUs.
Flux 2 Klein 4B text-to-image is optimized for accurate English text rendering and structured compositions like UI or branding mockups. While multilingual input is possible, best results are achieved in English. For bilingual tasks, additional fine-tuning may be beneficial.
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.





