Add reference image
add_reference_imageBring a photo into Masonry so other tools can use its real pixels: from a link (a JPEG, PNG or WebP image, or a product page Masonry pulls the main product photo from) or a file the user attached in ChatGPT. For a Studio product shoot, call this for each of the two to ten product photos, then start_product_shoot with the returned reference_ids. Stores it in this workspace (JPEG, PNG or WebP, up to 15 MB) and also returns a reference (masonry://files/...) for single-photo shots and edits: pass it as reference_image_url to generate_image, or as image_url to remix_image, animate_image or upscale_image. Free: costs no credits.
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": "add_reference_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https link to a JPEG, PNG or WebP photo, or to a product page Masonry pulls the main product photo from. Provide this or file. | |
| file | No | A photo the user attached in ChatGPT. Provide this or url. |