Skip to content

Commit 1a4b1c4

Browse files
committed
start edits
1 parent 9968505 commit 1a4b1c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/ai-services/openai/reference.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ POST https://{your-resource-name}.openai.azure.com/openai/{deployment-id}/images
528528

529529
**Supported versions**
530530

531-
- `2023-12-01-preview` [Swagger spec](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/inference.json)
531+
- `2023-12-01-preview`
532532

533533
**Request body**
534534

@@ -538,7 +538,8 @@ POST https://{your-resource-name}.openai.azure.com/openai/{deployment-id}/images
538538
| `n` | integer | Optional | 1 | The number of images to generate. Must be between 1 and 5. |
539539
| `size` | string | Optional | `1024x1024` | The size of the generated images. Must be one of `1792x1024`, `1024x1024`, or `1024x1792`. |
540540
| `quality` | string | Optional | `standard` | The quality of the generated images. Must be `hd` or `standard`. |
541-
| `style` | string | Optional | `vivid` | The style of the generated images. Must be `natural` or `vivid`. |
541+
| `imagesResponseFormat` | string | Optional | `url` | The format in which the generated images are returned Must be `url` (a URL pointing to the image) or `b64_json` (the base 64 byte code in JSON format). |
542+
| `style` | string | Optional | `vivid` | The style of the generated images. Must be `natural` or `vivid` (for hyper-realistic / dramatic images). |
542543

543544

544545
#### Example request

0 commit comments

Comments
 (0)