Localize a static ad into other languages
localize_adTranslate the on-image text of a finished static ad into up to 5 languages while keeping the same picture, layout, typeface, colors and product, with each output proofread and flagged if the text does not match.
Instructions
Translate the on-image text of ONE finished static ad into other languages and keep everything else: same picture, layout, typeface, colours, logo and product. Pass image and languages (up to 5, e.g. ["Spanish", "German", "French (Canada)"]). The ad's text is read (3 credits), translated the way a native copywriter in each market would write it (brand and product names, URLs and prices kept as written), then one image edit per language; each output is proofread and flagged (textCheck) if the words do not match, never silently re-rendered. 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. For a VIDEO use dub_video.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>",
"languages": "<languages>"
},
"name": "localize_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | the finished static ad: URL, Library item URL, upload_file URL or local path | |
| fixLabel | No | 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 | No | true: return the price only; nothing runs or bills | |
| languages | Yes | target languages, by name | |
| idempotency_key | No | chosen once, resent unchanged on retries: the same key never buys twice | |
| expected_credits | No | the get_cost price; refused unbilled if the live price differs |