resize_ad
Resize a static ad for other placements
Description
Re-lay out ONE finished static ad for other placements: the same ad, product, copy (word for word), logo and style, recomposed natively for each canvas rather than cropped. Pass `image` and optionally `aspectRatios` from 1:1, 4:5, 9:16, 16:9, 3:4, 4:3 (default 1:1, 4:5 and 9:16; the ad's own ratio is skipped). Reads the ad's text first (3 credits) so every line survives, then one image edit per canvas. When the saved brand has a product photo and the ad shows that product, the photo rides with the edit and the product's label is read and checked against it: re-printed from the photo only when it came out wrong (the check alone is charged when it is right; one small extra charge finds the product first). fixLabel:false turns that off. Priced before it runs. Several sizes AND versions (headlines, languages, offers) at once: repurpose_image. For VIDEO use reframe_video.
Parameters
| Parameter | Type | Description |
|---|---|---|
imagerequired | string | the finished static ad: URL, Library item URL, upload_file URL or local path |
aspectRatios | "1:1" | "4:5" | "9:16" | "16:9" | "3:4" | "4:3"[] | target canvases (default 1:1, 4:5, 9:16) |
fixLabel | boolean | false = leave the product label exactly as rendered: no product lookup, no label check, no re-print (default on when the ad shows the brand’s saved product) |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen once, resent unchanged on retries: the same key never buys twice |
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/resize_ad.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resize_ad","arguments":{"image":"<string>"}}}
CLI
hermoso call resize_ad --json '{"image":"<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
repurpose_imageRepurpose a static ad into variants × formatsreframe_videoReframe videoheadline_variantsHeadline variants of a static adlocalize_adLocalize a static ad into other languagesedit_imageEdit an image