你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.

Constructor

SpeechSynthesisRequest(input_type: SpeechSynthesisRequestInputType)

Parameters

Name Description
input_type
Required

The input type for the speech synthesis request.

Attributes

custom_lexicon_url

input_stream

The input stream for the speech synthesis request.

pitch

prefer_locales

properties

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

rate

style

temperature

volume