Skip to content

Commit 270b79f

Browse files
committed
Use approved IDs
1 parent e2d39f0 commit 270b79f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The operation returns a `202` status code and a JSON object containing the ID an
105105

106106
```json
107107
{
108-
"id": "f508bcf2-e651-4b4b-85a7-58ad77981ffa",
108+
"id": "3d3d3d3d-4444-eeee-5555-6f6f6f6f6f6f",
109109
"status": "notRunning"
110110
}
111111
```
@@ -119,7 +119,7 @@ GET https://<your_resource_name>.openai.azure.com/openai/operations/images/<oper
119119
**Replace the following placeholders**:
120120
- `<your_resource_name>` is the name of your Azure OpenAI resource.
121121
- `<operation_id>` is the ID of the operation returned in the previous step.
122-
- `<api_version>` is the version of the API you want to use. For example, `2023-06-01-preview`.
122+
- `<api_version>` is the version of the API you want to use. For example, *2023-06-01-preview*.
123123

124124
**Required headers**:
125125
- `Content-Type`: `application/json`
@@ -199,7 +199,7 @@ If your prompt is flagged, the `error.code` value in the message is set to *cont
199199
"code": "contentFilter",
200200
"message": "Your task failed as a result of our safety system."
201201
},
202-
"id": "9484f239-9a05-41ba-997b-78252fec4b34",
202+
"id": "4e4e4e4e-5555-ffff-6666-7a7a7a7a7a7a",
203203
"status": "failed"
204204
}
205205
```
@@ -227,7 +227,7 @@ It's also possible that the generated image itself is filtered. In this case, th
227227
{
228228
"created": 1589478378,
229229
"expires": 1589478399,
230-
"id": "9484f239-9a05-41ba-997b-78252fec4b34",
230+
"id": "4e4e4e4e-5555-ffff-6666-7a7a7a7a7a7a",
231231
"lastActionDateTime": 1589478378,
232232
"data": [
233233
{
@@ -248,7 +248,7 @@ It's also possible that the generated image itself is filtered. In this case, th
248248

249249
## Writing image prompts
250250

251-
Your image prompts should describe the content you want to see in the image, as well as the visual style of image.
251+
Your image prompts should describe the content you want to see in the image, and the visual style of image.
252252

253253
When writing prompts, consider that the image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md).
254254

@@ -276,13 +276,13 @@ The default value is *vivid*.
276276

277277
### Quality
278278

279-
There are two options for image quality: *hd* and *standard*. *hd* creates images with finer details and greater consistency across the image. *standard* images can be generated faster.
279+
There are two options for image quality: *hd* and *standard*. The *hd* option creates images with finer details and greater consistency across the image. *Standard* images can be generated faster.
280280

281281
The default value is *standard*.
282282

283283
### Number
284284

285-
With DALL-E 3, you can't generate more than one image in a single API call: the _n_ parameter must be set to `1`. If you need to generate multiple images at once, make parallel requests.
285+
With DALL-E 3, you can't generate more than one image in a single API call: the `n` parameter must be set to *1*. If you need to generate multiple images at once, make parallel requests.
286286

287287
### Response format
288288

0 commit comments

Comments
 (0)