Semua model

Flux 1.1 Pro

black-forest-labs/flux-1.1-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-1.1-pro",
    "prompt": "<your prompt>"
  }'

# 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-1.1-pro", "prompt": "<your prompt>"}'

Contoh

contoh
contoh
contoh

Parameter

Input
prompt string wajib

Text description of the image to generate.

height integer opsional

Image height in pixels, 256-1440, a multiple of 32. Defaults to 768.

image_prompt string opsional

Optional reference image (Flux Redux) as an HTTPS URL, data URI or base64. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

output_format string opsional

Format gambar keluaran. Bawaannya jpeg.

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.

width integer opsional

Image width in pixels, 256-1440, a multiple of 32. Defaults to 1024.

Output