diff --git a/AiServer/wwwroot/lib/data/media-types.json b/AiServer/wwwroot/lib/data/media-types.json index 248d392..70fc4f7 100644 --- a/AiServer/wwwroot/lib/data/media-types.json +++ b/AiServer/wwwroot/lib/data/media-types.json @@ -31,6 +31,12 @@ "apiModels": { "dall-e-3": "dall-e-3", "text-to-speech": "tts-1:alloy", + "tts-alloy": "tts-1:alloy", + "tts-echo": "tts-1:echo", + "tts-fable": "tts-1:fable", + "tts-onyx": "tts-1:onyx", + "tts-nova": "tts-1:nova", + "tts-shimmer": "tts-1:shimmer", "speech-to-text": "whisper-1" } } diff --git a/AiServer/wwwroot/lib/data/tts-types.json b/AiServer/wwwroot/lib/data/tts-types.json new file mode 100644 index 0000000..cfbc825 --- /dev/null +++ b/AiServer/wwwroot/lib/data/tts-types.json @@ -0,0 +1,34 @@ +[ + { + "id": "Default", + "model": "text-to-speech" + }, + { + "id": "Lessac", + "model": "lessac" + }, + { + "id": "Alloy", + "model": "tts-alloy" + }, + { + "id": "Echo", + "model": "tts-echo" + }, + { + "id": "Fable", + "model": "tts-fable" + }, + { + "id": "Onyx", + "model": "tts-onyx" + }, + { + "id": "Nova", + "model": "tts-nova" + }, + { + "id": "Shimmer", + "model": "tts-shimmer" + } +]