Class SynthesizeSpeechDetails
Input JSON to get audio inference from TTS Service.
Inherited Members
Namespace: Oci.AispeechService.Models
Assembly: OCI.DotNetSDK.Aispeech.dll
Syntax
public class SynthesizeSpeechDetails
Properties
AudioConfig
Declaration
[JsonProperty(PropertyName = "audioConfig")]
public TtsAudioConfig AudioConfig { get; set; }
Property Value
Type | Description |
---|---|
TtsAudioConfig |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment where the user has access to call |
Configuration
Declaration
[JsonProperty(PropertyName = "configuration")]
public TtsConfiguration Configuration { get; set; }
Property Value
Type | Description |
---|---|
TtsConfiguration |
IsStreamEnabled
Declaration
[JsonProperty(PropertyName = "isStreamEnabled")]
public bool? IsStreamEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | If set to true, response will be sent in the chunked transfer-encoding and audio chunks are sent back as and when they are ready. If set to false, response will be sent only once the entire audio is generated. |
Text
Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string | The text input to get the inference audio from TTS Service. |
Remarks
Required