Loading...
Loading...
Low-latency streaming text-to-speech via OpenAI TTS API — adaptive sentence chunking, concurrent fetch pipelining, six voices.
npx skill4agent add framersai/agentos-skills streaming-tts-openaiOPENAI_API_KEYOPENAI_API_KEY{
"voice": {
"tts": "openai"
}
}{
"voice": {
"tts": "openai",
"providerOptions": {
"model": "tts-1",
"voice": "nova",
"format": "opus",
"maxBufferMs": 2000
}
}
}tts-1tts-1-hdnovaalloyechofableonyxnovashimmerAbortControllermaxBufferMs| Event | Description |
|---|---|
| Sentence chunk dispatched for synthesis |
| Synthesized audio buffer ready for playback |
| Synthesis complete for a sentence chunk |
| Session cancelled; remaining text not rendered |
| Synthesis request failed |
| Session fully terminated |
OPENAI_API_KEYtts-1-hdtts-1