Submits an image generation request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests.
Time-to-live in seconds for the job result after completion. Defaults to 3600 (1 hour). After expiry, the job result is automatically cleaned up.
Model identifier in format provider/model
Text prompt to generate image
Number of images to generate
1 <= x <= 10Size of the generated image
256x256, 512x512, 1024x1024, 1792x1024, 1024x1792, 1536x1024, 1024x1536, auto Quality of the generated image
auto, high, medium, low, hd, standard Style of the generated image
natural, vivid Format of the response.
url, b64_json Background type for the image
transparent, opaque, auto Content moderation level
low, auto Number of partial images to generate
0 <= x <= 3Compression level (0-100%)
0 <= x <= 100Output image format
png, webp, jpeg User identifier for tracking
Seed for reproducible image generation
Negative prompt to guide what to avoid in generation
Number of inference steps for generation
Whether to stream the response. When true, images are sent as SSE.
When streaming, providers may return base64 chunks (b64_json) and/or URLs (url) depending on provider and configuration.
Fallback models to try if primary model fails
Job accepted for processing
Response returned when creating or polling an async job
Unique identifier for the async job
The status of an async job
pending, processing, completed, failed When the job was created
When the job result expires and will be cleaned up
When the job completed (successfully or with failure)
HTTP status code of the completed operation
The result of the completed operation (shape depends on the request type)
Error response from Bifrost