v1

latestOpenAPI 3.1.02026-07-2611077199.5 KB

Generate or edit images using the Flux Pro 1.1 Ultra model based on text prompts. <a href='https://docs.bfl.ai/api/tasks/generate-an-image-with-flux-11-[pro]-with-ultra-mode-and-optional-raw-mode' target='_blank'>Official documentation</a>

post/bfl/v1/flux-pro-1.1-ultra

Request body

promptstring required

Image description. Note: Flux supports multilingual understanding, but English performs best in testing.

aspect_ratio'21:9' | '9:21'

Aspect ratio

image_promptstring

Reference image, base64 encoded

rawstring

Generate images with lower processing and more natural appearance. Default: false

seedstring

Random seed

output_format'jpeg' | 'png'

Output format

prompt_upsamplingboolean

Whether to enable prompt upsampling. true - yes, false - no

safety_toleranceinteger

Safety tolerance level for input and output adjustment. Range: 0-6, where 0 is strictest and 6 is most permissive. Default: 2

webhook_urlstring

Asynchronous callback URL

Example request

{
  "aspect_ratio": "21:9",
  "output_format": "jpeg"
}

Response

Request successful

statusstring required
messagestring required
dataobject required

Example response

{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "jobId": "jobId"
  }
}