Properties
| Name | Type | Description |
|---|---|---|
| url | string | The URL of the generated image, if response_format is url. The URL is valid for 60 minutes. |
| b64_json | string | The base64-encoded JSON of the generated image, if response_format is b64_json. |
| revised_prompt | string | The prompt that was used to generate the image, if there was any revision to the prompt. Only present for DALL-E 3 and gpt-image-1. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Image",
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the generated image, if response_format is url. The URL is valid for 60 minutes."
},
"b64_json": {
"type": "string",
"description": "The base64-encoded JSON of the generated image, if response_format is b64_json."
},
"revised_prompt": {
"type": "string",
"description": "The prompt that was used to generate the image, if there was any revision to the prompt. Only present for DALL-E 3 and gpt-image-1."
}
}
}