id: String

The unique ID of the image generation call.

result: String

The generated image encoded in base64.

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

The status of the image generation call.

One of the following:
:in_progress
:completed
:generating
:failed
type: :image_generation_call

The type of the image generation call. Always image_generation_call.

action: :generate | :edit | :auto

The action used for image generation.

One of the following:
:generate
:edit
:auto
agent: Agent{ agent_name}

The agent that produced this item.

agent_name: String

The canonical name of the agent that produced this item.

background: :transparent | :opaque | :auto

The background setting used for generation.

One of the following:
:transparent
:opaque
:auto
output_format: :png | :webp | :jpeg

The output format used for generation.

One of the following:
:png
:webp
:jpeg
quality: :low | :medium | :high | 3 more

The quality of the image generated by the image generation tool call. One of low, medium, high, xhigh, max, or auto.

One of the following:
:low
:medium
:high
:xhigh
:max
:auto
revised_prompt: String

The prompt that was used after any model prompt rewriting.

size: String | :"1024x1024" | :"1024x1536" | :"1536x1024"

The image dimensions as a WIDTHxHEIGHT string, for example 1536x864.

One of the following:
String = String
Size = :"1024x1024" | :"1024x1536" | :"1536x1024"

The image dimensions as a WIDTHxHEIGHT string, for example 1536x864.

One of the following:
:"1024x1024"
:"1024x1536"
:"1536x1024"