InsiderX-Pro/video-translator
Über uns
Skill für die Echtzeitübersetzung und -synchronisation von Videos
Design und MedienGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- -12
- in 15 days
- -12
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originalvideo-translator
A skill for OpenClaw to translate/dub user videos via online service and return preview_url.
中文版: README.zh-CN.md
Demo Video
https://github.com/user-attachments/assets/8f8e6307-7c09-40f1-981e-fdd118f400ef
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 <api_key>
Model
model selects the AudioX product. Omit it to keep the original behaviour (podcast).
model |
Product | Source languages | Target languages |
|---|---|---|---|
podcast (default) |
播客直译 | see direction rules below | zh, en |
pro |
AI 视频直译 Pro (keeps the original timbre) | zh, ko, ja, en |
zh, ko, en, fr, es, th, vi, lo |
normal |
AI 视频直译 (similar voice) | zh, ko, ja, en |
zh, ko, en, fr, es, th, vi, lo |
- Send
model=prowhen the user asks for Pro or to keep the original voice;model=normalfor AI 视频直译. - When the user wants a target language
podcastcannot do (French, Thai, Vietnamese, Lao…), usemodel=normaland say so. pro/normalaccept the same source and target (re-dub only) and require anmp4/mov/webm/mkvvideo.
Languages
Always convert language names to ISO 639-1 codes: zh, en, ko, ja, fr, ru, es, de, th, vi, lo.
model=podcast has fixed directions:
targetLanguage=enrequiressourceLanguage=zh(Chinese video to English).targetLanguage=zhrequiressourceLanguageinen,ko,ja,fr,ru,es,de.- Default
targetLanguage=en; default source iszhforenandenforzh. - Other combinations (e.g. Korean to English) are rejected; offer
model=normalinstead.
model=pro / normal:
sourceLanguageinzh,ko,ja,en(defaultzh).targetLanguageinzh,ko,en,fr,es,th,vi,lo(defaulten).
The service validates the same rules and answers 400 with the allowed values.
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.
Billing
Jobs are billed in AudioX credits (积分) from the account that owns the API key: podcast at the
播客直译 rate, pro / normal at their model rates. error is INSUFFICIENT_BALANCE when the
balance runs out.
Error Handling
- Missing/invalid API key:
- CN users ->
https://luoji.cn/studio/api-keys - non-CN users ->
https://luoji.cn/studio/api-keys?lang=en-US
- CN users ->
- Credits insufficient (
INSUFFICIENT_BALANCE):- CN users ->
https://luoji.cn/studio/wallet - non-CN users ->
https://luoji.cn/studio/wallet?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 assets, including the project header, a Whisper-style video translation pipeline diagram, and English and Chinese demo videos
Ähnliche Projekte entdecken
Wird geladen…