Skip to content

Commit 6ee37fd

Browse files
Кристина Ореховаclaude
authored andcommitted
docs: update Aura and Aura 2 TTS schemas with new model IDs and voice field
Replace per-voice model enums with deepgram/aura and deepgram/aura-2. Add voice field with full enum of available voices and default values (asteria for Aura, thalia for Aura 2). Update x-codeSamples accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 13cc5fe commit 6ee37fd

2 files changed

Lines changed: 80 additions & 65 deletions

File tree

docs/api-references/speech-models/Deepgram/aura-2.json

Lines changed: 56 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -23,52 +23,60 @@
2323
"model": {
2424
"type": "string",
2525
"enum": [
26-
"aura-2-amalthea-en",
27-
"#g1_aura-2-amalthea-en",
28-
"#g1_aura-2-andromeda-en",
29-
"#g1_aura-2-apollo-en",
30-
"#g1_aura-2-arcas-en",
31-
"#g1_aura-2-aries-en",
32-
"#g1_aura-2-asteria-en",
33-
"#g1_aura-2-athena-en",
34-
"#g1_aura-2-atlas-en",
35-
"#g1_aura-2-aurora-en",
36-
"#g1_aura-2-callista-en",
37-
"#g1_aura-2-cora-en",
38-
"#g1_aura-2-cordelia-en",
39-
"#g1_aura-2-delia-en",
40-
"#g1_aura-2-electra-en",
41-
"#g1_aura-2-harmonia-en",
42-
"#g1_aura-2-helena-en",
43-
"#g1_aura-2-hera-en",
44-
"#g1_aura-2-hermes-en",
45-
"#g1_aura-2-hyperion-en",
46-
"#g1_aura-2-iris-en",
47-
"#g1_aura-2-janus-en",
48-
"#g1_aura-2-juno-en",
49-
"#g1_aura-2-jupiter-en",
50-
"#g1_aura-2-luna-en",
51-
"#g1_aura-2-mars-en",
52-
"#g1_aura-2-minerva-en",
53-
"#g1_aura-2-neptune-en",
54-
"#g1_aura-2-odysseus-en",
55-
"#g1_aura-2-ophelia-en",
56-
"#g1_aura-2-orion-en",
57-
"#g1_aura-2-orpheus-en",
58-
"#g1_aura-2-pandora-en",
59-
"#g1_aura-2-phoebe-en",
60-
"#g1_aura-2-pluto-en",
61-
"#g1_aura-2-saturn-en",
62-
"#g1_aura-2-selene-en",
63-
"#g1_aura-2-thalia-en",
64-
"#g1_aura-2-theia-en",
65-
"#g1_aura-2-vesta-en",
66-
"#g1_aura-2-zeus-en",
67-
"#g1_aura-2-celeste-es",
68-
"#g1_aura-2-estrella-es",
69-
"#g1_aura-2-nestor-es"
26+
"deepgram/aura-2"
7027
]
7128
},
29+
"voice": {
30+
"type": "string",
31+
"enum": [
32+
"amalthea",
33+
"andromeda",
34+
"apollo",
35+
"arcas",
36+
"aries",
37+
"asteria",
38+
"athena",
39+
"atlas",
40+
"aurora",
41+
"callista",
42+
"cora",
43+
"cordelia",
44+
"delia",
45+
"draco",
46+
"electra",
47+
"harmonia",
48+
"helena",
49+
"hera",
50+
"hermes",
51+
"hyperion",
52+
"iris",
53+
"janus",
54+
"juno",
55+
"jupiter",
56+
"luna",
57+
"mars",
58+
"minerva",
59+
"neptune",
60+
"odysseus",
61+
"ophelia",
62+
"orion",
63+
"orpheus",
64+
"pandora",
65+
"phoebe",
66+
"pluto",
67+
"saturn",
68+
"selene",
69+
"thalia",
70+
"theia",
71+
"vesta",
72+
"zeus",
73+
"celeste",
74+
"estrella",
75+
"nestor"
76+
],
77+
"default": "thalia",
78+
"description": "The voice to use for speech synthesis."
79+
},
7280
"text": {
7381
"type": "string",
7482
"description": "The text content to be converted to speech."
@@ -104,7 +112,7 @@
104112
"model",
105113
"text"
106114
],
107-
"title": "aura-2-amalthea-en"
115+
"title": "deepgram/aura-2"
108116
}
109117
}
110118
}
@@ -167,15 +175,15 @@
167175
"x-codeSamples": [
168176
{
169177
"lang": "cURL",
170-
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/tts' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"#g1_aura-2-amalthea-en\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }'"
178+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/tts' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"deepgram/aura-2\",\n \"voice\": \"thalia\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }'"
171179
},
172180
{
173181
"lang": "JavaScript",
174-
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/tts', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"#g1_aura-2-amalthea-en\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
182+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/tts', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"deepgram/aura-2\",\n \"voice\": \"thalia\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
175183
},
176184
{
177185
"lang": "Python",
178-
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/tts\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"#g1_aura-2-amalthea-en\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }\n)\n\ndata = response.json()\nprint(data)"
186+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/tts\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"deepgram/aura-2\",\n \"voice\": \"thalia\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }\n)\n\ndata = response.json()\nprint(data)"
179187
}
180188
]
181189
}

docs/api-references/speech-models/Deepgram/aura.json

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,28 @@
2323
"model": {
2424
"type": "string",
2525
"enum": [
26-
"aura-asteria-en",
27-
"#g1_aura-angus-en",
28-
"#g1_aura-arcas-en",
29-
"#g1_aura-asteria-en",
30-
"#g1_aura-athena-en",
31-
"#g1_aura-helios-en",
32-
"#g1_aura-hera-en",
33-
"#g1_aura-luna-en",
34-
"#g1_aura-orion-en",
35-
"#g1_aura-orpheus-en",
36-
"#g1_aura-perseus-en",
37-
"#g1_aura-stella-en",
38-
"#g1_aura-zeus-en"
26+
"deepgram/aura"
3927
]
4028
},
29+
"voice": {
30+
"type": "string",
31+
"enum": [
32+
"asteria",
33+
"hera",
34+
"luna",
35+
"stella",
36+
"athena",
37+
"zeus",
38+
"orion",
39+
"arcas",
40+
"perseus",
41+
"angus",
42+
"orpheus",
43+
"helios"
44+
],
45+
"default": "asteria",
46+
"description": "The voice to use for speech synthesis."
47+
},
4148
"text": {
4249
"type": "string",
4350
"description": "The text content to be converted to speech."
@@ -73,7 +80,7 @@
7380
"model",
7481
"text"
7582
],
76-
"title": "aura-asteria-en"
83+
"title": "deepgram/aura"
7784
}
7885
}
7986
}
@@ -136,15 +143,15 @@
136143
"x-codeSamples": [
137144
{
138145
"lang": "cURL",
139-
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/tts' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"#g1_aura-angus-en\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }'"
146+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/tts' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"deepgram/aura\",\n \"voice\": \"asteria\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }'"
140147
},
141148
{
142149
"lang": "JavaScript",
143-
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/tts', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"#g1_aura-angus-en\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
150+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/tts', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"deepgram/aura\",\n \"voice\": \"asteria\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
144151
},
145152
{
146153
"lang": "Python",
147-
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/tts\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"#g1_aura-angus-en\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }\n)\n\ndata = response.json()\nprint(data)"
154+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/tts\",\n headers={\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\": \"deepgram/aura\",\n \"voice\": \"asteria\",\n \"text\": \"Cities of the future promise to radically transform how people live, work, and move. Instead of sprawling layouts, we will see vertical structures that integrate residential, work, and public spaces into single, self-sustaining ecosystems. Architecture will adapt to climate conditions, and buildings will be energy-efficient—generating power through solar panels, wind turbines, and even foot traffic.\"\n }\n)\n\ndata = response.json()\nprint(data)"
148155
}
149156
]
150157
}

0 commit comments

Comments
 (0)