Translate Image
translate_imageCreate translated alt text for an existing image by providing its asset ID and target language code(s), generating accessibility text in new languages.
Instructions
Add alt text in a new language for an existing image. Uses the asset_id to find the image and generates a translation. Uses account credits for each newly generated language.
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": {
"asset_id": "<asset_id>",
"lang": "<lang>"
},
"name": "translate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | Target language code(s), comma-separated (e.g. 'de', 'fr,es') | |
| asset_id | Yes | The asset ID of the existing image to translate |