All models
Flux Fill Pro
black-forest-labs/flux-fill-pro
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "black-forest-labs/flux-fill-pro",
"image": "https://example.com/input.jpg"
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "black-forest-labs/flux-fill-pro", "image": "https://example.com/input.jpg"}'Parameters
Input
image string required
Image to edit, as an HTTPS URL, data URI or base64. Transparent areas are filled when no mask is sent. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.
guidance number optional
How strongly to follow the prompt, 1.5-100. Defaults to 60.
mask string optional
Black-and-white mask the same size as the image: white areas are repainted, black areas are kept.
output_format string optional
Output image format. Defaults to jpeg.
prompt string optional
What to paint into the masked area.
prompt_upsampling boolean optional
Let the model rewrite the prompt for a more creative result. Defaults to false.
safety_tolerance integer optional
Moderation level, from 0 (strictest) to 6 (most permissive). Defaults to 2.
seed integer optional
Seed for reproducible results.
steps integer optional
Number of generation steps, 15-50. Defaults to 50.
Output