# Hermoso: resize_ad: Resize a static ad · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/create/resize_ad/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Creative generation](https://hermoso.ai/docs/reference/create/) / resize_ad

# `resize_ad`

Resize a static ad for other placements

Area: Static-ad edits + variants · [Creative generation](https://hermoso.ai/docs/reference/create/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`image` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [repurpose_image](https://hermoso.ai/docs/reference/create/repurpose_image/) Repurpose a static ad into variants × formats
- [reframe_video](https://hermoso.ai/docs/reference/create/reframe_video/) Reframe video
- [headline_variants](https://hermoso.ai/docs/reference/create/headline_variants/) Headline variants of a static ad
- [localize_ad](https://hermoso.ai/docs/reference/create/localize_ad/) Localize a static ad into other languages
- [edit_image](https://hermoso.ai/docs/reference/create/edit_image/) Edit an image

[All 102 Creative generation tools](https://hermoso.ai/docs/reference/create/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
