TextToSpeechStreamingRequest
Request parameters for streaming text-to-speech conversion with language selection and format options.
Example Usage
typescript
import { TextToSpeechStreamingRequest } from "@meetkai/mka1/models/components";
let value: TextToSpeechStreamingRequest = {
text: "<value>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
text | string | ✔️ | Input text to convert to speech |
language | components.TextToSpeechStreamingRequestLanguage | ➖ | Language code: 'auto' for automatic detection, or ISO 639-1 language codes |
format | components.Format | ➖ | Audio output format: 'mp3' for MPEG audio (default), or 'pcm' for uncompressed PCM/WAV (24kHz, 16-bit, mono) |