Inpaint (FLUX Fill)
Repaints the masked area from a prompt and blends it into the rest of the image.
model: "inpaint-flux-fill"
Modes
One model id, every mode below. The fields you send pick the mode, and the price follows the mode.
| Mode | Selected by | Typical price |
|---|---|---|
| Image in, image out | image_urlmask_urlExample request{
"model": "inpaint-flux-fill",
"input": {
"image_url": "https://example.com/image.jpg",
"mask_url": "https://example.com/image.jpg",
"prompt": "a lighthouse at dusk"
}
} | $0.050 |
A real run
This is the tool's actual output on the image beside it. The playground below opens on the same input, so you can run it yourself.


Input
What to paint in the masked area.
The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.
White marks the area to repaint, black is kept (https URL).. A public https URL, or an upload URL from POST /v1/uploads.
Advanced options (3)
Provider settings beyond the main controls. Leave them empty to use the model's defaults.
Let the model rewrite the prompt for better results.
File format of the result.
Random seed. The same seed and input reproduce the same result.
Result
Example outputA real result from this model. Run it to see yours here.
curl https://arteza.ai/api/v1/generations \
-H "Authorization: Bearer $ARTEZA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "inpaint-flux-fill",
"input": {
"image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
"mask_url": "https://assets.arteza.ai/uploads/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/api/oqsLYVdazMWOeIzRouFbFA.png",
"prompt": "a small red ribbon bow"
}
}'Made with Inpaint (FLUX Fill)


Related models
Black Forest Labs
FLUX 3
Up to 20s of 1080p AI video with native audio
ImageNewByteDance
Seedream 5.0 Lite
Latest generation with deep-thinking mode
ImageNewByteDance
Seedream 5.0 Pro
Flagship deep-thinking image model with on-image text and precise editing
ImageNewBlack Forest Labs
FLUX 2 Pro
Production-grade photorealism
ImageNewBlack Forest Labs
FLUX Kontext Pro
Edit images with text instructions
ImageNewBlack Forest Labs
FLUX Pro Ultra
Maximum quality, up to 2K resolution