An image generation request made by the model.

interface ImageGenerationCall {
    id: string;
    result: null | string;
    status:
        | "in_progress"
        | "completed"
        | "failed"
        | "generating";
    type: "image_generation_call";
}

Properties

Properties

id: string

The unique ID of the image generation call.

result: null | string

The generated image encoded in base64.

status:
    | "in_progress"
    | "completed"
    | "failed"
    | "generating"

The status of the image generation call.

type: "image_generation_call"

The type of the image generation call. Always image_generation_call.