
AI voiceover edge tts
Generates sentence-by-sentence Chinese and English voice-overs for short videos
AI voiceover edge tts is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 164
- Last commit
- License
- MIT
- Listing updated
Similar skills
About AI voiceover edge tts
This skill turns a short-video script into audio clips using the free edge-tts library, which calls Microsoft Edge's online voices. The bundled Python script synthesizes each line, trims leading and trailing silence, exports 48 kHz WAV files and writes a durations.json file so subtitles and shot lengths can be aligned to the real narration. Results are cached so unchanged lines are not regenerated.
The workflow starts by rewriting the script into short spoken lines, roughly 8 to 20 characters each, with numbers and model codes written as they should be read aloud. The guide includes a voice table for Mandarin, Taiwanese, Cantonese and English voices, plus advice on speaking rate and pitch. A prompt template is included for asking an agent to produce a spoken version alongside a subtitle version.
It expects Python with the edge-tts package installed, ffmpeg on the path, and network access to Microsoft's TTS service. A storyboard JSON file can drive batch synthesis, and the skill notes it can hand off to a separate video assembly skill.
When your agent uses it
AI 口播配音:用免费的 edge-tts(微软 Edge 在线语音)为带货短视频逐句生成配音,自动去首尾静音、统计每句时长、缓存复用,可选音色/语速/音调,并给出口播稿改写规则。Use when the user needs a voice-over, 配音, 口播, 旁白, TTS, text-to-speech, AI 主播声音, or wants to turn a script into audio for 抖音 / TikTok / 视频号 videos.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ecommerce-video-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add xianyu110/ecommerce-video-skills
/plugin install ecommerce-video-skills@ecommerce-video-skillsOr copy only this skill to ~/.claude/skills/ai-voiceover-edge-tts:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ai-voiceover-edge-tts &&
cp -R "$tmp/skills/ai-voiceover-edge-tts" ~/.claude/skills/ai-voiceover-edge-tts &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ai-voiceover-edge-tts inside it instead.
Copy the skill folder to ~/.agents/skills/ai-voiceover-edge-tts to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ai-voiceover-edge-tts &&
cp -R "$tmp/skills/ai-voiceover-edge-tts" ~/.agents/skills/ai-voiceover-edge-tts &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ai-voiceover-edge-tts inside it instead.
Copy the skill folder to ~/.cursor/skills/ai-voiceover-edge-tts to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ai-voiceover-edge-tts &&
cp -R "$tmp/skills/ai-voiceover-edge-tts" ~/.cursor/skills/ai-voiceover-edge-tts &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ai-voiceover-edge-tts inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/xianyu110/ecommerce-video-skills.git --path skills/ai-voiceover-edge-ttsOr copy the folder to ~/.gemini/skills/ai-voiceover-edge-tts yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ai-voiceover-edge-tts:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ai-voiceover-edge-tts &&
cp -R "$tmp/skills/ai-voiceover-edge-tts" ~/.copilot/skills/ai-voiceover-edge-tts &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ai-voiceover-edge-tts inside it instead.
Get the folder:
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.gitThen copy ecommerce-video-skills/skills/ai-voiceover-edge-tts into your agent's skills folder as ai-voiceover-edge-tts. Agents that support SKILL.md read one folder per skill.
What it does
- Sentence-level speech synthesis
- Generates one audio file per script line using selectable Microsoft Edge neural voices.
- Silence trimming and timing
- Removes leading and trailing silence and records each clip's duration in a JSON file.
- Spoken script rewriting
- Provides rules for converting numbers, abbreviations and brand names into speakable text.
- Voice and rate guidance
- Recommends voices by sales style and suggests speaking rate and pitch ranges to test.
- Caching and retries
- Reuses previously generated clips and retries the TTS request when the network fails.
- Failure fixes checklist
- Lists common problems such as pronunciation errors, long pauses and flat delivery, with fixes.
Good for
- Create a voice-over for a product promotion video
- Convert a TikTok or Douyin script into timed audio clips
- Generate an English narration track for a short ad
- Rewrite marketing copy into lines that read naturally aloud
- Batch-produce narration for each shot of a storyboard
AI voiceover edge tts FAQ
What do I need installed to use AI voiceover edge tts?
The skill needs Python with the edge-tts package, ffmpeg, and network access to Microsoft's online TTS service.
What does the script output?
It writes WAV clips for each line, trimmed of silence at 48 kHz, plus a durations.json file with timing for each clip.
Which voices are available?
The guide lists Mandarin voices such as YunxiNeural and XiaoxiaoNeural, Taiwanese and Hong Kong voices, and English voices such as AndrewNeural, AvaNeural and EmmaNeural.
Can AI voiceover edge tts run offline?
Synthesis requires access to Microsoft's service, but the guide mentions a no-TTS option in the assembly script to preview visuals without audio.
How do I install AI voiceover edge tts in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ai-voiceover-edge-tts to use it in all your projects, or to .claude/skills/ai-voiceover-edge-tts in one project. Or install the ecommerce-video-skills plugin, which includes it: /plugin marketplace add xianyu110/ecommerce-video-skills, then /plugin install ecommerce-video-skills@ecommerce-video-skills.
Does AI voiceover edge tts run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use AI voiceover edge tts?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to AI voiceover edge tts?
The closest alternatives to AI voiceover edge tts are Multilingual dubbing, Speech, Ffmpeg auto assemble, Motion video and Speak summary.
Where this comes from
- Description: from the skill's own SKILL.md.
More from xianyu110/ecommerce-video-skills

Generates cover image variants and title sets for short-form product videos, plus A/B test
- Open source
- 164 GitHub stars
- Marketing and SEO

Renders a storyboard of product images and clips into a voiced, subtitled 9:16 video
- Open source
- 164 GitHub stars
- Design and media

Writes scored 3-second opening hooks with dialogue, on-screen visuals and captions
- Open source
- 164 GitHub stars
- Marketing and SEO

Turns product photos into short image-to-video prompts with a local Ken Burns fallback
- Open source
- 164 GitHub stars
- Design and media

Cuts e-commerce livestream recordings into captioned vertical short clips
- Open source
- 164 GitHub stars
- Design and media

Adapts one shot list into video-generation prompts for different AI video models
- Open source
- 164 GitHub stars
- Design and media




