Add ComfyUI models documentation and download script
- Complete MODELS.md with detailed model descriptions - Interactive download script for 5+ specialized SDXL models - Updated README with model selection guide - Fix docker-compose volumes path (/root/ComfyUI) - API workflows for OpenWebUI integration Models documented: - RealVisXL (portraits) - Juggernaut XL (versatile) - DreamShaper (art/fantasy) - SDXL Lightning (fast) - Proteus (realism)
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
# 🎙️ Installation de la voix masculine Tom (français)
|
||||
|
||||
## Problème
|
||||
La voix "gilles" n'existe pas dans les repos Piper (erreur 404).
|
||||
|
||||
## Solution
|
||||
Utiliser la voix **Tom** qui existe vraiment et est disponible.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# Sur folzo-Corp
|
||||
cd ~/openedai-speech/tts-voices
|
||||
|
||||
# Télécharger la voix masculine Tom
|
||||
echo "🎙️ Téléchargement voix masculine Tom..."
|
||||
wget -q --show-progress https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/fr/fr_FR/tom/medium/fr_FR-tom-medium.onnx
|
||||
wget -q --show-progress https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/fr/fr_FR/tom/medium/fr_FR-tom-medium.onnx.json
|
||||
|
||||
# Vérifier les fichiers
|
||||
ls -lh fr_FR-tom-medium*
|
||||
|
||||
# Modifier la configuration
|
||||
cat > ~/openedai-speech/tts-config/voice_to_speaker.yaml << 'CONFIGEOF'
|
||||
# Configuration XTTS v2
|
||||
tts-1-hd:
|
||||
alloy:
|
||||
model: xtts
|
||||
speaker: voices/alloy.wav
|
||||
language: auto
|
||||
echo:
|
||||
model: xtts
|
||||
speaker: voices/echo.wav
|
||||
language: auto
|
||||
fable:
|
||||
model: xtts
|
||||
speaker: voices/fable.wav
|
||||
language: auto
|
||||
onyx:
|
||||
model: xtts
|
||||
speaker: voices/onyx.wav
|
||||
language: auto
|
||||
nova:
|
||||
model: xtts
|
||||
speaker: voices/nova.wav
|
||||
language: auto
|
||||
shimmer:
|
||||
model: xtts
|
||||
speaker: voices/shimmer.wav
|
||||
language: auto
|
||||
|
||||
# Configuration standard - Voix Piper
|
||||
tts-1:
|
||||
# Voix anglaises
|
||||
alloy:
|
||||
model: voices/en_US-libritts_r-medium.onnx
|
||||
speaker: 79
|
||||
echo:
|
||||
model: voices/en_US-libritts_r-medium.onnx
|
||||
speaker: 134
|
||||
fable:
|
||||
model: voices/en_GB-northern_english_male-medium.onnx
|
||||
speaker: 0
|
||||
onyx:
|
||||
model: voices/en_US-libritts_r-medium.onnx
|
||||
speaker: 159
|
||||
nova:
|
||||
model: voices/en_US-libritts_r-medium.onnx
|
||||
speaker: 107
|
||||
shimmer:
|
||||
model: voices/en_US-libritts_r-medium.onnx
|
||||
speaker: 163
|
||||
|
||||
# Voix françaises
|
||||
siwis:
|
||||
model: voices/fr_FR-siwis-medium.onnx
|
||||
speaker: 0
|
||||
effi:
|
||||
model: voices/fr_FR-siwis-medium.onnx
|
||||
speaker: 0
|
||||
tom:
|
||||
model: voices/fr_FR-tom-medium.onnx
|
||||
speaker: 0
|
||||
papa:
|
||||
model: voices/fr_FR-tom-medium.onnx
|
||||
speaker: 0
|
||||
assistant:
|
||||
model: voices/fr_FR-tom-medium.onnx
|
||||
speaker: 0
|
||||
CONFIGEOF
|
||||
|
||||
# Redémarrer le service TTS
|
||||
echo "🔄 Redémarrage du service TTS..."
|
||||
sudo docker compose -f ~/openedai-speech/docker-compose.yml restart
|
||||
|
||||
# Attendre
|
||||
sleep 10
|
||||
|
||||
# Tester la voix
|
||||
echo ""
|
||||
echo "🧪 Test voix Tom..."
|
||||
curl -s http://localhost:8100/v1/audio/speech \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"model":"tts-1","input":"Bonjour, je suis ton assistant","voice":"tom"}' \
|
||||
--output /tmp/test_tom.mp3
|
||||
|
||||
if [ -f /tmp/test_tom.mp3 ]; then
|
||||
echo "✅ Voix Tom créée avec succès !"
|
||||
ls -lh /tmp/test_tom.mp3
|
||||
else
|
||||
echo "❌ Erreur lors de la création"
|
||||
fi
|
||||
```
|
||||
|
||||
## Configuration Open WebUI
|
||||
|
||||
Pour l'assistant du fils :
|
||||
```yaml
|
||||
TTS:
|
||||
Engine: OpenAI
|
||||
URL: http://192.168.1.11:8100/v1
|
||||
Model: tts-1
|
||||
Voice: tom # ou papa, ou assistant
|
||||
```
|
||||
|
||||
## Résumé des voix disponibles
|
||||
|
||||
| Nom | Type | Langue | Fichier |
|
||||
|-----|------|--------|---------|
|
||||
| siwis | Féminine | Français | fr_FR-siwis-medium.onnx |
|
||||
| effi | Féminine | Français | fr_FR-siwis-medium.onnx (alias) |
|
||||
| tom | Masculine | Français | fr_FR-tom-medium.onnx |
|
||||
| papa | Masculine | Français | fr_FR-tom-medium.onnx (alias) |
|
||||
| assistant | Masculine | Français | fr_FR-tom-medium.onnx (alias) |
|
||||
|
||||
## Notes
|
||||
|
||||
- La voix **siwis** est parfaitement fonctionnelle ✅
|
||||
- La voix **tom** remplace **gilles** qui n'existe pas
|
||||
- Toutes les voix sont en qualité "medium"
|
||||
- Taille des fichiers : ~60MB chacun
|
||||
Reference in New Issue
Block a user