hermosodocs

repurpose_image

Repurpose a static ad into variants × formats

Area: post-production & analysis · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

Description

ONE finished static ad in, VARIANTS × FORMATS out, in one job, as a named file list (<name>_<variant>_<format>_<WxH>.png) with a manifest. The ad's text is read ONCE as the source of truth; each variant's change is made ONCE on the master; every format is derived from that master; every output is text-checked line by line and any line it lost is named (never re-rendered). Variants: {headline}, {language}, {swap:[{from,to}]} (exact words: a price, an offer, a CTA) or {edit} (any change in words), each with an optional {name}; the original is always included. Formats: default 1:1, 4:5, 9:16, 16:9, or 'everywhere', any canvas or a platform word (snapped to the nearest canvas an image model makes). At most 24 renders. dryRun:true = the exact price, which is what it charges. One resize alone is resize_ad.

Parameters

ParameterTypeDescription
imagerequiredstringthe ad: an https / upload_file URL, a Library id (L0…), or a local path on the CLI
formatsstring[]default ['1:1','4:5','9:16','16:9']
variantsstring | object[]the versions besides the original; a bare string is an edit in words
namestringthe asset name the files are named after
fixLabelbooleanfalse = no product-label check (default on when the ad shows the brand's saved product)
dryRunbooleanprice only: nothing made, nothing charged
get_costbooleantrue: return the price only; nothing runs or bills
expected_creditsnumberthe get_cost price; refused unbilled if the live price differs
idempotency_keystringchosen 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/repurpose_image.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"repurpose_image","arguments":{"image":"<string>"}}}

CLI

hermoso call repurpose_image --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.

All 102 Creative generation tools · tools.json