All models

Flux 1.1 Pro

black-forest-labs/flux-1.1-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-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>"}'

Examples

example
example
example

Parameters

Input
prompt string required

Text description of the image to generate.

height integer optional

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

image_prompt string optional

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 optional

Output image format. Defaults to jpeg.

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.

width integer optional

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

Output