Image Streaming
Stream image generation and editing in real time with server-sent events. Learn more about image streaming.
Image edit streaming events
Emitted when a partial image is available during image editing 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_edit.partial_image"
The type of the event. Always image_edit.partial_image.
Emitted when image editing has completed and the final image is available.
b64_json: string
Base64-encoded final edited image data, suitable for rendering as an image.
created_at: number
The Unix timestamp when the event was created.
type: "image_edit.completed"
The type of the event. Always image_edit.completed.