Virtual Try-On
sirv_try_on_garmentShow the garment from one image on the person in another image.
Use it for clothing listings. Do not use it for products that are not worn (use sirv_place_product_in_scene) or to change the person or the scene (use sirv_edit_image).
Inputs: both are required: person_image_url, a photo of the person or model, and garment_image_url, a photo of the garment.
Neither source image changes. Returns result_url, the try-on image.
Credits: spends workspace credits. The cost depends on the model and options.
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": {
"person_image_url": "<person_image_url>",
"garment_image_url": "<garment_image_url>"
},
"name": "sirv_try_on_garment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person_image_url | Yes | Public URL of a photo of the person or model | |
| garment_image_url | Yes | Public URL of a photo of the garment |