包package
agentscope.ttsagentscope.tts
module agentscope.tts
agentscope.tts 属于实时语音,低延迟语音与多模态会话。 该包共收录 9 个公开类型。
The TTS (Text-to-Speech) module in AgentScope.
源码Source
agentscope/tts/__init__.py:1类Classes
DashScopeCosyVoiceTTSModel类class | DashScope Cosy 语音 TTS 模型,处理低延迟的实时语音与多模态交互。 DashScope CosyVoice TTS model using the WebSocket SpeechSynthesizer. |
DashScopeRealtimeTTSModel类class | DashScope 实时 TTS 模型,处理低延迟的实时语音与多模态交互。 DashScope Realtime TTS model using the QwenTtsRealtime WebSocket API. |
DashScopeTTSModel类class | DashScope TTS 模型,处理低延迟的实时语音与多模态交互。 DashScope TTS model implementation using the MultiModalConversation API. For more details please see the `official document <https://bailian.console.aliyun.com/?tab=doc#/doc/?type=model&url=2879134>`_. |
GeminiTTSModel类class | Gemini TTS 模型,处理低延迟的实时语音与多模态交互。 Gemini TTS model implementation using the ``generateContent`` API with ``responseModalities: ["AUDIO"]``. For more details please see the `official document <https://ai.google.dev/gemini-api/docs/speech-generation>`_. |
OpenAITTSModel类class | OpenAI TTS 模型,处理低延迟的实时语音与多模态交互。 OpenAI TTS model implementation using the Audio Speech API. For more details please see the `official document <https://platform.openai.com/docs/guides/text-to-speech>`_. |
TTSModelBase类class | TTS 模型,使用 AgentScope的基类。 Base class for TTS models in AgentScope. |
TTSModelCard类class | 模型卡片类用于 TTS 模型。 The model card class for TTS models. |
TTSResponse类class | TTS 模型的响应。 The response of TTS models. |
TTSUsage类class | TTS 用量,处理低延迟的实时语音与多模态交互。 The usage of a TTS model API invocation. |