You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/dall-e.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -180,10 +180,6 @@ The default value is `high`.
180
180
181
181
You can generate between one and 10 images in a single API call. The default value is `1`.
182
182
183
-
#### Response format
184
-
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`.
186
-
187
183
#### User ID
188
184
189
185
Use the *user* parameter to specify a unique identifier for the user making the request. This is useful for tracking and monitoring usage patterns. The value can be any string, such as a user ID or email address.
@@ -236,7 +232,7 @@ With DALL-E 3, you can't generate more than one image in a single API call: the
236
232
237
233
#### Response format
238
234
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`.
235
+
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.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/api-versions/latest-inference-preview.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1221,7 +1221,7 @@ Generates a batch of images from a text caption on a given DALL-E or GPT-image-1
1221
1221
| n | integer | The number of images to generate. | No | 1 |
1222
1222
| prompt | string | A text description of the desired image(s). The maximum length is 4000 characters. | Yes ||
1223
1223
| 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 |
1225
1225
| size |[imageSize](#imagesize)| The size of the generated images. | No | 1024x1024 |
1226
1226
| style |[imageStyle](#imagestyle)| The style of the generated images. (DALL-E 3 only)| No | vivid |
1227
1227
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No ||
@@ -1367,7 +1367,7 @@ Generates an image based on an input image and text prompt instructions. Require
1367
1367
| prompt | string | A text description of how the input image should be edited. The maximum length is 4000 characters. | Yes ||
1368
1368
| mask | file | A mask image to define the area of the input image that the model should edit, using fully transparent pixels (alpha of zero) in those areas. Must be a valid image URL or base64-encoded image. | No ||
1369
1369
| quality | string | The quality of the image that will be generated. Values are 'low', 'medium', 'high' | No | high |
1370
-
| response_format |[imagesResponseFormat](#imagesresponseformat)| The format in which the generated images are returned. | No | url |
1370
+
| response_format |[imagesResponseFormat](#imagesresponseformat)| The format in which dalle-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. | No | url |
1371
1371
| size |[imageSize](#imagesize)| The size of the generated images. | No | 1024x1024 |
1372
1372
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No ||
1373
1373
| output_format |[imageOutputFormat](#imageoutputformat)| The format in which the generated images are returned. | No | PNG |
@@ -6163,7 +6163,7 @@ The format in which the generated images are returned.
6163
6163
6164
6164
| Property | Value |
6165
6165
|----------|-------|
6166
-
|**Description**| The format in which the generated images are returned. |
6166
+
|**Description**|The format in which dalle-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. |
6167
6167
|**Type**| string |
6168
6168
|**Default**| url |
6169
6169
|**Values**|`url`<br>`b64_json`|
@@ -6210,7 +6210,7 @@ The style of the generated images.
6210
6210
| n | integer | The number of images to generate. | No | 1 |
6211
6211
| prompt | string | A text description of the desired image(s). The maximum length is 4000 characters. | Yes ||
6212
6212
| quality |[imageQuality](#imagequality)| The quality of the image that will be generated. | No | standard (for DALL-E)</br>high (for GPT-image-1) |
6213
-
| response_format |[imagesResponseFormat](#imagesresponseformat)| The format in which the generated images are returned. | No | url |
6213
+
| response_format |[imagesResponseFormat](#imagesresponseformat)|The format in which dalle-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. | No | url |
6214
6214
| size |[imageSize](#imagesize)| The size of the generated images. | No | 1024x1024 |
6215
6215
| style |[imageStyle](#imagestyle)| The style of the generated images. (DALL-E 3 only)| No | vivid |
6216
6216
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No ||
@@ -6230,7 +6230,7 @@ The style of the generated images.
6230
6230
| prompt | string | A text description of how the input image should be edited. The maximum length is 4000 characters. | Yes ||
6231
6231
| mask | file | A mask image to define the area of the input image that the model should edit, using fully transparent pixels (alpha of zero) in those areas. Must be a valid image URL or base64-encoded image. | No ||
6232
6232
| quality | string | The quality of the image that will be generated. Values are 'low', 'medium', 'high' | No | high |
6233
-
| response_format |[imagesResponseFormat](#imagesresponseformat)| The format in which the generated images are returned. | No | url |
6233
+
| response_format |[imagesResponseFormat](#imagesresponseformat)|The format in which dalle-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. | No | url |
6234
6234
| size |[imageSize](#imagesize)| The size of the generated images. | No | 1024x1024 |
6235
6235
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No ||
6236
6236
| output_format |[imageOutputFormat](#imageoutputformat)| The format in which the generated images are returned. | No | PNG |
0 commit comments