FLUX Fill Dev
FLUX Fill Dev is a powerful AI-powered inpainting model that fills in masked regions of images based on text prompts. Upload an image and mask, describe what should appear in the masked area, and the model seamlessly generates new content that blends naturally with the surrounding image.
Why It Stands Out
- Precise inpainting: Generate new content only in masked regions while preserving the rest.
- Prompt-guided generation: Describe exactly what should appear in the masked area.
- Prompt Enhancer: Built-in AI-powered prompt optimization for better results.
- LoRA support: Apply up to 3 custom LoRA models for specific styles.
- Flexible resolution: Width and height adjustable from 256 to 1536 pixels.
- Batch generation: Create multiple variations in a single request.
- Reproducibility: Use the seed parameter to recreate exact results.
Parameters
| Parameter | Required | Description |
|---|
| image | Yes | Source image to edit (upload or public URL). |
| mask_image | Yes | Mask image (white = generate, black = preserve). |
| prompt | Yes | Text description of what to generate in the masked area. |
| width | No | Output width: 256–1536 pixels (default: 1024). |
| height | No | Output height: 256–1536 pixels (default: 1024). |
| num_inference_steps | No | Quality/speed trade-off (default: 28). |
| seed | No | Set for reproducibility (default: 0). |
| guidance_scale | No | Prompt adherence strength (default: 30). |
| num_images | No | Number of images to generate (default: 1). |
| loras | No | LoRA models to apply. Up to 3 LoRAs. |
How to Use
- Upload your source image — drag and drop a file or paste a public URL.
- Upload or create a mask image — white areas will be regenerated, black areas preserved.
- Write a prompt describing what should appear in the masked region. Use the Prompt Enhancer for AI-assisted optimization.
- Add LoRAs (optional) — apply up to 3 custom style LoRAs.
- Adjust parameters (optional) — set dimensions, guidance scale, and num_images.
- Click Run and download your edited image.
Best Use Cases
- Object Replacement — Replace objects in images with new ones.
- Background Editing — Change or extend backgrounds seamlessly.
- Content Addition — Add new elements like clothing, accessories, or objects.
- Photo Repair — Remove unwanted elements and fill with appropriate content.
- Creative Compositing — Blend new elements into existing scenes naturally.
Pricing
| Output | Price |
|---|
| Per image | $0.035 |
Pro Tips for Best Quality
- Create clean, precise masks — white for areas to regenerate, black for areas to keep.
- Be specific in your prompt about what should appear in the masked area.
- Use higher guidance scale (25–35) for stronger prompt adherence.
- Generate multiple images (num_images > 1) to explore variations.
- Use LoRAs to apply consistent styles across multiple inpainting jobs.
- Ensure mask edges are smooth for better blending results.
Notes
- Maximum of 3 LoRAs per generation.
- Width and height must be between 256 and 1536 pixels.
- Ensure uploaded image URLs are publicly accessible.
- Processing time varies based on resolution and current queue load.
- Please ensure your content complies with usage guidelines.