Génération et retouche avec Flux 2 Klein 4B
Génération et retouche d’images ultra-rapides en 4 étapes avec le modèle distillé de Black Forest Labs : inférence en moins d’une seconde, résultats photoréalistes jusqu’à 4 MP, texte lisible et qualité production.

Aucune configuration requise · Entièrement personnalisable dans AI-Flow
Ce que fait cette application
Flux 2 Klein 4b (FLUX.2 klein 4B) is a compact, open-source image generation and editing model from Black Forest Labs designed for near real-time and production use. Distilled from the larger FLUX 2 family, it delivers high visual fidelity, accurate lighting, coherent spatial relationships, and remarkably readable text—while remaining efficient enough to run on modest hardware.
Key capabilities
Speed for production — 4-step distilled generation with sub-second inference on capable hardware
Photoreal quality up to 4 megapixels with strong lighting and perspective consistency
Clean text rendering for UI mockups, posters, and infographics
Image-to-image editing with up to 5 input references for style/character/product consistency
Open-source (Apache 2.0) for commercial and custom use
How it works
Latent flow matching with a rectified flow transformer for efficient, stable generation
Vision-language guidance (based on Mistral 3) for semantic understanding and composition
Specialized VAE for crisp details and reliable high-resolution outputs
Inputs you can control
prompt (required) — Natural language description of the desired image
images (optional) — Up to 5 images for image-to-image edits or multi-reference consistency (jpeg, png, gif, webp)
aspect_ratio (optional) — Common ratios or match_input_image to follow the first image
output_megapixels (optional) — 0.25, 0.5, 1, 2, 4 megapixels
seed (optional) — Set for reproducible results
go_fast (optional) — Extra runtime optimizations for even faster inference
output_format (optional) — jpg, png, or webp
output_quality (optional) — 0–100 (for lossy formats)
disable_safety_checker (optional) — Toggle model-side safety checks
Output: - An array of URLs (URIs) pointing to the generated image(s)
Best practices
Be specific — describe lighting, materials, lens, mood, and composition
For brand work — include exact hex colors and layout instructions
For consistency — provide multiple references in images and refer to them in the prompt
For reproducibility — set a seed and keep parameters fixed across runs
Ideal use cases
Marketing visuals, product shots, and rapid creative iterations
UI/UX mockups, slides, posters, and social assets with readable typography
Storyboards and campaigns needing consistent characters or styles
Fast image-to-image edits for prototyping and production pipelines
Comment utiliser l’application
Voici ce que vous obtenez en ouvrant l’application : un formulaire court, un bouton d’exécution et vos résultats, sans nœuds ni configuration.
Flux 2 Klein 4B
Aperçu de l’applicationRemplissez le formulaire
Prompt
RequisSaisissez prompt…
Aspect Ratio
1:1
Images
Ajouter des images ou des fichiers
Output Format
jpg
Output Megapixels
1
+2 options supplémentaires dans l’application
≈ 0.5 crédits / exécution
Récupérez votre résultat

Résultat réel généré avec cette application
Sous le capot
Vous souhaitez plus de contrôle ?
Cette application repose sur un workflow AI-Flow entièrement modifiable. Changez le modèle, les prompts, la disposition ou la résolution, ou connectez-le à d’autres étapes.
Text
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 intric...
List
Références ou fichiers facultatifs.
Flux 2 Klein 4b

Comment utiliser ce template
Étape 1 : Saisissez votre texte dans le nœud « Texte »
Dans le nœud « Texte », saisissez vos instructions.
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] 4B"
Étape 2 : Importez vos fichiers
Dans le nœud « Liste », importez les fichiers que vous souhaitez utiliser dans le workflow.
Étape 3 : Exécutez le workflow
Cliquez sur le bouton « Exécuter » pour lancer le workflow et obtenir le résultat final.

Personnalisez le workflow sous-jacent
Ouvrez le workflow complet dans l’éditeur AI-Flow pour changer de modèle, réécrire les prompts ou le connecter à d’autres étapes.
À qui s’adresse ce template ?
Idéal pour les professionnels et les créateurs qui souhaitent simplifier leur workflow
Product and marketing teams
Generate on-brand visuals, product renders, and campaign assets quickly with consistent colors and typography.
Designers and creative studios
Iterate on concepts, perform image-to-image edits, and produce photoreal artwork with reliable lighting and composition.
App developers and startups
Embed sub-second image generation in user flows and realtime experiences without requiring large-scale infrastructure.
UI/UX designers
Produce interface mockups and marketing screens with crisp, readable text and coherent layout.
Content creators and social teams
Create thumbnails, posters, and social posts fast, with high quality at 0.25–4 MP depending on need.
Researchers and tinkerers
Leverage an Apache 2.0 model for experimentation, fine-tuning, and custom pipelines.
Prêt à créer ?
Commencez à utiliser cette application
Aucune configuration requise — ouvrez l’application et commencez à créer en quelques minutes
Vous aimerez peut-être aussi
Explorez d’autres templates puissants pour enrichir votre workflow IA

Génération d’images avec Nano Banana Pro
Générez des images à partir de prompts textuels ou d’images de référence avec le modèle Nano Banana Pro de Google.

Retouche d’images avec Nano Banana
Modèle de retouche d’images de Google intégré à Gemini 2.5.

Génération et retouche avec Seedream 4
Génération texte-vers-image unifiée et retouche précise en une seule phrase, jusqu’à une résolution 4K.
Série d’images avec rotation du point de vue
Faites pivoter le point de vue autour du sujet.

Série de portraits avec FLUX 1 Kontext
Générez une série cohérente de portraits à partir d’une seule image avec le modèle de portrait FLUX 1 Kontext.

Générer des pages de coloriage
Générez des pages de coloriage avec GPT et FLUX.
Questions fréquentes
What is Flux 2 Klein 4b (FLUX.2 klein 4B)?
A 4B-parameter, open-source image model distilled from the larger FLUX 2 family. It delivers fast, high-quality image generation and editing with accurate lighting, strong spatial reasoning, and readable text.
How fast is it in practice?
It uses a 4-step distilled flow pipeline designed for sub-second inference on capable hardware, making it suitable for interactive and production scenarios. Actual latency depends on hardware, resolution, and settings.
Does it support image-to-image editing?
Yes. Provide up to 5 input images to guide edits, maintain style or character consistency, or blend references. Describe how each image should influence the output in your prompt.
What output resolutions are supported?
You can select 0.25, 0.5, 1, 2, or 4 megapixels via the output_megapixels parameter. Higher values preserve more detail but increase compute time.
Can it render readable text?
Yes. Unlike many small models, Flux 2 Klein 4b produces clean, legible text for posters, UI screens, and infographics.
How do I make results reproducible?
Set the seed parameter and keep other parameters (prompt, aspect ratio, output megapixels, etc.) constant across runs.
Which aspect ratios and formats can I use?
Common aspect ratios (1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 21:9, 9:21) plus match_input_image. Output formats include jpg, png, and webp.
What is go_fast and when should I use it?
go_fast enables additional runtime optimizations to reduce latency. It’s useful for real-time experiences or when throughput is critical.
Is it suitable for commercial use?
Yes. Flux 2 Klein 4b is open source under the Apache 2.0 license, allowing commercial use, modification, and distribution.
How does it compare to larger FLUX 2 models?
The klein variant prioritizes speed and efficiency while retaining many capabilities of its teacher model. For absolute top-tier quality, larger FLUX 2 models may perform better; for most production needs, klein offers an excellent balance.
Does it include safety controls?
It has safety measures from training and supports a disable_safety_checker toggle. Keep in mind best practices and platform policies when generating content.
Any prompt tips for best results?
Be explicit about subject, lighting, materials, style, camera/lens, and composition. For brand fidelity, include hex colors and layout instructions. Provide multiple reference images when consistency matters.
Qu’est-ce qu’AI-FLOW et comment peut-il m’aider ?
AI-FLOW est une plateforme d’IA tout-en-un qui vous permet de créer, d’intégrer et d’automatiser des workflows alimentés par l’IA grâce à une interface intuitive en glisser-déposer. Débutant ou expert, vous pouvez combiner plusieurs modèles d’IA pour créer des solutions innovantes sans écrire de code.
Un essai gratuit est-il disponible ?
Oui, AI-FLOW propose un essai gratuit pour commencer. Vous pouvez ensuite acheter des crédits selon vos besoins, sans abonnement ni engagement à long terme.
Puis-je intégrer mes clés API OpenAI, Replicate et d’autres fournisseurs dans la version Cloud d’AI-FLOW ?
Oui, vous pouvez facilement intégrer vos propres clés API à AI-FLOW. Les nœuds associés utiliseront alors votre clé, ce qui réduit considérablement votre consommation de crédits sur la plateforme.