AI Model Swap API 2.0
nexscope_ai_model_swap_2_0Generate model images from a product image and a full model reference image with optional segmentation and scene controls.
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>",
"modelImageUrl": "<modelImageUrl>"
},
"name": "nexscope_ai_model_swap_2_0"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Public URL of the source product or outfit 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 a realistic model style. | |
| imageSegUrl | No | Optional segmentation mask URL for the source image. | |
| sceneImgUrl | No | Optional scene reference image URL. | |
| modelImageUrl | Yes | Public URL of the full model reference image. | |
| sceneStrength | No | Scene reference strength from 0 to 1. Defaults to 0.7. |