Image Streaming
Stream image generation and editing in real time with server-sent events. Learn more about image streaming.
Image generation streaming events
Emitted when a partial image is available during image generation streaming.
b64_json: string
Base64-encoded partial image data, suitable for rendering as an image.
created_at: number
The Unix timestamp when the event was created.
partial_image_index: number
0-based index for the partial image (streaming).
type: "image_generation.partial_image"
The type of the event. Always image_generation.partial_image.
Emitted when image generation has completed and the final image is available.
b64_json: string
Base64-encoded image data, suitable for rendering as an image.
created_at: number
The Unix timestamp when the event was created.
type: "image_generation.completed"
The type of the event. Always image_generation.completed.