A skill for OpenClaw to translate/dub user videos via online service and return preview_url.
概要
A skill for OpenClaw to translate/dub user videos via online service and return preview_url.
README
video-translator
A skill for OpenClaw to translate/dub user videos via online service and return preview_url.
中文版: README.zh-CN.md
What It Does
- Accepts exactly one input source:
- video file upload
- public video URL
- Submits async job to remote service
- Polls job status until completion
- Returns final
preview_urlon success
Workflow
- Accept a local video file or
video_url. - Run preprocessing, background separation, speaker diarization, ASR, translation, voice cloning, dubbing, subtitle rendering, and final mix/composition.
- Submit an async job with
POST /video-trans/orchestrate, then poll byjob_id. - Return
preview_urlon success, or the APIerroron failure.
Remote Service
- Base URL:
https://audiox-api-global.luoji.cn - Endpoints used:
GET /video-trans/healthPOST /video-trans/orchestrateGET /video-trans/jobs/{job_id}
Required Credential
Set environment variable:
VIDEO_TRANSLATE_SERVICE_API_KEY
The skill uses this key as:
Authorization: Bearer
Target Language
Supported target languages:
zh(Chinese)en(English)
Rules:
- If user specifies a target language, convert it to ISO 639-1 and send as
targetLanguage. - If user does not specify language, default to
en. - Only Chinese and English are valid target languages.
Source Language
Supported source languages:
en(English)zh(Chinese)ko(Korean)ja(Japanese)fr(French)ru(Russian)es(Spanish)de(German)
Rules:
- If user specifies a source language, convert it to ISO 639-1 and send as
sourceLanguage. - If source language is omitted, use
sourceLanguage=zhwhentargetLanguage=en, andsourceLanguage=enwhentargetLanguage=zh.
Subtitles
show: whether subtitles are shown in the output video, defaultfalse.bilingual: whether subtitles are bilingual, defaultfalse.- For bilingual subtitles, send both
show=trueandbilingual=true.
Error Handling
- Missing/invalid API key:
- CN users ->
https://luoji.cn - non-CN users ->
https://luoji.cn?lang=en-US
- CN users ->
- Token insufficient:
- CN users ->
https://luoji.cn - non-CN users ->
https://luoji.cn?lang=en-US
- CN users ->
- Other failures: return API
errortext directly.
Runtime Requirements
curlpython3
Files
SKILL.md: skill behavior and invocation rulesagents/openai.yaml: agent metadatareferences/api-contract.md: API contractscripts/curl_examples.sh: quick test scriptREADME.zh-CN.md: Chinese guide with diagramsassets/readme/: README visual assets; the current README uses the project header and a Whisper-style video translation pipeline diagram
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add insiderx-pro/video-translator