Class PersonalVoiceSynthesisRequest

  • All Implemented Interfaces:
    AutoCloseable

    public class PersonalVoiceSynthesisRequest
    extends SpeechSynthesisRequest
    Represents a personal voice speech synthesis request for text streaming. This class is in preview and is subject to change.
    • Constructor Detail

      • PersonalVoiceSynthesisRequest

        public PersonalVoiceSynthesisRequest​(SpeechSynthesisRequest.SpeechSynthesisRequestInputType inputType,
                                             String personalVoiceName,
                                             String modelName)
        Creates a personal voice speech synthesis request with text streaming enabled.
        Parameters:
        inputType - The input type (must be TextStream).
        personalVoiceName - The name of the personal voice to be used for synthesis.
        modelName - The name of the model (e.g., "DragonLatestNeural" or "PhoenixLatestNeural").