Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Translates text on images to a target language via the SurgePix API while keeping the background unchanged.
Use this skill ↓3 of 22 test cases passed with the skill.
3 of 3 safety checks passed
Translate text on one or more images to a target language while preserving the background, using the platform API. Use when the user asks to translate image text, localize a poster/screenshot, or convert on-image copy to another language.
--language is the target language for on-image text, not the agent's reply language.
| Priority | Rule |
|---|---|
| 1 | User explicitly names a target (e.g. "translate to English", "翻译成日文") → use that language code |
| 2 | User does not specify target → infer from intent: English request → --language en; 中文请求 → --language zh; 日本語 → --language ja |
| 3 | Ambiguous → ask the user which target language they want |
--language — do not rely on the script default (en) without checking user intent.--language target).| Action | Description |
|---|---|
| Translate image | Pass local file(s) or URL(s); script uploads and translates in one step |
| Batch translate | Pass multiple images in one call; result is a ZIP download URL |
| Check task status | When run with --nowait true, poll by taskId via surgepix-query-task |
| Download result | Single image → image URL; multiple images → ZIP URL |
By default (
--nowait false), the API waits for completion and returns the finaldownloadURL in one call. With--nowait true, the API returns ataskIdimmediately; resolve it later with the surgepix-query-task skill.
Requirement: Set the SURGEPIX_API_KEY environment variable.
Get your API Key at your platform's API management page.
export SURGEPIX_API_KEY=your-api-key-here
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.