
Every native speech request uses client.audio.speech and the teen-v1 model.
Python
speech = client.audio.speech.create(
model="teen-v1",
voice="default",
input="Generate speech with Teen V1.",
response_format="mp3",
)default, a public voice ID, or inline reference audio.audio.speech.create().| Task | Guide |
|---|---|
| Create a request | Create speech |
| Select a voice | Voices |
| Choose PCM, MP3, or WAV | Audio formats |
| Stream known text | HTTP and SSE streaming |
| Send text incrementally | WebSocket streaming |
| Keep an existing provider client | Provider patches |
The public method does not accept a language field. The SDK sends the required language value internally and still accepts multilingual input.
On this page