Commit Graph

8 Commits

Author SHA1 Message Date
Azimkin
e12660db95 feat: integrate Silero TTS as default TTS engine
- Add SileroTTS service with GPU/CPU support
- Update TTS API to support configurable engines (silero/edge)
- Add TTS_ENGINE and SILERO_SPEAKER config options
- Set Silero as default TTS engine
- Update requirements.txt with silero dependency
2026-04-08 16:06:28 +02:00
Miru
c7d023e5ef fix: proper Seed-VC generator handling and audio output 2026-04-08 12:29:45 +00:00
Azimkin
2b93fea7ca fix: handle Seed-VC audio array shape 2026-04-08 14:05:21 +02:00
Azimkin
7ecb9941e9 Fix Seed-VC integration: use SeedVCWrapper instead of non-existent load_model
- Replace broken import from inference import load_model with SeedVCWrapper
- SeedVCWrapper properly loads all models (DiT, Whisper, BigVGAN, CAMPPlus, RMVPE)
- Add support for F0 conditioning and voice conversion parameters
- Implement proper voice conversion using wrapper.convert_voice()
- Keep fallback to passthrough mode if wrapper fails to load

Fixes: Could not import Seed-VC modules: cannot import name 'load_model' from 'inference'
2026-04-08 13:52:05 +02:00
Azimkin
69cb910eb9 fix: ensure MP3 to WAV conversion creates file
- Add proper error handling around pydub conversion
- Use absolute paths instead of relative paths
- Ensure output directory exists before saving
- Verify file was actually created before returning
- Add fallback to MP3 if conversion fails
- Update tts.py to handle both .wav and .mp3 extensions
- Add detailed logging for debugging
2026-04-08 02:28:30 +02:00
Azimkin
263bc3e54c fix: passthrough mode MP3 to WAV conversion
- Use pydub to convert MP3 to WAV in passthrough mode
- Fixed fallback conversion when Seed-VC is not available
- Output WAV format as expected by the API
2026-04-08 02:07:16 +02:00
root
ad844e986a docs: add README with API documentation 2026-04-08 01:36:25 +02:00
root
879f770927 feat: initial Flask REST API implementation for TTS + Voice Conversion 2026-04-08 01:35:34 +02:00