Table of Contents

Class SpeechStreamRequest

Namespace
Mabs.AudioCpp.Models
Assembly
AudioCpp.dll

Body of a streaming speech request (stream_format always present).

public sealed class SpeechStreamRequest
Inheritance
SpeechStreamRequest
Inherited Members

Properties

Request

The underlying request; ResponseFormat should be pcm — streaming speech only supports PCM output.

public SpeechRequest Request { get; set; }

Property Value

SpeechRequest

ReturnText

Ask the server to also stream the text a speech-to-speech model writes while speaking. Requires stream_format=sse. On the non-live /v1/audio/speech route the field is accepted only by the live handler; set it on LiveSpeechRequest for that behavior.

public bool? ReturnText { get; set; }

Property Value

bool?

StreamFormat

sse for event framing; audio for raw chunked PCM.

public StreamFormat StreamFormat { get; set; }

Property Value

StreamFormat