Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Real-time streaming API for interactive AI digital humans.
Vidu S1 is a commercial-grade streaming video generation model for real-time interactive digital humans. Through the Vidu S1 API, developers create live sessions in which an AI character sees, hears and talks with users — with unlimited-duration generation, 50+ voices and 28 languages. Unlike text-to-video models that render clips offline, Vidu S1 generates live video while the conversation happens: your user speaks, the character sees and hears them, and answers in quasi real time — with expression, voice and personality.
Integrate the Vidu S1 API in 6 steps:
/live/v1/lives with your character's persona, avatar image and voice returns a session ID plus RTC credentials.wss://api.vidu.com/live/ws/live/connect with authentication in the query string.POST /live/v1/voices/clone.What is Vidu S1? Vidu S1 is a commercial-grade streaming video generation model for real-time interactive digital humans. Through the Vidu S1 API, developers create live sessions in which an AI character sees, hears and talks with users — with unlimited-duration generation, 50+ voices and 28 languages.
When does billing start and how is usage metered? Billing starts the moment the digital character becomes ready and the session enters on_live — exactly when conn_init_ack.success returns true. The rate is 3 credits per 2 seconds, deducted every 6 seconds and rounded up to the nearest 2-second interval. Audio and video modes cost the same.
Can I interact with the digital character over HTTP only? No. HTTP is used to create and query sessions. Real-time audio and video are transmitted through the AliRTC channel (a separate SDK integration), and session control runs over a WebSocket signaling connection. All three channels together make one live session.
What should I do when the WebSocket returns NOT_READY? NOT_READY is expected in video mode — the character side is still preparing. Close the connection, wait briefly, reconnect and resend the init message, using exponential backoff (2s → 4s → 8s). If you receive LIVE_CONN_INIT_FAILED instead, that's permanent: create a new session.
How long can a single session last? The maximum session duration is 600 seconds; the server auto-disconnects when it's reached. For longer experiences, create a new session and reconnect — the underlying model itself supports continuous generation from 1 minute up to 2 hours without quality loss.
What happens when my credit balance reaches zero? The server automatically closes the connection with a credit_insufficient hangup reason. Each new session also requires a minimum balance of 45 credits to start.
Which languages and voices are available? 50+ preset voices, each supporting 28 languages including English, Chinese, Japanese, Korean, French, German, Spanish, Portuguese, Russian, Arabic and Hindi. Regional dialect voices (Cantonese, Sichuanese, Hokkien, Taiwanese Mandarin and more) are also available, and you can clone custom voices via the API.
Which API host should I use? Use api.vidu.cn for mainland China deployments and api.vidu.com for international ones. Authentication is a simple header: Authorization: Token vda_xxx. For WebSocket connections, pass the token in the authorization query parameter instead.
What avatar images can I use for the character? A single image with one person — full-body or half-body, any style (photoreal, anime, pet). PNG, JPG, JPEG or WEBP up to 50 MB, passed as a URL or Base64. Combined with a free-form persona prompt, it defines how your character looks and behaves.