/flux-pro-1.1
endpoint.
/flux-pro-1.1
endpoint for standard FLUX1.1 [pro] generation:
polling_url
to retrieve the output when ready.
result['sample']
is a signed URL for retrieval.
Parameter | Type | Default | Description | Required |
---|---|---|---|---|
prompt | string | Text description of the desired image | Yes | |
width | integer | 1024 | Image width in pixels | No |
height | integer | 1024 | Image height in pixels | No |
prompt_upsampling | boolean | false | Enhance prompt for better results | No |
seed | integer | null | Seed for reproducible results. Accepts any integer | No |
safety_tolerance | integer | 2 | Content moderation level. Value ranges from 0 (most strict) to 6 (more permissive) | No |
output_format | string | ”jpeg” | Desired format of the output image. Can be “jpeg” or “png” | No |
webhook_url | string | null | URL for asynchronous completion notification. Must be a valid HTTP/HTTPS URL | No |
webhook_secret | string | null | Secret for webhook signature verification, sent in the X-Webhook-Secret header | No |