Add LeanVoice TTS (zyushg/leanvoice-tts)

#36
by zyushg - opened
app/inputs/zyushg__leanvoice-tts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "voice": "meera"
3
+ }
app/models.py CHANGED
@@ -109,6 +109,7 @@ AVAILABLE_MODELS = {
109
  # 'hexgrad/Kokoro-TTS/0.23': 'hexgrad/Kokoro-TTS',
110
  # StyleTTS Kokoro v1.0
111
  'hexgrad/Kokoro-API': 'hexgrad/Kokoro-API',
 
112
 
113
  # MaskGCT (by Amphion)
114
  # 'amphion/maskgct': 'amphion/maskgct', # DEMANDS 300 seconds of ZeroGPU!
 
109
  # 'hexgrad/Kokoro-TTS/0.23': 'hexgrad/Kokoro-TTS',
110
  # StyleTTS Kokoro v1.0
111
  'hexgrad/Kokoro-API': 'hexgrad/Kokoro-API',
112
+ 'zyushg/leanvoice-tts': 'zyushg/leanvoice-tts', # LeanVoice (closed real-time API via thin Space)
113
 
114
  # MaskGCT (by Amphion)
115
  # 'amphion/maskgct': 'amphion/maskgct', # DEMANDS 300 seconds of ZeroGPU!
app/tts_spaces/zyushg__leanvoice-tts.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "LeanVoice",
3
+ "function": "/synthesize",
4
+ "text_param_index": "text",
5
+ "return_audio_index": 0,
6
+ "is_zero_gpu_space": false,
7
+ "series": "LeanVoice",
8
+ "space_link": "zyushg/leanvoice-tts"
9
+ }