PersonalVoiceSynthesisRequest Class

Represents a speech synthesis request for personal voice (aka.ms/azureai/personal-voice). Note: This class is in preview and may be subject to change in future versions. Added in version 1.39.0

Creates a speech synthesis request using the specified text.

Inheritance
PersonalVoiceSynthesisRequest

Constructor

PersonalVoiceSynthesisRequest(input_type: SpeechSynthesisRequestInputType, personal_voice_name: str, model_name: str)

Parameters

Name Description
input_type
Required

The input type for the personal voice synthesis request.

personal_voice_name
Required

The personal voice name.

model_name
Required

The model name, e.g., "DragonLatestNeural" or "PhoenixLatestNeural".

Attributes

input_stream

The input stream for the speech synthesis request.

pitch

properties

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

rate

volume