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-foundry/openai/how-to/dall-e.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,6 +218,10 @@ Use the *output_format* parameter to specify the format of the generated image.
218
218
219
219
Use the *output_compression* parameter to specify the compression level for the generated image. Input an integer between `0` and `100`, where `0` is no compression and `100` is maximum compression. The default is `100`.
220
220
221
+
#### Streaming
222
+
223
+
Use the *stream* parameter to enable streaming responses. When set to `true`, the API returns partial images as they are generated. This provides faster visual feedback for users and improves perceived latency. Set the *partial_images* parameter to control how many partial images are generated (1-3).
224
+
221
225
222
226
#### [DALL-E 3](#tab/dalle-3)
223
227
@@ -327,11 +331,20 @@ The following API body parameters are available for image editing models, in add
327
331
328
332
The *image* value indicates the image file you want to edit.
329
333
334
+
#### Input fidelity
335
+
336
+
The *input_fidelity* parameter controls how much effort the model will exert to match the style and features, especially facial features, of input images
337
+
338
+
This allows you to make subtle edits to an image without altering unrelated areas. When you use high input fidelity, faces are preserved more accurately than in standard mode.
339
+
330
340
331
341
#### Mask
332
342
333
343
The *mask* parameter is the same type as the main *image* input parameter. It defines the area of the image that you want the model to edit, using fully transparent pixels (alpha of zero) in those areas. The mask must be a PNG file and have the same dimensions as the input image.
334
344
345
+
#### Streaming
346
+
347
+
Use the *stream* parameter to enable streaming responses. When set to `true`, the API returns partial images as they are generated. This provides faster visual feedback for users and improves perceived latency. Set the *partial_images* parameter to control how many partial images are generated (1-3).
0 commit comments