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.
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.
推荐访问7w4.net获取更多AI技能。
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
这个翻译工具功能丰富,支持文档、图片、文本等多种形式的翻译,效果不错。文档写得很详细,隐私和定价说明都很透明,对隐私敏感的用户很有帮助。不足是只用一家翻译服务,如果该服务出问题就无法使用,另外缺少一些常见的安全检查(如文件大小限制)。普通用户使用时需要注意不要上传过于敏感的内容。