Search Results for

    Show / Hide Table of Contents

    Class SynthesizeSpeechRequest

    Inheritance
    object
    SynthesizeSpeechRequest
    StartSynthesisTaskRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws.Polly
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class SynthesizeSpeechRequest

    Properties

    | Edit this page View Source

    Engine

    Optional. Specifies the engine (standard, neural, long-form, or generative) for Amazon Polly to use when processing input text for speech synthesis.

    Declaration
    [JsonProperty("Engine")]
    public string Engine { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    LanguageCode

    Optional. Optional language code for the Synthesize Speech request.

    Declaration
    [JsonProperty("LanguageCode")]
    public string LanguageCode { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    LexiconNames

    Optional. List of one or more pronunciation lexicon names you want the service to apply during synthesis.

    Declaration
    [JsonProperty("LexiconNames")]
    public List<string> LexiconNames { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    OutputFormat

    Required. The format in which the returned output will be encoded. For audio stream: mp3, ogg_vorbis, or pcm. For speech marks: json.

    Declaration
    [JsonProperty("OutputFormat")]
    public string OutputFormat { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SampleRate

    Optional. The audio frequency specified in Hz. Valid values for mp3 and ogg_vorbis: 8000, 16000, 22050, 24000, 44100, 48000 Valid values for pcm: 8000, 16000

    Declaration
    [JsonProperty("SampleRate")]
    public string SampleRate { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SpeechMarkTypes

    Optional. The type of speech marks returned for the input text.

    Declaration
    [JsonProperty("SpeechMarkTypes")]
    public List<string> SpeechMarkTypes { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    Text

    Required. Input text to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

    Declaration
    [JsonProperty("Text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TextType

    Optional. Specifies whether the input text is plain text or SSML. Default is plain text.

    Declaration
    [JsonProperty("TextType")]
    public string TextType { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    VoiceId

    Required. Voice ID to use for the synthesis.

    Declaration
    [JsonProperty("VoiceId")]
    public string VoiceId { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation