https://github.com/1038lab/ComfyUI-EdgeTTS
ComfyUI-EdgeTTS is a powerful text-to-speech node for ComfyUI, leveraging Microsoft's Edge TTS capabilities. It enables seamless conversion of text into natural-sounding speech, supporting multiple languages and voices. Ideal for enhancing user interactions, this node is easy to integrate and customize, making it perfect for various applications.
https://github.com/1038lab/ComfyUI-EdgeTTS
Last synced: 3 months ago
JSON representation
ComfyUI-EdgeTTS is a powerful text-to-speech node for ComfyUI, leveraging Microsoft's Edge TTS capabilities. It enables seamless conversion of text into natural-sounding speech, supporting multiple languages and voices. Ideal for enhancing user interactions, this node is easy to integrate and customize, making it perfect for various applications.
- Host: GitHub
- URL: https://github.com/1038lab/ComfyUI-EdgeTTS
- Owner: 1038lab
- License: gpl-3.0
- Created: 2025-01-16T16:06:52.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-24T10:39:15.000Z (3 months ago)
- Last Synced: 2025-01-24T11:27:09.748Z (3 months ago)
- Language: Python
- Size: 76.2 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-EdgeTTS** - EdgeTTS is a powerful text-to-speech node for ComfyUI, leveraging Microsoft's Edge TTS capabilities. It enables seamless conversion of text into natural-sounding speech, supporting multiple languages and voices. Ideal for enhancing user interactions, this node is easy to integrate and customize, making it perfect for various applications. (All Workflows Sorted by GitHub Stars)
README
# ComfyUI Audio Nodes
ComfyUI-EdgeTTS is a powerful text-to-speech node for ComfyUI, leveraging Microsoft's Edge TTS capabilities. It enables seamless conversion of text into natural-sounding speech, supporting multiple languages and voices. Ideal for enhancing user interactions, this node is easy to integrate and customize, making it perfect for various applications.

## Updates
- V1.1.0 (2025-01-24) - Added 19 new languages and 38 new voices, with more detailed characteristics for existing Chinese voices. For more information, please see the [update log](update.md).
## Features
### Edge TTS Node
- **Edge TTS**: Convert text to speech using Microsoft Edge TTS
- Multiple languages and voices support
- Adjustable speech rate and pitch
- High-quality voice synthesis
- Configurable via config.json### Speech to Text Node
- **Whisper STT**: High-accuracy speech recognition
- Multiple language support with auto-detection
- Multiple model sizes (tiny to large)
- Supports ComfyUI audio format
- Language detection confidence reporting### Audio File Node
- **Save Audio**: Export audio files
- Supports WAV, MP3, FLAC formats
- Quality presets (high/medium/low)
- Custom file naming and paths
- Automatic file numbering## Installation
### Method 1. install on ComfyUI-Manager, search `Comfyui-EdgeTTS` and install
install requirment.txt in the ComfyUI-EdgeTTS folder
```bash
./ComfyUI/python_embeded/python -m pip install -r requirements.txt
```### Method 2. Clone this repository to your ComfyUI custom_nodes folder:
```bash
cd ComfyUI/custom_nodes
git clone https://github.com/1038lab/ComfyUI-EdgeTTS.git
```
install requirment.txt in the ComfyUI-EdgeTTS folder
```bash
./ComfyUI/python_embeded/python -m pip install -r requirements.txt
```
## Requirements
- Python packages (see requirements.txt)
- CUDA compatible GPU (optional, for faster Whisper processing)## Usage Examples
### Text to Speech
1. Add Edge TTS node to workflow
2. Input text and select voice
3. Adjust speed and pitch if needed
4. Connect to Save Audio node for export
https://github.com/user-attachments/assets/a5b9165b-a413-49fd-989e-0ef3141afce7
### Speech to Text
1. Add Whisper STT node
2. Connect audio input
3. Select model size and language (or auto-detect)
4. Run to get transcription
## Supported Voices
| Language | Female Voices | Male Voices |
|----------|--------------|-------------|
| Chinese-Mainland | XiaoXiao (News, Novel, Warm), XiaoYi (Cartoon, Novel, Lively) | Yunjian (Sports, Novel, Passion), Yunxi (Novel, Lively), Yunxia (Cartoon, Novel), Yunyang (News, Professional) |
| Chinese-Cantonese | HiuGaai (Friendly), HiuMaan (Friendly) | WanLung (Friendly) |
| Chinese-Taiwan | HsiaoChen (Friendly), HsiaoYu (Friendly) | YunJhe (Friendly) |
| English-US | Jenny (Friendly), Aria (Positive), Ana (Cute), Michelle (Friendly) | Guy (Passion), Christopher (Authority), Eric (Rational), Roger (Lively), Steffan (Rational) |
| English-GB | Libby (Friendly), Maisie (Friendly), Sonia (Friendly) | Ryan (Friendly), Thomas (Friendly) |
| English-AU | Natasha (Friendly) | William (Friendly) |
| Japanese | Nanami (Friendly) | Keita (Friendly) |
| Korean | SunHi (Friendly) | InJoon (Friendly), Hyunsu (Multilingual) |
| French-FR | Denise (Friendly), Eloise (Friendly), Vivienne (Multilingual) | Henri (Friendly), Remy (Multilingual) |
| French-CA | Sylvie (Friendly) | Jean (Friendly), Antoine (Friendly) |
| German-DE | Katja (Friendly), Amala (Friendly), Seraphina (Multilingual) | Conrad (Friendly), Killian (Friendly), Florian (Multilingual) |More voices available in config.json, including voices for:
- German (AT/CH)
- Spanish (ES/MX)
- Russian
- Italian
- Portuguese (BR/PT)
- Dutch
- Polish
- Turkish
- Arabic
- Hindi
- Indonesian
- Vietnamese
- Thai
- Ukrainian
And many more...Each language provides at least one male and female voice option, allowing you to choose different voice styles based on your needs.
## Credits
- Edge TTS: [Microsoft Edge TTS](https://github.com/rany2/edge-tts)
- Whisper: [OpenAI Whisper](https://github.com/openai/whisper)