set_product_image
Set product photo destructive
Description
Lock an image as the ad's real PRODUCT photo and SAVE it as this brand's default product, so every later plan_ad / render_ad / generate_image grounds on the true packaging without being told again. Pass `imageUrl` = a product shot's URL — an image from a prior research result (an organic Instagram/TikTok post, a scraped page image), a workspace / list_product_photos url, or any public product photo. The server downloads it and runs a product+safety check: a lifestyle/scene shot with no clear product, or an off-category / unsafe image, is REJECTED and NOTHING is locked or saved (the summary says why). On PASS it persists the photo to a DURABLE url, writes it to the brand's product library as the DEFAULT, and READS THE BRAND BACK to confirm — `savedToBrand` and the summary report what the brand ACTUALLY holds now, never what was asked for, so if it did not become the default you are told instead of finding out from a paid render. Bills one vision check. Reads YOUR saved brand for the category match (pass brandId to target a specific profile — switches this key's active profile like use_brand).
Parameters
| Parameter | Type | Description |
|---|---|---|
imageUrlrequired | string | the image URL to lock as the product (from a research result, a workspace / list_product_photos url, or any public product photo) |
source_note | string | a short note on where it came from, e.g. "from their IG post" |
brandId | string | a profile id/name from list_brands to lock the product for; omit to use the active profile |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_product_image.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_product_image","arguments":{"imageUrl":"<string>"}}}
CLI
hermoso call set_product_image --json '{"imageUrl":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
plan_adPlan an ad conceptrender_adRender ad videogenerate_imageGenerate ad imagelist_product_photosList product photosuse_brandSwitch profilefetch_app_screensFetch App Store screens