auto-dubbing
БесплатноБез исполняемых скриптовНе проверенDub a video into one or more other languages using Sonilo, translating and re-voicing the speech into a new video per language. Optionally supply your own…
от sonilo-ai★ 117 звёзд на GitHubОб этом скилле
Sonilo Dubbing
Dub a video into one or more other languages: the speech is translated and re-voiced, producing a new .mp4 per target language (not just an audio track or subtitles). If the user already has approved translations, pass them as subtitles and the dub speaks those lines instead of translating the source itself.
Setup: See the setup-api-key skill.
⚠️ Cost — read before calling: this is billed per language. The only free run is a 15-second preview: a self-serve account's first call with ONE language and no
subtitlestranslates just the first 15 seconds of the video, at no charge, and the result carriestrial_previewwith what the whole video would cost. Every call after that — and any call with several languages or scripts — is charged. Requesting four languages costs four times as much as one. Confirm the exact language list with the user before calling; do not guess a long list "to be helpful."
⏱ This call is slow. It polls for at least two hours internally regardless of any shorter
TIME_OUT_SECONDS— that's the backend's own ceiling for the dubbing pipeline. A call that sits for an hour or more is normal, not a hang. Do not cancel it: the job keeps running and charging either way, and cancelling just loses the easy path to the result (useget_sfx_task, orget_generation_taskon the hosted server, to recover it instead).
Transport: MCP or CLI
Pick one at the start of the session and stay on it. Do not mix the two inside a single job, and do not announce the choice.
- Sonilo MCP tools visible in this session (
dubbingand friends) — use them. This is the preferred path: it needs no shell, and it is the only one that survives a very long generation. If a call fails to authenticate — rather than failing on its inputs — this transport is not usable in this session: go to 2 instead of retrying it. - No usable Sonilo MCP tools, but
sonilo accountexits 0 — use the CLI commands below. Same API, same account, same credential file. Probe withsonilo account, notsonilo whoami: whoami exits 0 even when signed out, so it cannot tell the two states apart. - Neither — stop and run the setup-api-key skill. Do not call
api.sonilo.comwith curl to work around it; both transports handle uploads, polling and retries that a bare request does not.
⏱ On the CLI path this call cannot be one command. The backend polls for up to two hours, while a host's shell tool is capped far below that (ten minutes in Claude Code), so
sonilo dubbingrun in the foreground will be killed with the job still running and already charged. Submit it and poll separately instead:# --timeout is the CLI's own wait, not the job's: this returns before a host # shell can kill the process. The id comes from the "Submitted task ..." line. sonilo dubbing --video-url https://example.com/clip.mp4 --languages es,fr --timeout 300 sonilo tasks wait <task-id> # repeat until it finishesThe MCP path has no such limit and is the better transport for dubbing.
Quick Start
MCP tool call (recommended)
dubbing(
video_path="~/Desktop/product-demo.mp4",
languages=["es", "fr"]
)
With the user's own scripts, and a re-timed .srt back per language:
dubbing(
video_path="~/Desktop/product-demo.mp4",
languages=["es", "fr"],
subtitles={"es": "~/Desktop/demo.es.srt", "fr": "~/Desktop/demo.fr.srt"},
export_srt=True
)
On the hosted server every subtitle value must be an
https://URL — that server has no filesystem to read a path from, andvideo_urlis likewise its only source. A local video or.srt/.vttfile gets such a URL from the hosted server'screate_upload_urltool (steps in preflight, Step 4). The localsonilo-mcpserver takes either a local.srt/.vttpath or an https URL.
Python (pip install sonilo)
from sonilo import Sonilo
with Sonilo() as client: # reads SONILO_API_KEY
result = client.dubbing.generate(
video="product-demo.mp4",
languages=["es", "fr"],
# Optional: the lines to speak in each target language. A value is
# either a local .srt/.vtt path or an https URL.
subtitles={"es": "demo.es.srt", "fr": "demo.fr.srt"},
export_srt=True,
timeout=7200, # seconds — matches the backend's own ~2h ceiling
)
for language, path in result.save_all("./dubbed").items():
print(language, path)
# Only present with export_srt. Iterate this map, not the videos: a
# language whose export was blocked still has its .mp4.
for language, path in result.save_all_subtitles("./dubbed").items():
print(language, path)
JavaScript / TypeScript (npm install sonilo)
import { SoniloClient } from "sonilo";
import type { DubbingResult } from "sonilo";
const client = new SoniloClient(); //
Установить auto-dubbing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWritemcp__sonilo__*FAQ
Что делает скилл auto-dubbing?
Dub a video into one or more other languages using Sonilo, translating and re-voicing the speech into a new video per language. Optionally supply your own target-language script per language, so the dub speaks those lines verbatim instead of the pipeline's own translation, and get a re-timed SRT back per language. Use when a user needs a video localized into another language, not just subtitled. Billed per language; a self-serve account's first single-language call is a free 15-second preview — confirm language count with the user before calling.
Как установить скилл auto-dubbing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл auto-dubbing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub