Semua model

Flux Fill Pro

black-forest-labs/flux-fill-pro

Mulai cepat

# 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"}'

Parameter

Input
image string wajib

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 opsional

How strongly to follow the prompt, 1.5-100. Defaults to 60.

mask string opsional

Black-and-white mask the same size as the image: white areas are repainted, black areas are kept.

output_format string opsional

Format gambar keluaran. Bawaannya jpeg.

prompt string opsional

What to paint into the masked area.

prompt_upsampling boolean opsional

Let the model rewrite the prompt for a more creative result. Defaults to false.

safety_tolerance integer opsional

Moderation level, from 0 (strictest) to 6 (most permissive). Defaults to 2.

seed integer opsional

Seed untuk hasil yang bisa diulang.

steps integer opsional

Number of generation steps, 15-50. Defaults to 50.

Output