Smart Image Outpainting API
nexscope_smart_image_outpaintingGenerate an expanded image around the original content using target width, height, and optional 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>",
"width": "<width>",
"height": "<height>"
},
"name": "nexscope_smart_image_outpainting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Target output width in pixels. | |
| height | Yes | Target output height in pixels. | |
| prompt | No | Optional prompt describing the extended scene. | |
| imageUrl | Yes | Public URL of the image to expand. 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. |