AS AgentScopeAPI 手册 / API Reference
包package agentscope.tts

agentscope.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.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.