Skip to content

Commit a15b97c

Browse files
committed
Revert code style
1 parent 270b79f commit a15b97c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deploymen
5050
**Replace the following placeholders**:
5151
- `<your_resource_name>` is the name of your Azure OpenAI resource.
5252
- `<your_deployment_name>` is the name of your DALL-E 3 model deployment.
53-
- `<api_version>` is the version of the API you want to use. For example, *2024-02-01*.
53+
- `<api_version>` is the version of the API you want to use. For example, `2024-02-01`.
5454

5555
**Required headers**:
5656
- `Content-Type`: `application/json`
@@ -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`
@@ -175,7 +175,7 @@ The output from a successful image generation API call looks like the following
175175

176176
Prompts and images are filtered based on our content policy, returning an error when a prompt or image is flagged.
177177

178-
If your prompt is flagged, the `error.code` value in the message is set to *contentFilter*. Here's an example:
178+
If your prompt is flagged, the `error.code` value in the message is set to `contentFilter`. Here's an example:
179179

180180
#### [DALL-E 3](#tab/dalle3)
181181

@@ -264,35 +264,35 @@ The following API body parameters are available for DALL-E image generation.
264264

265265
### Size
266266

267-
Specify the size of the generated images. Must be one of *1024x1024*, *1792x1024*, or *1024x1792* for DALL-E 3 models. Square images are faster to generate.
267+
Specify the size of the generated images. Must be one of `1024x1024`, `1792x1024`, or `1024x1792` for DALL-E 3 models. Square images are faster to generate.
268268

269269
### Style
270270

271-
DALL-E 3 introduces two style options: *natural* and *vivid*. The *natural* style is more similar to the DALL-E 2 default style, while the *vivid* style generates more hyper-real and cinematic images.
271+
DALL-E 3 introduces two style options: `natural` and `vivid`. The natural style is more similar to the DALL-E 2 default style, while the vivid style generates more hyper-real and cinematic images.
272272

273-
The *natural* style is useful in cases where DALL-E 3 over-exaggerates or confuses a subject that's meant to be more simple, subdued, or realistic.
273+
The natural style is useful in cases where DALL-E 3 over-exaggerates or confuses a subject that's meant to be more simple, subdued, or realistic.
274274

275-
The default value is *vivid*.
275+
The default value is `vivid`.
276276

277277
### Quality
278278

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

281-
The default value is *standard*.
281+
The default value is `standard`.
282282

283283
### Number
284284

285285
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

289-
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*.
289+
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`.
290290

291291
#### [DALL-E 2 (preview)](#tab/dalle2)
292292

293293
### Size
294294

295-
Specify the size of the generated images. Must be one of *256x256*, *512x512*, or *1024x1024* for DALL-E 2 models.
295+
Specify the size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024` for DALL-E 2 models.
296296

297297
### Number
298298

0 commit comments

Comments
 (0)