Add a product photo from an image address
add_photo_from_urlAdds the scene's product photo from a public https address of an image the user already has online. The photo is checked, cleaned of its metadata and screened as an upload is, then used by the scene's next take. A JPEG, PNG, WebP or HEIC of at most 15 MB, at least 512 pixels on its shorter side. Only scenes whose subject is a product take a photo.
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": {
"scene": "<scene>",
"url": "<url>"
},
"name": "add_photo_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The image's public https address. | |
| scene | Yes | The scene's id, from create_scene. | |
| rights | No | True only once the user has confirmed the photo is of their own product, or one they have the right to use, and that anyone shown in it agreed to be in it. Needed before the account's first photo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | ||
| scene | Yes |