@@ -1215,17 +1215,21 @@ Generates a batch of images from a text caption on a given DALL-E or GPT-image-1
1215
1215
1216
1216
** Content-Type** : application/json
1217
1217
1218
+
1218
1219
| Name | Type | Description | Required | Default |
1219
1220
| ------| ------| -------------| ----------| ---------|
1220
1221
| n | integer | The number of images to generate. | No | 1 |
1221
1222
| prompt | string | A text description of the desired image(s). The maximum length is 4000 characters. | Yes | |
1222
1223
| quality | [ imageQuality] ( #imagequality ) | The quality of the image that will be generated. | No | standard (for DALL-E)</br >high (for GPT-image-1) |
1223
1224
| response_format | [ imagesResponseFormat] ( #imagesresponseformat ) | The format in which the generated images are returned. | No | url |
1224
1225
| 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 |
1226
1227
| 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 |
1229
1233
1230
1234
### Responses
1231
1235
@@ -1355,6 +1359,7 @@ Generates an image based on an input image and text prompt instructions. Require
1355
1359
1356
1360
** Content-Type** : application/json
1357
1361
1362
+
1358
1363
| Name | Type | Description | Required | Default |
1359
1364
| ------| ------| -------------| ----------| ---------|
1360
1365
| 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
1364
1369
| quality | string | The quality of the image that will be generated. Values are 'low', 'medium', 'high' | No | high |
1365
1370
| response_format | [ imagesResponseFormat] ( #imagesresponseformat ) | The format in which the generated images are returned. | No | url |
1366
1371
| size | [ imageSize] ( #imagesize ) | The size of the generated images. | No | 1024x1024 |
1367
- | style | [ imageStyle] ( #imagestyle ) | The style of the generated images. | No | vivid |
1368
1372
| user | string | A unique identifier representing your end-user, which can help to monitor and detect abuse. | No | |
1369
1373
| 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 |
1371
1374
1372
1375
1373
1376
### Responses
0 commit comments