MCPcopy Create free account
hub / github.com/MYZY-AI/Muyan-TTS / TTSRequest

Class TTSRequest

api.py:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18class TTSRequest(BaseModel):
19 ref_wav_path: str
20 prompt_text: str
21 text: str
22 temperature: Optional[float]=1.0
23 repetition_penalty: Optional[float]=1.0
24 speed: Optional[float]=1.0
25 scaling_factor: Optional[float]=1.0
26
27@app.post("/get_tts")
28async def get_tts(request_data: TTSRequest):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected