Xiangji Translation Service for Openclaw

Xiangji Translation Service provides professional-grade text and image translation capabilities by integrating multiple global AI engines.

leoking
v1.0.0
Mar 4, 2026
2
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install image-translator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install image-translator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Xiangji Translation Service?

Xiangji Translation Service is a comprehensive translation solution designed to handle both standard text and complex image-based content. By utilizing this skill within the Openclaw Skills framework, developers can access high-quality translation from world-class engines including Aliyun, Google, DeepL, and ChatGPT.

The service is particularly effective for scenarios requiring Optical Character Recognition (OCR) combined with translation, allowing users to process local image files or remote URLs seamlessly. Whether you are localizing software or translating marketing materials, this skill provides the flexibility to choose specific vendors based on their linguistic strengths, such as Papago for Korean or DeepL for European languages.

Xiangji Translation Service Use Cases

  • Translating bulk text strings for software localization and internationalization.
  • Converting text found in images, such as infographics or manga, into different target languages.
  • Automating the translation of product images for global ecommerce platforms using batch URL processing.
  • Utilizing specific LLM-based translation engines like ChatGPT or GoogleLLM for more natural, context-aware results.

How Xiangji Translation Service Works

  1. The user initializes the skill by providing the necessary API keys and identifying the source content (text or image).
  2. For image translations, the system automatically calculates a secure MD5 signature using the UserKey and ImgTransKey.
  3. The request is sent to the Xiangji API endpoints with specified source and target language codes.
  4. The chosen translation engine (e.g., Aliyun, Baidu, or ChatGPT) processes the request and returns the translated output.
  5. Users can receive results synchronously for immediate use or asynchronously for large-scale batch tasks.

Xiangji Translation Service Setup

To integrate this into your Openclaw Skills environment, you must first obtain your TextTransKey, ImgTransKey, and UserKey from the Xiangji console. Use the following commands to execute translations:

# Text translation example
python scripts/text_translate.py --api-key YOUR_TEXT_TRANS_KEY --texts "Hello World" --source-language ENG --target-language CHS

# Image translation example
python scripts/image_translate.py --img-key YOUR_IMG_KEY --user-key YOUR_USER_KEY --file /path/to/image.png --source-language JPN --target-language ENG

Xiangji Translation Service Data Schema & Taxonomy

The skill manages data through specific keys and standardized language codes to ensure consistency across the Openclaw Skills platform.

Data Component Description
API Credentials Includes TextTransKey, ImgTransKey, and UserKey for authentication.
Language Codes Standardized identifiers like CHS (Simplified Chinese), ENG (English), and JPN (Japanese).
Engine Vendors Supported vendors such as Google, DeepL, Baidu, and ChatGPT.
QoS Parameters Quality of Service settings including LowLatency and BestQuality modes for images.

Xiangji Translation Service Advanced Features

  • Multi-engine support allows for toggling between traditional translation providers and modern LLMs like ChatGPT.
  • Quality of Service (QoS) controls enable users to prioritize either processing speed or translation accuracy.
  • Batch processing capabilities for image URLs allow for high-throughput automation workflows.
  • Automated signature generation ensures secure communication with the backend API without manual calculation effort.
  • Watermark and text-removal options provide additional control over the final image output.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*