Skip to content

Commit

Permalink
Add tts-types
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Oct 14, 2024
1 parent fc1de77 commit 0fb8095
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AiServer/wwwroot/lib/data/media-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down
34 changes: 34 additions & 0 deletions AiServer/wwwroot/lib/data/tts-types.json
Original file line number Diff line number Diff line change
@@ -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"
}
]

0 comments on commit 0fb8095

Please sign in to comment.