AI Model Swap API
nexscope_ai_model_swapGenerate model images by combining a source product image with a model head image, optional masks, scene references, and prompt guidance.
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. | |
| modelPrompt | No | Comma-separated model appearance terms, such as smile, laugh, sitting, lying, fat, plump, slim, sideways, profile, back, or bald. | |
| sceneImgUrl | No | Optional scene reference image URL. The image must be up to 10 MB and between 768 and 4096 pixels in both width and height. | |
| customPrompt | No | Positive generation prompt, up to 600 characters. | |
| sceneStrength | No | Scene reference strength from 0 to 1. Defaults to 0.7. | |
| customNegPrompt | No | Negative prompt to avoid unwanted artifacts. | |
| modelHeadImageUrl | Yes | Public URL of the target model head image. The image must be up to 5 MB and between 512 and 2048 pixels in both width and height. |