Generate up to 4MP resolution images with FLUX1.1 [pro] Ultra, featuring Raw mode for candid photography and image-to-image support.
FLUX1.1 [pro] Ultra delivers ultra-fast, ultra-high-resolution image creation - with more pixels in every picture. Generate varying aspect ratios from text, at 4MP resolution fast.To generate an image from text, you’ll make a request to the /flux-pro-1.1-ultra endpoint.
FLUX1.1 [pro] also supports Raw mode for creators seeking authenticity. When enabled, Raw mode captures the genuine feel of candid photography, generating images with a less synthetic, more natural aesthetic. This mode significantly increases diversity in human subjects and enhances the realism of nature photography.
Enable Raw mode by setting "raw": true in your API request for more authentic, natural-looking results.
Use the /flux-pro-1.1-ultra endpoint for ultra-high-resolution generation:
request=$(curl -X POST \'https://api.bfl.ai/v1/flux-pro-1.1-ultra' \-H 'accept: application/json' \-H "x-key: ${BFL_API_KEY}" \-H 'Content-Type: application/json' \-d '{ "prompt": "Detailed architectural rendering of a modern glass skyscraper", "aspect_ratio": "1:1", "raw": false}')# Change "raw" to `true` for RAW outputrequest_id=$(echo $request | jq -r .id)polling_url=$(echo $request | jq -r .polling_url)
import requestsimport osrequest = requests.post( 'https://api.bfl.ai/v1/flux-pro-1.1-ultra', headers={ 'accept': 'application/json', 'x-key': os.environ.get("BFL_API_KEY"), 'Content-Type': 'application/json', }, json={ 'prompt': 'Detailed architectural rendering of a modern glass skyscraper', 'aspect_ratio': '1:1', 'raw': False # Replace with True for the RAW endpoint }).json()print(request)request_id = request["id"]polling_url = request["polling_url"] # Use this URL for polling