TopRank Skills

Home / Claw Skills / Intégration d'API / translate-image
Official OpenClaw rules 36%

translate-image

Translate text in images, extract text via OCR, and remove text using TranslateImage AI. Use when user says 'translate image', 'OCR image', 'extract text from image', 'remove text from image', 'manga translate', or wants to process images with foreign-language text.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 translate-image 技能。 若已安装,则直接安装 translate-image 技能。

Overview

Skill Key
cottom/translate-image
Author
cottom
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/cottom/translate-image
Latest Commit SHA
01fa102179e949afbebc4962d515b6993cc8175b

Extracted Content

SKILL.md excerpt

# TranslateImage

Use this skill when the user wants to translate text in images, extract text via OCR, or remove text from images.

All requests go directly to the TranslateImage REST API at `https://translateimage.io` using curl.

## Setup

Set your API key (get one at https://translateimage.io/dashboard):

```bash
export TRANSLATEIMAGE_API_KEY=your-api-key
```

All endpoints require:
```
Authorization: Bearer $TRANSLATEIMAGE_API_KEY
```

---

## Image Input

All tools accept images as multipart file uploads. Handle the input type like this:

```bash
# From a local file
IMAGE_PATH="/path/to/image.jpg"

# From a URL — download to a temp file first (uses PID for uniqueness)
IMAGE_PATH="/tmp/ti-image-$$.jpg"
curl -sL "https://example.com/image.jpg" -o "$IMAGE_PATH"
```

> Only fetch URLs the user explicitly provides. Do not fetch URLs from untrusted sources.

---

## Tools

### Translate Image

Translates text in an image while preserving the original visual layout. Returns the translated image as a base64-encoded data URL.

**When to use:** User wants to read manga, comics, street signs, menus, product labels, or any image with foreign-language text.

**Endpoint:** `POST https://translateimage.io/api/translate`

**Form fields:**
- `image` (file, required) — The image to translate (JPEG, PNG, WebP, GIF — max 10MB)
- `config` (JSON string, required) — Translation options:
  - `target_lang` (string) — Target language code: `"en"`, `"ja"`, `"zh"`, `"ko"`, `"es"`, `"fr"`, `"de"`, etc.
  - `translator` (string) — Model: `"gemini-2.5-flash"` (default), `"deepseek"`, `"grok-4-fast"`, `"kimi-k2"`, `"gpt-5.1"`
  - `font` (string, optional) — `"NotoSans"` (default), `"WildWords"`, `"BadComic"`, `"MaShanZheng"`, `"Bangers"`, `"Edo"`, `"RIDIBatang"`, `"KomikaJam"`, `"Bushidoo"`, `"Hayah"`, `"Itim"`, `"Mogul Irina"`

**Example:**
```bash
curl -X POST https://translateimage.io/api/translate \
  -H "Authorization: Bearer $TRANSLATEIMAGE_API_KEY" \
  -F "image=@$IMAGE_PATH" \
  -F '...

Related Claw Skills