Skip to content

Text to speech: Streaming vs REST Rate limit #960

Discussion options

You must be logged in to vote

Hi @nitin-airindia, the websocket API allows for more flexible concurrency, and is a good choice for higher-volume applications.

While the batch API supports 2 concurrent requests, the average TTS REST API call is only 250 milliseconds, which can cover tens of seconds of a conversation, so in practice two concurrent requests can support dozens or hundreds of concurrent conversations, depending on how often the TTS speaks in the conversation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jpvajda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants