Install
openclaw skills install @ray771/360-translateImmersive file & image translation — preserving original layout, formatting, and visuals. Drop in a PDF, Word, PPT, Excel, image, ePub and get back a fully translated version that looks like it was authored natively. Supports 100+ languages for text, 14 for images, and all major document formats. Use when user asks to translate a file, document, image, spreadsheet, slide deck, or any text. Triggers: "翻译", "translate", "翻译这个文件", "translate this image", "把这个翻译成中文/英文", "document translation", "图片翻译", "文档翻译", "file translation", "translate PDF", "translate Word". Requires env TRANSLATE_360_API_KEY (360 AI Platform API key). Files and images are uploaded to api.360.cn for processing — do not use with confidential or sensitive documents unless you accept this data transfer.
openclaw skills install @ray771/360-translateTranslate documents, images, and text while keeping the original look and feel.
Unlike plain-text translation, File Translate understands your document's layout — tables, headers, charts, embedded images, and formatting are all preserved. Images get in-place text replacement that blends with the scene. The result reads like it was written in the target language from the start.
Requires a 360 AI Platform API Key.
export TRANSLATE_360_API_KEY="your-api-key-here"
source ~/.zshrc to reloadSecurity tip: Use a dedicated API key with minimal billing scope for this skill. Rotate or revoke it when you stop using the skill.
No pip install — pure Python 3 stdlib.
python3 scripts/translate.py doc --tl <target_lang> --file <doc_path> [--out <output_dir>] [--timeout 3600]
.doc/.docx) → deepdoc v2 engine (best quality)python3 scripts/translate.py image --tl <target_lang> --file <image_path> [--out <output_path>]
python3 scripts/translate.py image --tl <target_lang> --url <image_url> [--out <output_path>]
--out, prints translated image URL (valid 6 months)python3 scripts/translate.py text --tl <target_lang> [--sl <source_lang>] "text1" "text2" ...
zh (Chinese), en (English), ja (Japanese), ko (Korean), fr, de, es, ru| What you have | Command | What you get |
|---|---|---|
| A Word doc | doc --tl en --file report.docx | Translated PDF, layout preserved |
| A PDF manual | doc --tl zh --file manual.pdf | Translated PDF |
| A slide deck | doc --tl ja --file slides.pptx | Translated PDF |
| A photo with text | image --tl en --file sign.jpg | New image, text replaced in-scene |
| A paragraph | text --tl zh "Hello world" | Translated string |
This skill uploads user-provided content to the 360 AI Translation API for processing. Read this section carefully before use.
api.360.cn via HTTPS.api.360.cn via HTTPS.api.360.cn (v1 engine) or api.360.cn/deepdoc (v2 engine for Word files) via HTTPS multipart upload.--out.TRANSLATE_360_API_KEY, used solely to authenticate with the 360 translation endpoints.Full request/response schemas, error codes, and language list: references/api-reference.md