Flux Pro

flux-pro-v1.1-ultra-text-to-image

post

FLUX1.1 [pro] ultra is the newest version of FLUX1.1 [pro], maintaining professional-grade image quality while delivering up to 2K resolution with improved photo realism.

Header parameters
AuthorizationstringRequiredExample: sk-Qp03mnjjNqXKxpnw5qQ4IqVABNfad5YOk1axUhp7pJbokFmu
Body
modelstringRequired

model is the model name

Example: flux-pro-v1.1-ultra-text-to-image
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
sizestring · enumOptional

The size of the generated image. Default value: 16:9

Possible enum values: 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21

Default: 16:9Example: 16:9Possible values:
image_urlstringOptional

The image URL to generate an image from.

image_prompt_strengthnumberOptional

The strength of the image prompt, between 0 and 1. Default value: 0.1

Default: 0.1Example: 0.1
enhance_promptbooleanOptional

Whether to enhance the prompt for better results.

rawbooleanOptional

Generate less processed, more natural-looking images.

seedintegerOptional

The same seed and the same prompt given to the same version of the model will output the same image every time.

enable_safety_checkerbooleanOptional

If set to true, the safety checker will be enabled. Default value: false

Default: false
safety_tolerancestring · enumOptional

The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. Default value: "2"

Possible enum values: 1, 2, 3, 4, 5, 6

Default: 2Example: 2Possible values:
nintegerOptional

n is the number of images to generate, default value is 1.

Default: 1Example: 1
output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
post
/v1/images/generations
200Success