Skip to content

Commit 0fb8095

Browse files
committed
Add tts-types
1 parent fc1de77 commit 0fb8095

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

AiServer/wwwroot/lib/data/media-types.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
"apiModels": {
3232
"dall-e-3": "dall-e-3",
3333
"text-to-speech": "tts-1:alloy",
34+
"tts-alloy": "tts-1:alloy",
35+
"tts-echo": "tts-1:echo",
36+
"tts-fable": "tts-1:fable",
37+
"tts-onyx": "tts-1:onyx",
38+
"tts-nova": "tts-1:nova",
39+
"tts-shimmer": "tts-1:shimmer",
3440
"speech-to-text": "whisper-1"
3541
}
3642
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[
2+
{
3+
"id": "Default",
4+
"model": "text-to-speech"
5+
},
6+
{
7+
"id": "Lessac",
8+
"model": "lessac"
9+
},
10+
{
11+
"id": "Alloy",
12+
"model": "tts-alloy"
13+
},
14+
{
15+
"id": "Echo",
16+
"model": "tts-echo"
17+
},
18+
{
19+
"id": "Fable",
20+
"model": "tts-fable"
21+
},
22+
{
23+
"id": "Onyx",
24+
"model": "tts-onyx"
25+
},
26+
{
27+
"id": "Nova",
28+
"model": "tts-nova"
29+
},
30+
{
31+
"id": "Shimmer",
32+
"model": "tts-shimmer"
33+
}
34+
]

0 commit comments

Comments
 (0)