startSpeechSynthesisStream
abstract suspend fun <T> startSpeechSynthesisStream(input: StartSpeechSynthesisStreamRequest, block: suspend (StartSpeechSynthesisStreamResponse) -> T): T
Synthesizes UTF-8 input, plain text, or SSML over a bidirectional streaming connection. Specify synthesis parameters in HTTP/2 headers, send text incrementally as events on the input stream, and receive synthesized audio as it becomes available.
This operation serves as a bidirectional counterpart to SynthesizeSpeech: