MCPcopy
hub / github.com/travisvn/openai-edge-tts / get_models

Function get_models

app/tts_handler.py:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 return asyncio.run(_generate_audio(text, voice, response_format, speed))
96
97def get_models():
98 return [
99 {"id": "tts-1", "name": "Text-to-speech v1"},
100 {"id": "tts-1-hd", "name": "Text-to-speech v1 HD"}
101 ]
102
103async def _get_voices(language=None):
104 # List all voices, filter by language if specified

Callers 1

list_modelsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected