Let the Avatar Speak Directly
DevelopingPOST
/api/v1/streaming-avatar/speakLet the avatar speak something immediately.
Request
Body Params application/json
channel
string
required
channel
text
string
required
something you want the avatar speak
Example
{
"channel": "f84fd",
"text": "speak something"
}
Request samples
Responses
Success(200)
Bad Request(400)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
required
0 is OK
data
object
required
trace_id
string
required
Example
{
"code": 0,
"data": {},
"trace_id": "306b2b82-ab37-449c-82af-1bd68c264572"
}
Last modified: a month ago