Skip to content

Commit c4aef7e

Browse files
committed
propagate updated constructs
1 parent 8832b53 commit c4aef7e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,17 +1215,21 @@ Generates a batch of images from a text caption on a given DALL-E or GPT-image-1
12151215

12161216
**Content-Type**: application/json
12171217

1218+
12181219
| Name | Type | Description | Required | Default |
12191220
|------|------|-------------|----------|---------|
12201221
| n | integer | The number of images to generate. | No | 1 |
12211222
| prompt | string | A text description of the desired image(s). The maximum length is 4000 characters. | Yes | |
12221223
| quality | [imageQuality](#imagequality) | The quality of the image that will be generated. | No | standard (for DALL-E)</br>high (for GPT-image-1) |
12231224
| response_format | [imagesResponseFormat](#imagesresponseformat) | The format in which the generated images are returned. | No | url |
12241225
| size | [imageSize](#imagesize) | The size of the generated images. | No | 1024x1024 |
1225-
| style | [imageStyle](#imagestyle) | The style of the generated images. | No | vivid |
1226+
| style | [imageStyle](#imagestyle) | The style of the generated images. (DALL-E 3 only)| No | vivid |
12261227
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No | |
1227-
| output_format | string | The format in which the generated images are returned. GPT-image-1 models only. | No | PNG |
1228-
| output_compression | integer | The compression level (on a scale of 0-100) of the generated images. GPT-image-1 | No | 0 |
1228+
| output_format | [imageOutputFormat](#imageoutputformat) | The format in which the generated images are returned. (GPT-image-1 only) | No | PNG |
1229+
| safety | [imageSafety](#imagesafety) | The safety setting of the image generation process. (GPT-image-1 only) | No | auto |
1230+
| No | auto |
1231+
| background | [imageBackground](#imagebackground) | The desired appearance of the background of the image. (GPT-image-1 only) | No | auto |
1232+
| compression_level | integer | The compression level (on a scale of 0-100) of the generated images. (GPT-image-1 only) | No | 0 |
12291233

12301234
### Responses
12311235

@@ -1355,6 +1359,7 @@ Generates an image based on an input image and text prompt instructions. Require
13551359

13561360
**Content-Type**: application/json
13571361

1362+
13581363
| Name | Type | Description | Required | Default |
13591364
|------|------|-------------|----------|---------|
13601365
| image | file | The input image to edit. Must be a valid image URL or base64-encoded image. | Yes | |
@@ -1364,10 +1369,8 @@ Generates an image based on an input image and text prompt instructions. Require
13641369
| quality | string | The quality of the image that will be generated. Values are 'low', 'medium', 'high' | No | high |
13651370
| response_format | [imagesResponseFormat](#imagesresponseformat) | The format in which the generated images are returned. | No | url |
13661371
| size | [imageSize](#imagesize) | The size of the generated images. | No | 1024x1024 |
1367-
| style | [imageStyle](#imagestyle) | The style of the generated images. | No | vivid |
13681372
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No | |
13691373
| output_format | [imageOutputFormat](#imageoutputformat) | The format in which the generated images are returned. | No | PNG |
1370-
| output_compression | integer | The compression level (on a scale of 0-100) of the generated images. GPT-image-1 | No | 0 |
13711374

13721375

13731376
### Responses

0 commit comments

Comments
 (0)