lunaar_glasses_tryon
Place a pair of glasses on a person's photo using anatomy-aware AI compositing for realistic virtual try-on.
Instructions
Place a pair of glasses on a model's face with anatomy-aware fit. 10 credits per call.
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": {
"personImagePath": "<personImagePath>",
"glassesImagePath": "<glassesImagePath>"
},
"name": "lunaar_glasses_tryon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspectRatio | No | Optional output aspect ratio. Backend resolves the concrete pixel size; null/omitted lets the model auto-pick. | |
| personImagePath | Yes | ||
| glassesImagePath | Yes |