# Hermoso: repurpose_image: Repurpose a static · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/create/repurpose_image/. 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/) / repurpose_image

# `repurpose_image`

Repurpose a static ad into variants × formats

Area: post-production & analysis · [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

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

Parameter Type Description

`image` required `string` the ad: an https / upload_file URL, a Library id (L0…), or a local path on the CLI

`formats` `string[]` default ['1:1','4:5','9:16','16:9']

`variants` `string | object[]` the versions besides the original; a bare string is an edit in words

`name` `string` the asset name the files are named after

`fixLabel` `boolean` false = no product-label check (default on when the ad shows the brand's saved product)

`dryRun` `boolean` price only: nothing made, nothing charged

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

## Related tools

- [resize_ad](https://hermoso.ai/docs/reference/create/resize_ad/) Resize a static ad for other placements
- [repurpose_video](https://hermoso.ai/docs/reference/create/repurpose_video/) Repurpose a video for every placement
- [layerize_image](https://hermoso.ai/docs/reference/create/layerize_image/) Split an image into editable layers
- [reframe_video](https://hermoso.ai/docs/reference/create/reframe_video/) Reframe video
- [split_image](https://hermoso.ai/docs/reference/create/split_image/) Cut a picture into tiles
- [check_video](https://hermoso.ai/docs/reference/create/check_video/) Check a video
- [product_move](https://hermoso.ai/docs/reference/create/product_move/) Six-second product move
- [score_ad](https://hermoso.ai/docs/reference/create/score_ad/) Score ad
- [add_presenter](https://hermoso.ai/docs/reference/create/add_presenter/) Add a presenter to any video
- [make_insert](https://hermoso.ai/docs/reference/create/make_insert/) Make an insert clip

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