How can I stream chatGPT responses into the new TTS APIs?

Hi there,

I was curious to know if there is any documentation regarding the fasted method to read streaming ChatGPT’s responses using OpenAI’s new TTS API.

I currently split sentences and stream sentence by sentence, but I was curious to know if it’s possible to go directly from ChatGPT’s stream to audio stream.

Is it available or planned?
It would be super useful!

Thanks in advance,
Giovanni

Thanks @fra_ab, let me know if the solution makes sense @giovanni24 :slight_smile: