SpeechSynthesisRequest Class

Represents a speech synthesis request. Note: This class is in preview and may be subject to change in future versions. Added in version 1.37.0

Creates a speech synthesis request using the specified text.

Inheritance
builtins.object
SpeechSynthesisRequest

Constructor

SpeechSynthesisRequest(input_type: SpeechSynthesisRequestInputType)

Parameters

Name Description
input_type
Required

The input type for the speech synthesis request.

Attributes

input_stream

The input stream for the speech synthesis request.

properties

A collection of properties and their values defined for this SpeechSynthesisRequest.