AgentImage
A request or response body; the type column links to the schemas it refers to.
AgentImage
An image part's image.
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | yes | The image's id. |
| content_type | string | yes | 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" |
| width | integer | yes | — |
| height | integer | yes | — |
| alt | string | yes | What the image shows, as the agent described it. |
| caption | string | null | yes | A line the agent put under it. |
| url | string (uri) | null | yes | 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"
}