Create External Livestream
/live/v1/external-livesCreates an external livestream session. Vidu uses the rtc_info you provide to join your RTC channel and prepare to push the avatar video.
Query Livestream Status
/live/v1/lives/{live_id}WebSocket Streaming Protocol
/live/v1/external-lives/{live_id}/streamThe WebSocket is the core channel for the external livestream: it carries control signaling as well as uploaded PCM audio and transcription text.
Establish Connection
Create an Avatar Asset
/live/v1/avatarsThis endpoint lets you upload a local image to Vidu in advance, to use as the avatar image when creating a session. Passing the avatar image in via this method can greatly reduce avatar creation time. Note that images are automatically deleted after 90 days.
Supports both URL and base64 formats; only a single [single-person] image is supported, in full-body / half-body and various styles. Formats: PNG / JPG / JPEG / WEBP; image size ≤ 50MB; the decoded base64 byte length must be < 20M and must include a content-type prefix, e.g. data:image/png;base64,{base64_encode}
API Overview
Method | HTTP Request | Description |
|---|---|---|
Create | POST /live/v1/avatars | Create an avatar asset |
Get | GET /live/v1/avatars/{id} |
Query an Avatar Asset
/live/v1/avatars/{id}Delete an Avatar Asset
/live/v1/avatars/{id}