AS AgentScopeAPI 手册 / API Reference
类class agentscope.tts

Parameters

class Parameters(BaseModel)
源码Source agentscope/tts/_dashscope/_cosyvoice_model.py:33–45

参数,处理低延迟的实时语音与多模态交互。位于 agentscope.tts 包。

Frontend-exposed parameters for DashScope CosyVoice TTS models. Declared in agentscope.tts.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
voicestr
语音字段。
Field(default='longanhuan', title='Voice', description='The voice to use for synthesis.')
realtimebool
判断是否到启用流式输入模式。
Field(default=False, title='Realtime', description='Whether to enable streaming input mode.')

属性详情Attribute Detail

voice

str = Field(default='longanhuan', title='Voice', description='The voice to use for synthesis.')

语音字段。声明为 str。

The voice to use for synthesis.

源码Source agentscope/tts/_dashscope/_cosyvoice_model.py:36

realtime

bool = Field(default=False, title='Realtime', description='Whether to enable streaming input mode.')

判断是否到启用流式输入模式。

Whether to enable streaming input mode.

源码Source agentscope/tts/_dashscope/_cosyvoice_model.py:41
基于官方固定版本源码静态生成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.