OpenAI Integration
Create image
Generates images from text prompts using OpenAI-compatible format.
Note: Azure OpenAI deployments are also supported via the Azure integration endpoint.
Note: This endpoint also works without the /v1 prefix (e.g., /openai/images/generations).
post/openai/v1/images/generations
Request body
Response
Successful response. Returns JSON for non-streaming requests, or Server-Sent Events (SSE) stream when stream=true. When streaming, each event contains a chunk of the image as base64 data, with the final event having type image_generation.completed.