agentscope/examples/functionality/tts
xiaoxue 4060f1f09d 同步完整源码 - 2026-05-25 2026-05-25 01:46:32 +08:00
..
README.md 同步完整源码 - 2026-05-25 2026-05-25 01:46:32 +08:00
main.py 同步完整源码 - 2026-05-25 2026-05-25 01:46:32 +08:00

README.md

TTS (Text-to-Speech) in AgentScope

This example demonstrates how to integrate DashScope Realtime TTS model with ReActAgent to enable audio output. The agent can speak its responses in real-time.

This example uses DashScope's Realtime TTS model, you can also change to other TTS models supported by AgentScope, e.g. OpenAI, Gemini, etc.

To run the example, execute:

python main.py