AgentImage

A request or response body; the type column links to the schemas it refers to.

AgentImage

An image part's image.

FieldTypeRequiredDescription
idstring (uuid)yes

The image's id.

content_typestringyes

What it is kept as. An SVG, TIFF or AVIF the agent made is kept as PNG.

one of "image/png" | "image/jpeg" | "image/webp" | "image/gif"

widthintegeryes—
heightintegeryes—
altstringyes

What the image shows, as the agent described it.

captionstring | nullyes

A line the agent put under it.

urlstring (uri) | nullyes

A presigned URL to show it, good for an hour; minted per read and never stored. Null when the deployment's blob store is not configured or could not sign one.

jsonExample
{
  "id": "3a7c1e52-9f0b-4c2d-8e61-5b4f0a9d2c18",
  "content_type": "image/png",
  "width": 1280,
  "height": 720,
  "alt": "Bar chart of forklift certifications lapsing each month.",
  "caption": null,
  "url": "string"
}