---
title: "Generate an image with FLUX1.1 [pro] ultra mode"
method: POST
path: "/v1/flux-pro-1.1-ultra"
tags: ["Models"]
---

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

`POST /v1/flux-pro-1.1-ultra`

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

## Request body

- FluxUltraInput
  - `prompt` string, nullable — The prompt to use for image generation.
  - `prompt_upsampling` boolean — Whether to perform upsampling on the prompt. If active, automatically modifies the prompt for more creative generation.
  - `seed` integer, nullable — Optional seed for reproducibility. If not provided, a random seed will be used.
  - `aspect_ratio` string — Aspect ratio of the image between 21:9 and 9:21
  - `safety_tolerance` integer — Tolerance level for input and output moderation. Between 0 and 6, 0 being most strict, 6 being least strict.
  - `output_format` 'jpeg' | 'png' | 'webp'
  - `raw` boolean — Generate less processed, more natural-looking images
  - `image_prompt` string, nullable — Optional image to remix in base64 format
  - `image_prompt_strength` number — Blend between the prompt and the image prompt
  - `webhook_url` string, uri, nullable — URL to receive webhook notifications
  - `webhook_secret` string, nullable — Optional secret for webhook signature verification

## Response `200`

Successful Response

- union
  - AsyncResponse
    - `id` string, required
    - `polling_url` string, required
    - `cost` number, nullable — Cost in credits for this request
    - `input_mp` number, nullable — Input megapixels (2 decimal places)
    - `output_mp` number, nullable — Output megapixels (2 decimal places)
  - AsyncWebhookResponse
    - `id` string, required
    - `status` string, required
    - `webhook_url` string, required
    - `cost` number, nullable — Cost in credits for this request
    - `input_mp` number, nullable — Input megapixels (2 decimal places)
    - `output_mp` number, nullable — Output megapixels (2 decimal places)

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/bfl/apis/bfl-api.md) · [All operations](https://skmtc.net/bfl/apis/bfl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bfl/bfl-api/versions/9557482e34b0/schema)
