inpaint_image
Regenerate content within a masked image region based on a prompt. Replace or remove objects, fill gaps, or modify local details while preserving the rest of the image.
Instructions
局部重绘(Inpainting):在图片的指定区域(mask)内根据提示词重新生成内容。 使用即梦交互编辑模型(jimeng_image2image_dream_inpaint)。
image_url: 原图 URL(JPEG/PNG,最大 4.7MB)
mask_url: 遮罩图 URL(单通道灰度图,白色=重绘区域,黑色=保留区域)
prompt: 重绘内容描述;输入"删除"可消除选区内容
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| mask_url | Yes | ||
| image_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |