视频翻译配音 Video Translate & Dub
БесплатноБез исполняемых скриптовНе проверенvideo translation, video dubbing, subtitle translation, translate video to Chinese, add subtitles to video, AI dubbing, srt translation, 视频翻译, 视频配音, 字幕翻译…
от dlazyai2 565 установок в других каталогахОб этом скилле
视频翻译与配音 Video Translate & Dub
Transcribe a video with word-level timings, translate the subtitles, burn them in, and optionally lay down a dub track that fits the original timing. This skill composes several dlazy tools with local ffmpeg — it is not a single tool call and not a sandbox template.
Trigger Keywords
- 视频翻译
- 视频配音
- 字幕翻译
- video translation
- video dubbing
- subtitle translation
- translate this video
- add subtitles
Authentication
All requests require a dLazy API key. The recommended way to authenticate is:
dlazy login
This runs a device-code flow (also works in remote shells) and automatically saves your API key to the local CLI config — no manual copy/paste required.
Alternative: Set the Key Manually
If you already have an API key, you can save it directly:
dlazy auth set YOUR_API_KEY
The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.
Getting Your API Key Manually
- Sign in or create an account at dlazy.com
- Go to dlazy.com/dashboard/organization/api-key
- Copy the key shown in the API Key section
Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.
About & Provenance
- CLI source code: github.com/dlazy-ai/cli
- Maintainer: dlazyai
- npm package:
@dlazy/cli(pinned to1.2.3in this skill's install spec) - Homepage: dlazy.com
You can install on demand without persisting a global binary by running:
npx @dlazy/[email protected] <command>
Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/[email protected]). Review the GitHub source before installing.
Local dependency: this skill runs ffmpeg and ffprobe on your machine to cut and reassemble media. Nothing else touches the filesystem beyond the working directory you choose.
How It Works
Speech-to-text, translation and text-to-speech are three separate dlazy tools; the cutting and muxing happen locally. The pipeline is:
video ──ffmpeg──▶ audio ──fun-asr──▶ words+timings ──▶ cues
│
claude-sonnet-5 ▼
translations
│
┌───────────────────────────────┴───────────┐
▼ ▼
srt + burn-in qwen-tts ──▶ fitted dub track
(always) (only if asked)
Audio and any local files you pass are uploaded to dLazy's media storage (files.dlazy.com) and processed via the dLazy API (api.dlazy.com). See dlazy.com for the full service terms.
Usage
Run every step from the working directory that holds the video. All commands below are verified against CLI 1.2.3.
1. Extract the audio
ffmpeg -y -i input.mp4 -vn -ac 1 -ar 16000 track.wav
2. Transcribe with word-level timings
dlazy fun-asr --audio_url track.wav --language_code en --format json > asr.json
A local path is uploaded automatically. --language_code is the source language (zh or en).
Read the result from these exact paths:
| Value | Path |
|---|---|
| Full transcript | .result.data.texts[0] |
| Word list | .result.data.data.words[] — note the doubled data |
Each word is {"start": 0.16, "end": 0.32, "text": "Our", "type": "word", "speaker_id": null}, in seconds.
Every
textafter the first already carries its own leading space — the tokens read"Our"," warehouse"," packs". Concatenate them and trim; joining with a space doubles every gap and splits" 98","%"into9 8 %.
3. Group the words into cues
Walk the word list and start a new cue when any of these is true:
- the previous word ended a sentence (
.,?,!,。,?,!) - the gap to the next word exceeds
0.6s - the cue already spans
7sor holds ~15 words
A cue's start is its first word's start; its end is its last word's end.
4. Translate every cue in one call
Batch the cues into a single request — the LLM is billed per call, so one call for the whole video is far cheaper than one per line.
The prompt spans many lines, so do not pass it as --prompt on the command line. Write it into a JSON file and hand that to --input:
# prompt.json -> {"prompt": "You are a subtitle tr
Установить 视频翻译配音 Video Translate & Dub в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 视频翻译配音 Video Translate & Dub?
video translation, video dubbing, subtitle translation, translate video to Chinese, add subtitles to video, AI dubbing, srt translation, 视频翻译, 视频配音, 字幕翻译 — transcribes a video with word-level timings, translates the subtitles, then burns them in and optionally lays down a fitted dub track. Composes the dlazy fun-asr, LLM and TTS tools with ffmpeg locally; delivers a finished mp4 plus srt files, not a script.
Как установить скилл 视频翻译配音 Video Translate & Dub?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 视频翻译配音 Video Translate & Dub запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic