Space Video Audio logo

Space Video Audio

CommunityPopular
SpaceZephyr
space-video-audio

视频配音与配乐。三件事——(1) 配音:把口播稿用 TTS 生成旁白音频;(2) 配乐:根据视频内容/节奏匹配合适的 BGM,从免版权曲库找到并下载;(3) 混音:把 BGM + 旁白 + 视频用 ffmpeg 合成,自动压音(BGM 在人声下自动变小)、响度归一、淡入淡出、对齐视频长度。当用户说「配音」「配乐」「加 BGM」「背景音乐」「找音乐」「给视频配旁白」「TTS 口播」「混音」「audio」时触发。

Overview

PublisherSpaceZephyr
Repositorycreator-buddy
Skill namespace-video-audio
Stars
1.5K
Forks
234
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SpaceZephyr on GitHub. Read the source before you install it.

Installation

Install the Space Video Audio AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpaceZephyr/creator-buddy.git /tmp/creator-buddy
mkdir -p .claude/skills
cp -r /tmp/creator-buddy/video-Skills/space-video-audio .claude/skills/space-video-audio
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Space Video Audio in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Space Video Audio on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Space Video Audio is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

space-video-audio · 配音与配乐

给视频补上声音:旁白(TTS) + 背景音乐(BGM) + 混音。三块可单用,也能一次做完。

一、配音(TTS 旁白)

把口播稿变成旁白音频。按可用后端分档,优先质量高的

后端说明
IndexTTS2 / 克隆音色有本地模型/配置时用,最像真人、可定制音色
中(默认)edge-tts免费、自然,中文音色好。uvx edge-tts 直接跑
兜底macOS say无网络/无依赖时用,机械感强

edge-tts 生成(推荐中文音色 zh-CN-XiaoxiaoNeural / zh-CN-YunxiNeural):

bash
uvx edge-tts --voice zh-CN-YunxiNeural --rate=+8% \
  --text "$(cat 02_脚本/口播.txt)" --write-media 05_音频/voice.mp3
  • 长稿按句/段分段生成再拼接,避免一句错整条重来
  • 生成后走 space-video-subtitle旁白音频重转写做字幕对齐(TTS 段时长只是规划元数据,不能当字幕时间轴)
  • 语速:口播偏快更精神,中文 +8%~+15% 常用

二、配乐(找 BGM 并下载)

选曲:先定情绪,再找曲

根据视频内容和节奏定 BGM 的情绪与 BPM:

视频类型BGM 方向
干货/教程轻快 lo-fi / 简约电子,低存在感,不抢话
产品/科技干净的合成器 pad / 节奏感电子
生活/小红书明亮 ukulele / 轻流行 / 暖钢琴
观点/严肃极简钢琴 / 环境氛围
快节奏盘点有鼓点的 upbeat,卡点用

免版权来源(务必看授权)

references/music-sources.md。核心几个:

  • Pixabay Music:免费、多数免署名(需网页/API)
  • YouTube Audio Library:免费,部分需署名(需登录)
  • Free Music Archive / ccMixter:CC 授权,多数需署名
  • Incompetech(Kevin MacLeod):CC-BY,需署名

下载

  • 有直链的 → curl -L -o 05_音频/bgm.mp3 "<直链>"
  • YouTube/B站 的免版权曲目 → yt-dlp -x --audio-format mp3 -o 05_音频/bgm.mp3 "<URL>"

红线:只用有权使用的曲目;需署名的记下来放视频简介;不搬运受版权保护的流行音乐;不确定授权就不用。选曲/授权是用户的决定,拿不准先问。

三、混音(合成到视频)

scripts/mix.sh,一条命令把 BGM(+旁白) 压进视频:

bash
bash scripts/mix.sh --video in.mp4 --bgm bgm.mp3 [--voice voice.mp3] \
  --out out.mp4 [--bgm-db -20] [--fade 1.0] [--duck]

管线做的事(见 references/mixing-recipes.md 全套 ffmpeg):

  1. 对齐长度:BGM 太短自动循环,太长裁切到视频时长
  2. 响度归一loudnorm 把整体拉到 -14 LUFS 左右(平台友好)
  3. 压音 ducking:有旁白时用 sidechaincompress,人声一响 BGM 自动下沉,人声停 BGM 回来
  4. 淡入淡出:首尾 afade,别硬切
  5. BGM 音量:无旁白约 -12~-16dB,有旁白垫底约 -20~-26dB
  6. 封装-c:v copy 不重编码画面,只替换/混合音轨

交接

  • 上游:space-video-script 的口播稿(→旁白)、space-video-edit 的成片、space-video-broll 的 B-roll
  • 下游:带声音的成片 → 发布,或回 space-video-edit 做最终封装

依赖

ffmpeg(需带 loudnorm/sidechaincompress,本机已支持)、yt-dlpuvx(跑 edge-tts);克隆音色档需 IndexTTS2 环境。

核心原则

  • BGM 垫底不抢话:有旁白必开 ducking,BGM 只做氛围
  • 响度归一:别让视频忽大忽小,统一到 -14 LUFS
  • 授权优先:只用免版权/有权曲目,需署名的记下来
  • 不重编码画面:混音只动音轨,-c:v copy 保画质

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Space Video Audio AI skill do?

视频配音与配乐。三件事——(1) 配音:把口播稿用 TTS 生成旁白音频;(2) 配乐:根据视频内容/节奏匹配合适的 BGM,从免版权曲库找到并下载;(3) 混音:把 BGM + 旁白 + 视频用 ffmpeg 合成,自动压音(BGM 在人声下自动变小)、响度归一、淡入淡出、对齐视频长度。当用户说「配音」「配乐」「加 BGM」「背景音乐」「找音乐」「给视频配旁白」「TTS 口播」「混音」「audio」时触发。

Why use Space Video Audio on TypingMind?

Because you install it once and use it with any model. Space Video Audio is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Space Video Audio in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SpaceZephyr/creator-buddy/tree/main/video-Skills/space-video-audio. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Space Video Audio?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Space Video Audio?

As many as you like. As long as a model supports skills, you can use Space Video Audio with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Space Video Audio AI skill free?

It is published on GitHub by SpaceZephyr. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇