post
https://apis.elai.io/api/v1/streams/render/
Synthesises text and streams the avatar speaking it over the open WebRTC connection. Queued behind anything already playing — use DELETE /streams/render/{streamId} to cut in.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
curl -X POST 'https://apis.elai.io/api/v1/streams/render/66a1f0c2b7cd13032a9c6200' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"text": "Hello, and welcome to the demo."
}'
Next: interrupt-stream-speech — cut the current playback short.
