Skip to content

Commit d56e73d

Browse files
committed
add new features to how-to
1 parent 1ea2f57 commit d56e73d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ Use the *output_format* parameter to specify the format of the generated image.
218218

219219
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`.
220220

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+
221225

222226
#### [DALL-E 3](#tab/dalle-3)
223227

@@ -327,11 +331,20 @@ The following API body parameters are available for image editing models, in add
327331

328332
The *image* value indicates the image file you want to edit.
329333

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+
330340

331341
#### Mask
332342

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

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

336349
#### [DALL-E 3](#tab/dalle-3)
337350

0 commit comments

Comments
 (0)