
FLUX.2 [pro]
Text to image
Starting price $0.05 / image
By Black Forest Labs
Black Forest Labs' FLUX1.1 [pro] ultra turns a written prompt into one to four images, with an optional image to guide the result and a raw mode for a more natural look.
flux-pro/v1.1-ultraQuote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-pro/v1.1-ultra",
"input": {
"prompt": "A fisherman mending nets on a wooden pier at dawn, mist over the water, soft pink light, shot on a 35mm lens with natural film grain."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "flux-pro/v1.1-ultra", "quote_id": "QUOTE_ID", "input": {"prompt":"A fisherman mending nets on a wooden pier at dawn, mist over the water, soft pink light, shot on a 35mm lens with natural film grain."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
promptrequired | string | The prompt to generate an image from. |
seed | integer | The same seed and the same prompt given to the same version of the model will output the same image every time. |
sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
num_images | integer | The number of images to generate. |
output_format | string (enum) | The format of the generated image. |
safety_tolerance | string (enum) | The safety tolerance level for the generated image. 1 is the most strict and 6 the most permissive. |
enhance_prompt | boolean | Whether to enhance the prompt for better results. |
image_url | string (image URL) | The image URL to generate an image from. |
image_prompt_strength | number | The strength of the image prompt, between 0 and 1. |
aspect_ratio | string (enum) | The aspect ratio of the generated image. |
raw | boolean | Generate less processed, more natural-looking images. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
FLUX1.1 [pro] ultra makes one to four images per run in nine shapes, from a wide 21:9 to a tall 9:21, as JPEG or PNG.
Add an image to steer the composition and set how strongly it counts. Raw mode gives less processed, more natural-looking pictures, and prompt enhancement can expand a short prompt for you.
Compare source resemblance and altered details; image guidance does not guarantee identity or exact composition.