Skip to content

Commit dcd786c

Browse files
committed
latest
1 parent 168eadd commit dcd786c

File tree

6 files changed

+202
-537
lines changed

6 files changed

+202
-537
lines changed
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
---
2+
title: Text to Speech API Reference
3+
---
4+
5+
## Why Choose ElevenLabs?
6+
7+
Our AI model produces the highest-quality voices in the industry.
8+
9+
<Card title="Premium Voice Quality">
10+
<img src="https://fern-image-hosting.s3.us-east-1.amazonaws.com/elevenlabs/voices.webp" alt="Premium Voice Quality" />
11+
12+
Chooose from over **3,000** voices or clone your own. Our industry-leading
13+
voice technology delivers the most natural-sounding AI conversations.
14+
</Card>
15+
<Card title="32 Languages" horizontal="true">
16+
Choose from over 32 languages with 1000s of voices, for every use-case, at
17+
192kbps
18+
</Card>
19+
<Card title="Ultra-low latency" horizontal>
20+
As low as ~250ms (+ network latency) audio generation times with our Turbo
21+
model.
22+
</Card>
23+
<Card title="Natural Prosody" horizontal>
24+
Understands natural speech patterns for lifelike rhythm and intonation.
25+
</Card>
26+
27+
#### Concurrent Request Limits
28+
29+
The maximum number of concurrent requests you can run in parallel depends on your subscription tier.
30+
31+
<Note>
32+
The concurrent request limits don't apply to enterprise tier. [Talk to
33+
sales](https://elevenlabs.io/contact-sales) to discuss a custom plan.
34+
</Note>
35+
36+
<CardGroup cols={2}>
37+
<Card title="Free & Starter" horizontal>
38+
39+
**Free:** 2 concurrent requests
40+
41+
**Starter:** 3 concurrent requests
42+
43+
</Card>
44+
<Card title="Creator & Pro" horizontal>
45+
46+
**Creator:** 5 concurrent requests
47+
48+
**Pro:** 10 concurrent requests
49+
50+
</Card>
51+
<Card title="Scale & Business" horizontal>
52+
53+
**Scale:** 15 concurrent requests
54+
55+
**Business:** 15 concurrent requests
56+
57+
</Card>
58+
<Card title="Enterprise" horizontal href="https://elevenlabs.io/contact-sales">
59+
60+
Need higher limits? **[Talk to sales](https://elevenlabs.io/contact-sales)**
61+
62+
</Card>
63+
</CardGroup>
64+
65+
### Supported Languages
66+
67+
Our TTS API is multilingual and currently supports 32 languages across multiple regions.
68+
69+
<CardGroup cols={3}>
70+
<Card title="Asia & Pacific" horizontal>
71+
72+
Chinese
73+
74+
Japanese
75+
76+
Korean
77+
78+
Vietnamese
79+
80+
Filipino
81+
82+
Indonesian
83+
84+
Malay
85+
86+
Tamil
87+
88+
Hindi
89+
90+
</Card>
91+
<Card title="Europe (West)" horizontal>
92+
93+
English
94+
95+
French
96+
97+
German
98+
99+
Italian
100+
101+
Spanish
102+
103+
Dutch
104+
105+
Portuguese
106+
107+
Norwegian
108+
109+
Swedish
110+
111+
Danish
112+
113+
</Card>
114+
<Card title="Europe (East)" horizontal>
115+
116+
Polish
117+
118+
Ukrainian
119+
120+
Russian
121+
122+
Czech
123+
124+
Slovak
125+
126+
Romanian
127+
128+
Bulgarian
129+
130+
Croatian
131+
132+
Greek
133+
134+
Hungarian
135+
136+
Finnish
137+
138+
Turkish
139+
140+
Classic Arabic
141+
142+
</Card>
143+
</CardGroup>
144+
145+
To use any of these languages, simply provide the input text in your language of choice.
146+
147+
<CardGroup cols={2}>
148+
<Card
149+
title="Streaming API"
150+
icon="regular book-open-cover"
151+
href="/api-reference/streaming"
152+
>
153+
Dig into the details of using the ElevenLabs TTS API.
154+
</Card>
155+
<Card title="Websockets" icon="regular comments" href="/api-reference/websockets">
156+
Learn how to use our API with websockets.
157+
</Card>
158+
<Card
159+
title="Join Our Discord"
160+
icon="brands discord"
161+
href="https://discord.gg/elevenlabs"
162+
>
163+
A great place to ask questions and get help from the community.
164+
</Card>
165+
<Card
166+
title="Integration Guides"
167+
icon="regular rectangle-pro"
168+
href="/developer-guides/how-to-use-tts-with-streaming"
169+
>
170+
Learn how to integrate ElevenLabs into your workflow.
171+
</Card>
172+
</CardGroup>

fern/api-reference/websockets.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Websockets
3-
slug: api-reference/websockets
3+
slug: api-reference/websockets/overview
44
---
55

66

@@ -162,15 +162,15 @@ The server will always respond with a message containing the following fields:
162162
}
163163
```
164164

165-
<ResponseField name="audio" type="string" optional="true">
165+
<ParamField path="audio" type="string" optional="true">
166166
A generated partial audio chunk, encoded using the selected output_format, by default this is MP3 encoded as a base64 string.
167-
</ResponseField>
167+
</ParamField>
168168

169-
<ResponseField name="isFinal" type="boolean" optional="true">
169+
<ParamField path="isFinal" type="boolean" optional="true">
170170
Indicates if the generation is complete. If set to `True`, `audio` will be null.
171-
</ResponseField>
171+
</ParamField>
172172

173-
<ResponseField name="normalizedAlignment" type="string" optional="true">
173+
<ParamField path="normalizedAlignment" type="string" optional="true">
174174
Alignment information for the generated audio given the input normalized text sequence.
175175
<Expandable title="properties">
176176

@@ -186,9 +186,9 @@ The server will always respond with a message containing the following fields:
186186
The list of characters in the normalized text sequence that corresponds with the timings and durations. This list is used to map the characters to their respective starting times and durations.
187187
</ParamField>
188188
</Expandable>
189-
</ResponseField>
189+
</ParamField>
190190

191-
<ResponseField name="alignment" type="string" optional="true">
191+
<ParamField path="alignment" type="string" optional="true">
192192
Alignment information for the generated audio given the original text sequence.
193193
<Expandable title="properties">
194194

@@ -204,7 +204,7 @@ The server will always respond with a message containing the following fields:
204204
The list of characters in the original text sequence that corresponds with the timings and durations. This list is used to map the characters to their respective starting times and durations.
205205
</ParamField>
206206
</Expandable>
207-
</ResponseField>
207+
</ParamField>
208208

209209
## Path parameters
210210

0 commit comments

Comments
 (0)