Try a look from a photo
try_look_from_photoPrepare a try-on: BeautySpark recreates a makeup look on the user's selfie. Give one reference: articleLookId (from find_article_looks) or savedLookId (from search_my_looks). Photos (a reference photo or a different selfie) can only be uploaded in the try-on widget, never taken from chat attachments. The saved selfie is used unless the user uploads another in the widget. Returns the credit cost and balance without charging; nothing is generated until confirm_look_generation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "try_look_from_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savedLookId | No | A saved look id from search_my_looks, to try one of the user's own looks on. | |
| selfiePhoto | No | Set by the try-on widget in ChatGPT. Leave unset. | |
| articleLookId | No | A look id from find_article_looks, to try that article look on. | |
| referencePhoto | No | Set by the try-on widget in ChatGPT. Leave unset. | |
| selfieUploadId | No | Set by the try-on widget after an upload. Leave unset. | |
| referenceUploadId | No | Set by the try-on widget after an upload. Leave unset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||