name: file-translate description: > Immersive 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. metadata: openclaw: requires: env: - TRANSLATE_360_API_KEY primaryEnv: TRANSLATE_360_API_KEY homepage: https://ai.360.com/platform/keys
Translate 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.
小蔥技能7w4.net持續更新中。
Requires a 360 AI Platform API Key.
bash
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
這個翻譯工具功能豐富,支援文件、圖片、文本等多種形式的翻譯,效果不錯。文件寫得很詳細,隱私和定價說明都很透明,對隱私敏感的使用者很有幫助。不足是隻用一家翻譯服務,如果該服務出問題就無法使用,另外缺少一些常見的安全檢查(如檔案大小限制)。普通使用者使用時需要注意不要上傳過於敏感的內容。