Emitted when an image generation tool call has completed and the final image is available.

interface ResponseImageGenCallCompletedEvent {
    item_id: string;
    output_index: number;
    sequence_number: number;
    type: "response.image_generation_call.completed";
}

Properties

item_id: string

The unique identifier of the image generation item being processed.

output_index: number

The index of the output item in the response's output array.

sequence_number: number

The sequence number of this event.

type: "response.image_generation_call.completed"

The type of the event. Always 'response.image_generation_call.completed'.