Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

video-translation视频翻译

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

41,616

周安装

1,728

GitHub Stars

487

下载量

13,328
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-translation(视频翻译)
来源仓库:https://github.com/noizai/skills
仓库路径:skills/video-translation
安装命令:
npx skills add https://github.com/noizai/skills --skill video-translation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/noizai/skills --skill video-translation

简介

通过人工智能生成的配音,将视频语音翻译成另一种语言,保留原始的时间和情感。

  • 下载视频和字幕,翻译字幕文本,然后使用 TTS 生成配音音频,并使用与原始说话者的语气相匹配的语音克隆
  • 自动将配音音频持续时间与原始字幕时间戳对齐,并保留语音片段之外的背景音频
  • 需要 youtube 下载器
  • 和 tts
  • 技能作为依赖项,加上 ffmpeg
  • 以及 TTS 后端的 Noiz API 密钥
  • 适用于任何提供字幕的视频平台;支持源语言自动检测,但长视频可能需要大量处理时间

SKILL.md

Video Translation

Translate a video's speech into another language, using TTS to generate the dubbed audio and replacing the original audio track.

Triggers

  • translate this video
  • dub this video to English
  • 把视频从 X 语译成 Y 语
  • 视频翻译

Use Cases

  • The user wants to watch a foreign language YouTube video but prefers to hear it in their native language.
  • The user provides a video link and explicitly requests changing the audio language.

Workflow

When the user asks to translate a video:

  1. Download Video & Subtitles: Use the youtube-downloader skill to download the video and its subtitles as SRT. Make sure you specify the source language to fetch the correct subtitle. python path/to/youtube-downloader/scripts/download_video.py "VIDEO_URL" --subtitles --sub-lang <source_lang_code> -o /tmp/video-translation
  2. Translate Subtitles: Read the downloaded .srt file. Translate its contents sentence by sentence into the target language using the following fixed prompt. Keep the exact same SRT index and timestamp format! Translation Prompt: Translate the following subtitle text from to. Provide ONLY the translated text. Do not explain, do not add notes, do not add index numbers. The translation must be colloquial, natural-sounding, and suitable for video dubbing. Save the translated text into a new file translated.srt.
  3. Generate Dubbed Audio: Use the tts skill to render the timeline-accurate audio from the translated SRT. The Noiz backend automatically aligns the duration of each sentence to the original video's subtitle timestamps. To ensure the cloned voice matches the original speaker's exact tone and emotion for each sentence, pass the original video file to --ref-audio-track. The TTS engine will automatically slice the original audio at each subtitle's exact timestamp and use it as the reference for that specific segment. Create a basic voice_map.json: {"default": {"target_lang": "<target_lang_code>"}} Render the timeline-accurate audio: bash skills/tts/scripts/tts.sh render --srt translated.srt --voice-map voice_map.json --backend noiz --auto-emotion --ref-audio-track original_video.mp4 -o dubbed.wav
  4. Replace Audio in Video: Use the replace_audio.sh script to merge the original video with the new dubbed audio. To keep the original video's non-speech audio background outside of translated segments, pass the --srt file. bash skills/video-translation/scripts/replace_audio.sh --video original_video.mp4 --audio dubbed.wav --output final_video.mp4 --srt translated.srt
  5. Present the Result: Return the final_video.mp4 file path to the user.

Inputs

  • Required inputs:

- VIDEO_URL: The URL of the video to translate. - target_language: The language to translate the audio to.

  • Optional inputs:

- source_language: The language of the original video (if not auto-detected or specified). - reference_audio: Specific audio file/URL to use for voice cloning instead of the dynamic original video track.

Outputs

  • Success: Path to the final video file with replaced audio.
  • Failure: Clear error message specifying whether download, TTS, or audio replacement failed.

Requirements

  • Dependencies (other skills)

- youtube-downloader (crazynomad/skills) — SKILL.md Install: clone or copy the skills/youtube-downloader directory from crazynomad/skills into your skills/ folder so that skills/youtube-downloader/scripts/download_video.py is available. - tts (NoizAI/skills) — SKILL.md If not already in this repo: clone or copy the skills/tts directory from NoizAI/skills into your skills/ folder. Ensure skills/tts/scripts/tts.sh and related scripts are present.

  • NOIZ_API_KEY configured for the Noiz backend. If it is not set, first guide the user to get an API key from https://developers.noiz.ai/api-keys. After the user provides the key, ask whether they want to persist it; if they agree, either write/update NOIZ_API_KEY=... in the project's .env file or run bash skills/tts/scripts/tts.sh config --set-api-key YOUR_KEY to store it.
  • ffmpeg installed.

Limitations

  • The source video must have subtitles (or auto-generated subtitles) available on the platform for the source language.
  • Very long videos may take a significant amount of time to translate and dub.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.39%
按下载量换算4,717

Claude

29.77%
按下载量换算3,968

Cursor

16.98%
按下载量换算2,263

Gemini CLI

9.27%
按下载量换算1,236

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills