SDK reference / Models / Ai
RunSpeechRequest
Kind: class
Namespace: Egulu.Sdk.Models.Ai
Runs one speech operation.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AudioBase64 | string? | audioBase64 | For `transcribe`: a WAV file, base64: 16-bit PCM, mono or stereo, 8 to 48 kHz, at most 16 MiB and 600 seconds. A longer file or an object of a bucket goes through a batch job. |
ContentType | string? | contentType | For `transcribe`: audio/wav (the default); must match the bytes. |
Options | Models.Ai.RunSpeechRequest_options? | options | For `transcribe`: `language` (`auto` or a code, default auto) and `timestamps` (`word`, `segment` or `none`, default `word`). For `synthesize`: `voice` (an ID of `voices`) and `speed` (0.5 to 2.0, default 1.0). |
RequestId | string? | requestId | The request ID charged once per project. |
Text | string? | text | For `synthesize`: the text to read, at most 5,000 characters. |