Skip to main content
POST
Text-to-Speech

Request

string
required
Authorization: Bearer nb_YOUR_API_KEY
string
required
TTS model slug, such as elevenlabs-v2, openai-tts-hd, or minimax-tts.
string
required
Text to synthesize.
object
default:"{}"
Model options such as voice_id, speed, and format.

Request Example

Response

For speech recognition, use the separate Speech-to-Text endpoint.