<aside> 📌

Use the PixVerse OpenAPI to add an interactive avatar or continuous video generation to your product. These features are currently available only to accounts on the PixVerse Platform. This guide covers account setup, integration steps, how the systems interact, and the API calls for each mode.

If you don't have a PixVerse API Platform account, please contact Sales through https://docs.google.com/forms/d/e/1FAIpQLSc_gheZW6-Shj2QcdBLCH7Lq1KOB95uTgBC30KvQRKbvshQnA/viewform?pli=1 .

</aside>

The examples use sample values. Supply accessible media URLs, choose a voice returned by the API, and use the IDs and Agora connection parameters from your own responses. The two modes use separate sets of example IDs.

Mode Preset ID Reservation ID API session ID
M6 218369 141614570879168 141123011239600
Director Mode 218370 141614570879169 141123011239601

Contents

1. Features and integration options

Feature Input and interaction Output What you implement
M6 Interactive Avatar Configure the avatar's source image, persona, and voice. Interact using text or speech. Real-time audio and video over Agora, plus a final session video Call the OpenAPI from your backend. Integrate the Agora SDK and DataChannel control protocol in your client app.
Director Mode: segment-by-segment video generation Configure a World and submit a prompt for each segment. Optionally specify reference images and the first and last frames. An MP4 URL for each segment, plus a final session video Call the HTTP endpoints from your backend. Manage segment submissions, poll their status, and play the resulting videos in your app.

2. Before you start

2.1 Set up your account and enable access

Step What you do How PixVerse helps
Register your account Sign up on the PixVerse Platform, sign in, and provide your account ID. Confirms the account to enable.
Request API credentials Request an API key for the account on the platform. Store it on your backend. Helps verify API authentication.
Enable the service Specify the features you need, how many sessions you expect to run at once, and how many credits you want to purchase. Confirms the service period, expected usage, and fees, and helps enable access.
Test the integration Create a reservation, start a session, interact with the avatar or generate video, then close the session. Provides the environment URL, API documentation, and protocol support.

<aside> 📌

Account access. Confirm that the required features are enabled for your account and that you have enough credits for continued use.

Minimum credit balance. Unless your account is allowed to carry a negative credit balance, you need at least 300 credits to start a shared-mode session. You are billed based on usage and the agreed commercial terms.

</aside>

2.2 What to have ready for integration testing

For your first test, run the integration end to end with an existing preset. Create your own preset when needed.

Connection details. Keep the API key on your backend. Use the Agora connection parameters returned when you create the session.

3. How the systems interact