Stream speech
Start processing audio as Nari Labs produces it instead of buffering the entire response.
This example assumes using NariLabs; is in scope and apiKey contains your NariLabs API key.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
Start processing audio as Nari Labs produces it instead of buffering the entire response.
This example assumes using NariLabs; is in scope and apiKey contains your NariLabs API key.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |