Multimodal AI
AI Model Swap API
Generate model images by combining a source product image with a model head image, optional masks, scene references, and prompt guidance.
post/api/skill-api/v1/skills/ai-model-swap/run
Request
- Base URL: https://api.nexscope.ai
- URL: https://api.nexscope.ai/api/skill-api/v1/skills/ai-model-swap/run
- Auth: HTTP bearer
Headers
X-Nexscope-Http-Status'legacy' | 'semantic'
Use semantic for HTTP error statuses on run and task-result requests. Without this header v1 retains legacy status behavior. The JSON envelope is unchanged; code 0 means success or acceptance, not asynchronous completion.
Request body
Example request
{
"imageUrl": "https://example.com/source-image.jpg",
"modelHeadImageUrl": "https://example.com/model-reference.jpg",
"imageSegUrl": "https://example.com/mask.png",
"sceneImgUrl": "https://example.com/scene.jpg",
"sceneStrength": 0.7,
"modelPrompt": "smile, slim",
"customPrompt": "clean ecommerce catalog photo",
"customNegPrompt": "blur, distorted hands",
"genOriRes": false,
"realModel": true,
"outputNum": 1
}Response
Successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.