/flux-pro-1.1
endpoint.
Key Features
Fast & Reliable
State-of-the-art inference speeds with consistent, stunning results every time
Strong Prompt Adherence
Proven baseline for accurate text-to-image generation that follows your prompts precisely
Scalable Generation
Robust architecture ideal for high-volume, production-ready image generation
Competitive Pricing
Superior image quality at just $0.04 per image
Examples of Image Generation with FLUX.1 [pro]








Using FLUX1.1 [pro] API for Text-to-Image Generation
Create a Request
Use the/flux-pro-1.1
endpoint for standard FLUX1.1 [pro] generation:
Poll for Result
After submitting a request, you need to poll using the returnedpolling_url
to retrieve the output when ready.
result['sample']
is a signed URL for retrieval.
Our signed URLs are only valid for 10 minutes. Please retrieve your result within this timeframe.
FLUX1.1 [pro] Parameters
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 |