Image Inpainting API
nexscope_image_inpaintingRepair or regenerate a local image region using a mask and prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt describing how to redraw the masked area. | |
| maskUrl | Yes | Public URL of the mask image. | |
| imageUrl | Yes | Public URL of the base image. The image must be between 300 and 4096 pixels in both width and height, and its width-to-height ratio must be between 0.4 and 2.5. | |
| outputNum | No | Number of images to generate, from 1 to 4. Defaults to 1. |