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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ The operation returns a `202` status code and a JSON object containing the ID an
105
105
106
106
```json
107
107
{
108
-
"id": "f508bcf2-e651-4b4b-85a7-58ad77981ffa",
108
+
"id": "3d3d3d3d-4444-eeee-5555-6f6f6f6f6f6f",
109
109
"status": "notRunning"
110
110
}
111
111
```
@@ -119,7 +119,7 @@ GET https://<your_resource_name>.openai.azure.com/openai/operations/images/<oper
119
119
**Replace the following placeholders**:
120
120
-`<your_resource_name>` is the name of your Azure OpenAI resource.
121
121
-`<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*.
123
123
124
124
**Required headers**:
125
125
-`Content-Type`: `application/json`
@@ -199,7 +199,7 @@ If your prompt is flagged, the `error.code` value in the message is set to *cont
199
199
"code": "contentFilter",
200
200
"message": "Your task failed as a result of our safety system."
201
201
},
202
-
"id": "9484f239-9a05-41ba-997b-78252fec4b34",
202
+
"id": "4e4e4e4e-5555-ffff-6666-7a7a7a7a7a7a",
203
203
"status": "failed"
204
204
}
205
205
```
@@ -227,7 +227,7 @@ It's also possible that the generated image itself is filtered. In this case, th
227
227
{
228
228
"created": 1589478378,
229
229
"expires": 1589478399,
230
-
"id": "9484f239-9a05-41ba-997b-78252fec4b34",
230
+
"id": "4e4e4e4e-5555-ffff-6666-7a7a7a7a7a7a",
231
231
"lastActionDateTime": 1589478378,
232
232
"data": [
233
233
{
@@ -248,7 +248,7 @@ It's also possible that the generated image itself is filtered. In this case, th
248
248
249
249
## Writing image prompts
250
250
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.
252
252
253
253
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).
254
254
@@ -276,13 +276,13 @@ The default value is *vivid*.
276
276
277
277
### Quality
278
278
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.
280
280
281
281
The default value is *standard*.
282
282
283
283
### Number
284
284
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.
0 commit comments