edge-tts

Solid

Text-to-speech conversion using `uvx edge-tts` for generating audio from text. Use when (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.

AI & Automation 146 stars 18 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
72
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Edge-TTS Generate high-quality text-to-speech audio using Microsoft Edge's neural TTS service via the `uvx edge-tts` command. Supports multiple languages, voices, adjustable speed/pitch, and subtitle generation. ## Usage ```shell uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 # With subtitles uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --write-subtitles - ``` ## Changing rate(speed), volume and pitch ```shell uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --rate=+50% uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --volume=+50% --pitch=-50Hz ``` ## Changing the voice ```shell uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --voice zh-CN-XiaoxiaoNeural ``` ## Available voices ``` Name Gender ContentCategories VoicePersonalities en-GB-LibbyNeural Female General Friendly, Positive en-GB-RyanNeural Male General Friendly, Positive en-GB-SoniaNeural Female General Friendly, Positive en-GB-ThomasNeural Male General Friendly, Positive en-HK-SamNeural Male General Friendly, Positive en-HK-YanNeural Female General Friendly, Positive en-US-AnaNeural Female Cartoon, Conversation Cute en-US-AndrewMultiling...

Details

Author
aahl
Repository
aahl/skills
Created
5 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category