What it contains
Minimal inference code for open-weight FLUX.2 image generation/editing, including Klein 4B/9B and larger dev variants.
Typical uses
Run local/self-managed text-to-image and reference-image editing; choose models based on speed, quality, tuning, hardware, and license.
Why people choose it
Inference: chosen when local/open-weight model control matters more than a hosted image API.
LicenseMixed model licenses
Last meaningful updateUnknown
Production readinessproduction
Classification
Subject domains
image generationimage editinggenerative AI
Task categories
image generationimage editinggenerative AI
Project phases
implementationoperations
Secondary types
model repositoryCLI
Select when
- Need local/open-weight image generation/editing
Do not select when
- Model license incompatible
- No suitable GPU
Implementation complexityhigh
Routing heuristic 80.0%
Security boundary clarity
5/5 First-party routing documentation
5/5 Strengths
None documented.
Poor-fit scenarios
- Model license incompatible
- No suitable GPU
Limitations
None documented.
README.md
Fast 4B generation/editing; Apache-2.0 model variants.
generationediting
README.md
Higher-capacity non-commercial variants.
generationediting
README.md
32B high-quality research/tuning model.
generationeditingfine-tuning
scripts/cli.py
Interactive generation/editing.
CLI
docs/flux2_with_prompt_upsampling.md
Expand prompts locally/OpenRouter.
prompt enhancement
Operating systemsNone documented
Installation methodsNone documented
InterfacesNone documented
Required credentialsNone documented
External servicesHugging Face, optional OpenRouter
Hardware~8GB VRAM cited for Klein 4B, high VRAM for dev
Major dependenciesNone documented
Compatibility notes
None documented.
One-sentence semantic summary
Minimal inference code for open-weight FLUX.2 image generation/editing, including Klein 4B/9B and larger dev variants.
Capability keywords
text-to-imagesingle/multi-reference editfine-tuningprompt upsampling
User intent phrases
- Need local/open-weight image generation/editing
Negative match phrases
- Model license incompatible
- No suitable GPU
Differentiators
None documented.
Security considerations
- Check model-specific license; consider provenance/watermark requirements.
Privacy considerations
None documented.
Uncertainty
Unresolved items
None documented.
Inference notes
None documented.
Repository usage guidance
installation summaryUnknown
basic usage summaryRun local/self-managed text-to-image and reference-image editing; choose models based on speed, quality, tuning, hardware, and license.
documented entry pointsNone documented
key configuration filesNone documented
important directoriesscripts/, src/, docs/
documentation pathsREADME.md
example pathsNone documented
Relationships
No explicit repository relationships indexed.
Recommended combinations
Not part of a curated combination.
Routing rules
rule_036: Need local/open-weight image generation/editing P964
Rationale
Minimal inference code for open-weight FLUX.2 image generation/editing, including Klein 4B/9B and larger dev variants.
Required conditions
None documented.
Preferred
black-forest-labs/flux2
Fallback
None