Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions demos/image_generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,12 @@ Output file (`edit_output.png`):

Inpainting replaces a masked region in an image based on the prompt. The `mask` is a black-and-white image where white pixels mark the area to repaint.

Download sample images:
```console
curl -O https://raw.githubusercontent.com/openvinotoolkit/model_server/main/demos/image_generation/cat.png
curl -O https://raw.githubusercontent.com/openvinotoolkit/model_server/main/demos/image_generation/cat_mask.png
```

![cat](./cat.png) ![cat_mask](./cat_mask.png)

::::{tab-set}
Expand Down Expand Up @@ -599,6 +605,12 @@ Outpainting extends an image beyond its original borders. Prepare two images:
- **outpaint_input.png** — the original image centered on a larger canvas (e.g. 768×768) with black borders
- **outpaint_mask.png** — white where the new content should be generated (the borders), black where the original image is

Download sample images:
```console
curl -O https://raw.githubusercontent.com/openvinotoolkit/model_server/main/demos/image_generation/outpaint_input.png
curl -O https://raw.githubusercontent.com/openvinotoolkit/model_server/main/demos/image_generation/outpaint_mask.png
```

![outpaint_input](./outpaint_input.png) ![outpaint_mask](./outpaint_mask.png)

::::{tab-set}
Expand Down