Flux AI: The Open-Source Image Generator Taking on Midjourney
There’s a new player in AI image generation, and it’s making waves. Flux by Black Forest Labs launched in 2024 and has quickly become a serious Midjourney competitor. Here’s everything you need to know.
Photo by Steve Johnson on Unsplash
What is Flux?
Flux is an AI image generation model created by Black Forest Labs, founded by former Stability AI researchers (yes, the Stable Diffusion people). It comes in three versions:
- Flux.1 [pro] - Best quality, API access only
- Flux.1 [dev] - High quality, open weights for non-commercial use
- Flux.1 [schnell] - Fastest, fully open-source (Apache 2.0)
Why Flux Matters
1. Text Rendering That Actually Works
Flux handles text in images better than almost any competitor:
Prompt: "A coffee shop storefront with a neon sign saying 'NIGHT OWL CAFE'"
Midjourney: Garbled text, maybe readable Flux: Clean, accurate text rendering
This is huge for marketing materials, mock-ups, and realistic scenes.
2. Prompt Adherence
Flux follows your instructions closely. Complex prompts with multiple elements? It gets them right more consistently than DALL-E or Midjourney.
3. Photorealistic Quality
The [pro] and [dev] versions produce stunningly realistic images. Human hands? Mostly correct. Faces? Consistent and natural.
Photo by Possessed Photography on Unsplash
How to Use Flux
Option 1: Replicate (Easiest)
# Install Replicate CLI
pip install replicate
# Run Flux
replicate run black-forest-labs/flux-pro \
--prompt "Your prompt here"
Or use the web interface at replicate.com.
Option 2: Fal.ai
Fast API access with competitive pricing:
import fal_client
result = fal_client.subscribe(
"fal-ai/flux-pro",
arguments={
"prompt": "A serene Japanese garden at sunset",
"image_size": "landscape_16_9"
}
)
Option 3: Local Installation (Dev/Schnell)
Run it on your own GPU:
# Clone ComfyUI
git clone https://github.com/comfyanonymous/ComfyUI
# Download Flux model
# Place in ComfyUI/models/checkpoints/
# Run ComfyUI
python main.py
Requirements: 24GB+ VRAM recommended for [dev], 12GB for [schnell].
Option 4: Freepik’s Flux Implementation
Freepik integrated Flux into their platform - easy web-based access with free tier.
Flux vs. Midjourney vs. DALL-E 3
| Feature | Flux Pro | Midjourney v6 | DALL-E 3 |
|---|---|---|---|
| Text rendering | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐⭐ |
| Photorealism | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Prompt adherence | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
| Artistic styles | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ |
| Open source | Partial | No | No |
| Local running | Yes (dev/schnell) | No | No |
| API access | Yes | Limited | Yes |
| Starting price | ~$0.05/image | $10/mo | Included in ChatGPT+ |
Best Prompting Practices for Flux
Be Descriptive
Flux rewards detailed prompts:
❌ "A woman in a cafe"
✅ "A young woman with curly auburn hair sitting at a wooden
table in a cozy Parisian cafe. Morning light streaming through
the window. She's reading a worn paperback book, with a
steaming cup of cappuccino beside her. Shot on film,
warm color grading, shallow depth of field."
Specify Technical Details
Flux understands photography terms:
"85mm lens, f/1.4 aperture, golden hour lighting,
shot on Kodak Portra 400, slight film grain"
Use Style References
"In the style of Wes Anderson,
symmetrical composition, pastel color palette"
Flux [schnell] - The Speed Demon
The schnell (German for “fast”) version is optimized for speed:
- 4-step generation (vs 20+ for quality models)
- Works on consumer GPUs
- Apache 2.0 license - use commercially for free
- Quality trade-off is minimal for many use cases
Perfect for rapid prototyping or high-volume generation.
Pricing Comparison
| Platform | Flux Model | Price per Image |
|---|---|---|
| Replicate | Pro | ~$0.05 |
| Replicate | Dev | ~$0.03 |
| Fal.ai | Pro | ~$0.04 |
| Freepik | Flux | Free tier + paid |
| Local | Schnell/Dev | Free (your GPU) |
Limitations
- Community size - Smaller community than Midjourney (fewer shared prompts)
- Web UI - No official web interface (relies on third parties)
- LoRA ecosystem - Growing but not as mature as SD
- NSFW restrictions - Pro version has content filters
Who Should Use Flux?
Choose Flux if you:
- Need accurate text in images
- Want to run AI image generation locally
- Prefer open-source tools
- Need precise prompt adherence
- Want photorealistic outputs
Stick with Midjourney if you:
- Love the aesthetic/artistic style
- Want a polished community experience
- Don’t need text rendering
- Prefer a simple Discord interface
The Future of Flux
Black Forest Labs is actively developing:
- Video generation (announced)
- Image editing capabilities
- Larger model variants
- Enterprise solutions
As an open-weight model, Flux will also benefit from community innovations like custom LoRAs and fine-tunes.
Getting Started Today
- Quick test: Go to Replicate.com, search “Flux”, try the free credits
- API integration: Sign up for Fal.ai or Replicate API
- Local setup: Install ComfyUI and download Flux schnell
- Join community: r/StableDiffusion and r/FluxAI on Reddit
Flux represents the future of accessible, high-quality AI image generation. Whether you’re a developer wanting API access or a hobbyist running models locally, there’s a Flux version for you.
Have you tried Flux? How does it compare to your current AI image tool? Share your experiences below!