Skip to content

Commit 801d14c

Browse files
Merge pull request #4365 from mrbullwinkle/mrb_04_28_2025_image
[Azure OpenAI] Response_Format CSS requested fix
2 parents b2d51a3 + 9bf7864 commit 801d14c

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,6 @@ The default value is `high`.
180180

181181
You can generate between one and 10 images in a single API call. The default value is `1`.
182182

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-
187183
#### User ID
188184

189185
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
236232

237233
#### Response format
238234

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.
240236

241237
---
242238

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

Lines changed: 5 additions & 5 deletions
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 | |
@@ -1367,7 +1367,7 @@ Generates an image based on an input image and text prompt instructions. Require
13671367
| prompt | string | A text description of how the input image should be edited. The maximum length is 4000 characters. | Yes | |
13681368
| 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 | |
13691369
| 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 |
13711371
| size | [imageSize](#imagesize) | The size of the generated images. | No | 1024x1024 |
13721372
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No | |
13731373
| 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.
61636163

61646164
| Property | Value |
61656165
|----------|-------|
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. |
61676167
| **Type** | string |
61686168
| **Default** | url |
61696169
| **Values** | `url`<br>`b64_json` |
@@ -6210,7 +6210,7 @@ The style of the generated images.
62106210
| n | integer | The number of images to generate. | No | 1 |
62116211
| prompt | string | A text description of the desired image(s). The maximum length is 4000 characters. | Yes | |
62126212
| 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 |
62146214
| size | [imageSize](#imagesize) | The size of the generated images. | No | 1024x1024 |
62156215
| style | [imageStyle](#imagestyle) | The style of the generated images. (DALL-E 3 only)| No | vivid |
62166216
| 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.
62306230
| prompt | string | A text description of how the input image should be edited. The maximum length is 4000 characters. | Yes | |
62316231
| 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 | |
62326232
| 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 |
62346234
| size | [imageSize](#imagesize) | The size of the generated images. | No | 1024x1024 |
62356235
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No | |
62366236
| output_format | [imageOutputFormat](#imageoutputformat) | The format in which the generated images are returned. | No | PNG |

0 commit comments

Comments
 (0)