NAME

Paws::Polly::SynthesizeSpeech - Arguments for method SynthesizeSpeech on Paws::Polly

DESCRIPTION

This class represents the parameters used for calling the method SynthesizeSpeech on the Amazon Polly service. Use the attributes of this class as arguments to method SynthesizeSpeech.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SynthesizeSpeech.

As an example:

$service_obj->SynthesizeSpeech(Att1 => $value1, Att2 => $value2, ...);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.

ATTRIBUTES

LexiconNames => ArrayRef[Str|Undef]

List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice. For information about storing lexicons, see PutLexicon.

REQUIRED OutputFormat => Str

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

Valid values are: "json", "mp3", "ogg_vorbis", "pcm"

SampleRate => Str

The audio frequency specified in Hz.

The valid values for mp3 and ogg_vorbis are "8000", "16000", and "22050". The default value is "22050".

Valid values for pcm are "8000" and "16000" The default value is "16000".

SpeechMarkTypes => ArrayRef[Str|Undef]

The type of speech marks returned for the input text.

REQUIRED Text => Str

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

TextType => Str

Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML.

Valid values are: "ssml", "text"

REQUIRED VoiceId => Str

Voice ID to use for the synthesis. You can get a list of available voice IDs by calling the DescribeVoices operation.

Valid values are: "Geraint", "Gwyneth", "Mads", "Naja", "Hans", "Marlene", "Nicole", "Russell", "Amy", "Brian", "Emma", "Raveena", "Ivy", "Joanna", "Joey", "Justin", "Kendra", "Kimberly", "Salli", "Conchita", "Enrique", "Miguel", "Penelope", "Chantal", "Celine", "Mathieu", "Dora", "Karl", "Carla", "Giorgio", "Mizuki", "Liv", "Lotte", "Ruben", "Ewa", "Jacek", "Jan", "Maja", "Ricardo", "Vitoria", "Cristiano", "Ines", "Carmen", "Maxim", "Tatyana", "Astrid", "Filiz", "Vicki"

SEE ALSO

This class forms part of Paws, documenting arguments for method SynthesizeSpeech in Paws::Polly

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues