TextToSpeechRequest
Request parameters for text-to-speech conversion with language selection.
Example Usage
typescript
import { TextToSpeechRequest } from "@meetkai/mka1/models/components";
let value: TextToSpeechRequest = {
text: "Hello, welcome to our text-to-speech service.",
language: "en",
};Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
text | string | ✔️ | Input text to convert to speech | |
language | components.Language | ➖ | Language code: 'auto' for automatic detection, or ISO 639-1 language codes | |
model | string | ➖ | TTS model identifier. Defaults to 'auto', which selects the default provider. Registry-resolvable ids dispatch to the matching provider. | auto |