Show / Hide Table of Contents

Class SynthesizeSpeechDetails

Input JSON to get audio inference from TTS Service.

Inheritance
object
SynthesizeSpeechDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 SpeechSynthesize api. But default user access will be checked at tenancy level.

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

In this article
Back to top