mckruz/comfyui-expert/comfyui-voice-pipeline
Claude Code and agent skill by mckruz/comfyui-expert
- community
Checking that the SKILL.md file is still in the repository.
Generate character voices using TTS, voice cloning, and lip-sync tools. Supports Chatterbox, F5-TTS, TTS Audio Suite, RVC, and ElevenLabs. Use when creating speech audio for characters or syncing audio to video.
Install
npx vskill@latest install mckruz/comfyui-expert/comfyui-voice-pipelineSKILL.md
ComfyUI Voice Pipeline
Creates character voices through TTS/voice cloning and synchronizes them with generated video.
Voice Generation Decision Tree
Tool Reference
Chatterbox (Recommended Open-Source)
Strengths: MIT license, beats ElevenLabs 63.8% in blind tests, 5-second sample, emotion control, sub-200ms latency.
Paralinguistic tags:
Key parameter: exaggeration (0.25-2.0) controls expressiveness.
Limit: 40-second generation cap. Split longer content.
F5-TTS
Strengths: Fastest zero-shot cloning, <15 second samples, MIT license, multi-language.
Requirements: Reference audio must be paired with .wav + .txt (matching transcription).
Languages: English, German, Spanish, French, Japanese, Hindi, Thai, Portuguese.
TTS Audio Suite
Strengths: Unified multi-engine platform, 23 languages, character switching.
Special features:
- Character switching:
[CharacterName]tags - Language switching:
[de:Alice],[fr:Bob] - Pause control:
[pause:1s] - SRT timing sync
Integrates: F5-TTS, Chatterbox, Higgs Audio 2, VibeVoice, IndexTTS-2, RVC.
IndexTTS-2
Strengths: 8-emotion vector control with per-segment parameters.
Emotions: happy, angry, sad, surprised, afraid, disgusted, calm, melancholic.
RVC (Voice Conversion)
Use case: Train a model on target voice (10+ min audio), then convert any TTS output.
Pipeline: Text → Any TTS → Base Audio → RVC Model → Character Voice
Training: 300-500 epochs, RMVPE feature extraction.
ElevenLabs (Commercial)
Tiers:
- Instant Clone: 1-minute sample, good quality
- Professional Clone: 30+ minutes (3h ideal), near-indistinguishable
- Voice Design: Describe voice in text (no sample needed)
Voice Profile Setup
For each character, establish a voice profile in projects/{project}/characters/{name}/profile.yaml:
Script Preparation
Text Formatting for TTS
- Punctuation matters: Commas create pauses, periods create stops
- Phonetic hints: Spell unusual words phonetically if mispronounced
- Emotion cues: Use Chatterbox tags or split by emotion for IndexTTS-2
- Length: Split into 30-40 second segments for Chatterbox limit
Multi-Speaker Script
Audio Post-Processing
Requirements for Lip-Sync Input
- Sample rate: 16-24kHz (model dependent)
- Format: WAV (uncompressed)
- Mono channel
- Trim leading silence
- Add 0.2s trailing silence
- Normalize to -3dB peak
FFmpeg Processing
Lip-Sync Methods
Wav2Lip (Best Accuracy)
Settings:
MUST post-process: CodeFormer (fidelity 0.7) after Wav2Lip output.
SadTalker (Head Movement)
Settings:
LivePortrait (Expression Control)
Settings:
Best for: Premium avatar creation, expression transfer from driving video.
LatentSync 1.6 (Newest, Highest Quality)
ByteDance model trained at 512x512 with TREPA modules for temporal consistency.
InfiniteTalk (Unlimited Length)
For videos longer than standard lip-sync limits. Integrates with Wan for joint generation.
Complete Talking Head Workflow
Pipeline A: Quick (Image → Talk)
Time: ~2 minutes. Quality: Good.
Pipeline B: Quality (Image → Video → Lip-Sync)
Time: ~10 minutes. Quality: Production.
Pipeline C: Premium (Expression Transfer)
Time: ~15 minutes. Quality: Premium.
Troubleshooting
| Issue | Solution | |
|---|---|---|
| Audio out of sync | Offset with ffmpeg: ffmpeg -itsoffset 0.1 -i audio.wav ... | |
| Subtle mouth movements | Use wav2lip_gan.pth, increase audio volume | |
| Face artifacts | Post-process with CodeFormer (fidelity 0.6-0.8) | |
| Robotic voice clone | Use longer/cleaner reference, increase exaggeration | |
| Unnatural head movement | Lower SadTalker pose_style to 0-10 |
Reference
references/voice-synthesis.md- Full voice tool documentationreferences/models.md- Voice model download links- Character voice profiles in
projects/{project}/characters/
Security
- Security scanPassed, 85 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/comfyui-voice-pipeline/SKILL.md
Popularity
- Repository stars
- 25
- Repository forks
- 5
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mckruz/comfyui-expert/comfyui-voice-pipeline)