Skip to content

Commit ed0509d

Browse files
committed
update
1 parent 8bd496a commit ed0509d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/ai-services/openai/how-to/dall-e.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ You can generate between one and 10 images in a single API call. The default val
182182

183183
#### Response format
184184

185-
The format in which the generated images are returned. Must be either `url` (a URL pointing to the image) or `b64_json` (the base 64-byte code in JSON format). The default is `url`.
185+
The format in which dall-e-3 generated images are returned. Must be one of `url` or `b64_json`. This parameter isn't supported for gpt-image-1 which will always return base64-encoded images.
186186

187187
#### User ID
188188

@@ -236,7 +236,7 @@ With DALL-E 3, you can't generate more than one image in a single API call: the
236236

237237
#### Response format
238238

239-
The format in which the generated images are returned. Must be one of `url` (a URL pointing to the image) or `b64_json` (the base 64-byte code in JSON format). The default is `url`.
239+
The format in which dall-e-3 generated images are returned. Must be one of `url` or `b64_json`. This parameter isn't supported for gpt-image-1 which will always return base64-encoded images.
240240

241241
---
242242

articles/ai-services/openai/includes/api-versions/latest-inference-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ Generates a batch of images from a text caption on a given DALL-E or GPT-image-1
12211221
| n | integer | The number of images to generate. | No | 1 |
12221222
| prompt | string | A text description of the desired image(s). The maximum length is 4000 characters. | Yes | |
12231223
| quality | [imageQuality](#imagequality) | The quality of the image that will be generated. | No | standard (for DALL-E)</br>high (for GPT-image-1) |
1224-
| response_format | [imagesResponseFormat](#imagesresponseformat) | The format in which the generated images are returned. | No | url |
1224+
| response_format | [imagesResponseFormat](#imagesresponseformat) | The format in which dall-e-3 generated images are returned. Must be one of `url` or `b64_json`. U This parameter isn't supported for gpt-image-1 which will always return base64-encoded images. | No | url |
12251225
| size | [imageSize](#imagesize) | The size of the generated images. | No | 1024x1024 |
12261226
| style | [imageStyle](#imagestyle) | The style of the generated images. (DALL-E 3 only)| No | vivid |
12271227
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No | |

0 commit comments

Comments
 (0)