类 SessionConfig

java.lang.Object
io.agentscope.core.model.tts.SessionConfig

public class SessionConfig extends Object
Session configuration for DashScope Realtime TTS.

This class represents the session configuration sent to the TTS service via WebSocket, including voice settings, format, and mode.

  • 方法详细资料

    • getMode

      public String getMode()
    • getVoice

      public String getVoice()
    • getLanguageType

      public String getLanguageType()
    • getResponseFormat

      public String getResponseFormat()
    • getSampleRate

      public int getSampleRate()
    • builder

      public static SessionConfig.Builder builder()