SendAgentInstanceTTS
https://aigc-aiagent-api.zegotech.cn/
This interface can be used to actively call the TTS service to send voice messages as the identity of the AI agent. (1. When this interface is called, if the AI agent in the conversation is speaking, the speaking process of the AI agent will be interrupted; 2. The text message passed in through this interface will be recorded in the conversation message history according to the AddHistory parameter, as input to the LLM, and the message will also be sent through the RTC room message.)
Request
Query Parameters
Possible values: [SendAgentInstanceTTS
]
API Prototype Parameter
https://aigc-aiagent-api.zegotech.cn?Action=SendAgentInstanceTTS
The unique Application ID assigned to your project by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
Random string.
Unix timestamp, in seconds. The maximum allowed error is 10 minutes.
Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.
Possible values: [2.0
]
Signature version number, default value is 2.0.
- application/json
Responses
- 200
- application/json
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://aigc-aiagent-api.zegotech.cn/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'