The response from the image generation endpoint.

interface ImagesResponse {
    created: number;
    data?: OpenAIClient.Images.Image[];
    usage?: OpenAIClient.Images.ImagesResponse.Usage;
}

Properties

Properties

created: number

The Unix timestamp (in seconds) of when the image was created.

The list of generated images.

For gpt-image-1 only, the token usage information for the image generation.