class PersonalVoiceSynthesisRequest

class PersonalVoiceSynthesisRequest
  : public SpeechSynthesisRequest

Class that defines the speech synthesis request for personal voice (aka.ms/azureai/personal-voice). This class is in preview and is subject to change. Added in version 1.39.0.

Members

~PersonalVoiceSynthesisRequest

Syntax: public inline virtual ~PersonalVoiceSynthesisRequest ( );

Destructs the object.

NewTextStreamingRequest

Syntax: public inline static std::shared_ptr< PersonalVoiceSynthesisRequest > NewTextStreamingRequest ( const std::string & personalVoiceName , const std::string & modelName );

Creates a personal voice speech synthesis request, with text streaming is enabled.

Parameters

  • personalVoiceName The name of the personal voice to be used for synthesis.

  • modelName The name of the model. E.g., DragonLatestNeural or PhoenixLatestNeural

Returns

A shared pointer to the new speech synthesis request instance.