Edit, Translate, or Remove Image Text
edit_image_textReplace specific words in an image while preserving original font and background, translate all visible text in an image into a target language, or cleanly remove unwanted text/watermarks. Consumes credits from the connected ReWords AI account (10 credits for 1K, 20 for 2K, 30 for 4K) and renders an interactive Before/After preview card.
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": {
"mode": "<mode>"
},
"name": "edit_image_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Use "replace" to change specific words, "translate" to translate text into another language, or "remove" to erase text. | |
| image | No | Uploaded or conversation image file to process. | |
| image_url | No | Optional public HTTPS image URL (PNG, JPG, or WebP) when providing an image link instead of an uploaded file. | |
| resolution | No | Output resolution tier. Defaults to "1k" (10 credits). "2k" (20 credits) and "4k" (30 credits) require paid credits on the connected account. | |
| replacements | No | For "replace" mode (or targeted "remove" mode): list of exact or partial source strings to find in the image and the replacement text (use empty string "" when removing specific text). | |
| erase_all_text | No | Set true when mode is "remove" and the user wants all text removed from the entire image. | |
| target_language | No | Target language when mode is "translate" (for example: "English", "Spanish", "Japanese", "Chinese", "French", "German", "Korean"). |