v2

OpenAPI 3.1.02026-07-26262762.2 KB
Models

Generate an image with FLUX1.1 [pro] ultra mode

Submits an image generation task with FLUX1.1 [pro] with ultra mode and optional raw mode.

post/v1/flux-pro-1.1-ultra

Request body

promptstring nullable

The prompt to use for image generation.

prompt_upsamplingboolean

Whether to perform upsampling on the prompt. If active, automatically modifies the prompt for more creative generation.

seedinteger nullable

Optional seed for reproducibility. If not provided, a random seed will be used.

aspect_ratiostring

Aspect ratio of the image between 21:9 and 9:21

safety_toleranceinteger

Tolerance level for input and output moderation. Between 0 and 6, 0 being most strict, 6 being least strict.

output_format'jpeg' | 'png' | 'webp'
rawboolean

Generate less processed, more natural-looking images

image_promptstring nullable

Optional image to remix in base64 format

image_prompt_strengthnumber

Blend between the prompt and the image prompt

webhook_urlstring uri nullable

URL to receive webhook notifications

webhook_secretstring nullable

Optional secret for webhook signature verification

Example request

{
  "prompt": "A beautiful landscape with mountains and a lake",
  "seed": 42,
  "safety_tolerance": 2
}

Response

Successful Response

OR