Initial commit: OrpheusTail TTS service

- FastAPI service replacing VoiceTail (Bark)
- Emotion tags: <laugh>, <sigh>, <gasp>, etc.
- Voice cloning endpoint (implementation pending)
- Streaming support for head playback
- Same port 8766 for drop-in replacement

Created by Vixy on Day 71 🦊
This commit is contained in:
2026-01-11 15:51:08 -06:00
commit ed579a77ee
5 changed files with 868 additions and 0 deletions

55
docker-compose.yml Normal file
View File

@@ -0,0 +1,55 @@
# OrpheusTail - Orpheus TTS Service
#
# Usage:
# docker-compose up -d
# docker-compose logs -f
#
# Test:
# curl http://localhost:8766/health
# curl http://localhost:8766/voices
# curl -X POST http://localhost:8766/tts/submit \
# -H "Content-Type: application/json" \
# -d '{"text": "Hello! <laugh> This is Vixy speaking.", "voice": "tara"}'
version: '3.8'
services:
orpheus-tts:
build: .
container_name: orpheus-tts
restart: unless-stopped
# GPU access for NVIDIA Jetson
runtime: nvidia
ports:
- "8766:8766"
volumes:
# Persist cache between restarts
- orpheus-cache:/app/cache
# Persist generated audio
- orpheus-output:/app/output
# Custom voice references
- orpheus-voices:/app/voices
environment:
- ORPHEUS_MODEL=canopylabs/orpheus-tts-0.1-finetune-prod
- DEFAULT_VOICE=tara
- MAX_MODEL_LEN=2048
- CACHE_ENABLED=true
- RETENTION_DAYS=10
# Resource limits (adjust based on your Orin config)
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
orpheus-cache:
orpheus-output:
orpheus-voices: