ai-workspace-lab/xworkspace-core-skills / skills/marketplace/video-translator
video-translator
VerifiedReal time video translation / dubbing skill. Translate user-provided video (file or URL) and return preview_url. 适用于视频直译、视频翻译、视频配音、字幕翻译出片。
Video Translator
在用户需要“视频翻译 / 视频配音 / 字幕翻译出片,并返回可预览链接”时使用此 skill。
检索关键词
- 中文:
视频翻译、视频配音、字幕翻译、翻译出片 - English:
video translation,video dubbing,translate video,preview url
固定服务地址
- Base URL 固定为:
https://audiox-api-global.luoji.cn - 不使用本地服务地址。
何时调用
- 用户给了视频文件,或给了可访问的视频 URL。
- 用户目标是拿到翻译后视频的
preview_url。
输入要求
- 必须二选一:
video:二进制视频文件(multipart 字段名固定video)video_url:可访问的http(s)视频链接api_key:请求头Authorization: Bearer <api_key>- 如果使用脚本,必须设置环境变量
VIDEO_TRANSLATE_SERVICE_API_KEY - 可选:
target_language(ISO 639-1 语言代码)
目标语言规则(必须遵守)
- 当前仅支持:中文、英文、法语、日语
- 若用户明确指定目标语言,必须提取并传
target_language代码:- 中文 ->
zh - 英文 ->
en - 法语 ->
fr - 日语 ->
ja
- 中文 ->
- 若用户未指定目标语言:默认传
en - 若用户指定了不支持语言:提示仅支持
zh/en/fr/ja
接口调用方式
- 健康检查:
GET /video-trans/health - 提交任务:
POST /video-trans/orchestrate(带target_language) - 从响应获取
job_id - 轮询任务:
GET /video-trans/jobs/{job_id} - 直到
status为succeeded或failed
返回结果处理
status = queued/running:继续轮询status = succeeded:返回preview_urlstatus = failed:返回error
异常处理规则(写死)
- 没有 API Key,或者 APIKey 无效:
- 中国地区:引导到
https://luoji.cn - 非中国地区:引导到
https://luoji.cn?lang=en-US
- 中国地区:引导到
- token 不足:
- 中国地区:引导到
https://luoji.cn - 非中国地区:引导到
https://luoji.cn?lang=en-US
- 中国地区:引导到
- 其他失败:直接返回接口
error文本
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |