Image inpainting
更新时间:
复制 MD 格式
Function introduction
This node encapsulates the Wanxiang image inpainting API to erase a specified area in an image while preserving the original background. The node requires an original image, an erasing mask image, and a preservation mask image as inputs. For more information about the related APIs, see Image inpainting and Image inpainting.
Prerequisites
An API key is required. For more information, see Obtain an API key.
Node checklist

Node usage
Example workflow 1: Inpainting only
Download the sample workflow: image_inpainting.json
Example inputs:
Original image (image_url) |
Erasing mask image (mask_url) |
Output image |
|
|
|
|
|
|
Example workflow 2: Inpainting with portrait segmentation
You can use this node with the Portrait instance segmentation node to inpaint portrait instances.
Example image:

Example workflow: portrait_instance_inpainting.json
该文章对您有帮助吗?





