AI Model Scene & Background Replacement API
nexscope_ai_model_scene_background_replacementGenerate scene variants for a model image using either a scene reference image or a text scene 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>"
},
"name": "nexscope_ai_model_scene_background_replacement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Public URL of the model image. The image must be up to 20 MB and between 385 and 8192 pixels in both width and height. | |
| genOriRes | No | Whether to generate the original resolution. Defaults to false. | |
| outputNum | No | Number of images to generate, from 1 to 4. Defaults to 1. | |
| realModel | No | Whether to prefer realistic model rendering. | |
| imageSegUrl | No | Optional model segmentation mask URL. | |
| sceneImgUrl | No | Optional public URL of the target scene reference. | |
| scenePrompt | No | Optional text prompt describing the target scene. | |
| sceneStrength | No | Scene reference strength from 0 to 1. Defaults to 0.7. |