Image Inpainting API
nexscope_image_inpaintingRepair or regenerate a local image region using a mask and prompt.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"imageUrl": "<imageUrl>",
"prompt": "<prompt>",
"maskUrl": "<maskUrl>"
},
"name": "nexscope_image_inpainting"
}
}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. |