Real-time InteractiveAI Video Model - X2.0

Pioneering the world’s leading real-time
interactive video models.
Redefining the boundaries of both video content
and physical reality.

import { createXmaxClient, models } from "@xmaxai/sdk";
const model = models.realtime("x2.0");
const stream = await navigator.mediaDevices.getUserMedia({
video: {
frameRate: model.fps,
width: model.width,
height: model.height,
},
});
const client = createXmaxClient({
apiKey: "<YOUR_XMAX_API_KEY>",
});
const outputElement = document.querySelector("#video-output") as HTMLElement;
const realtimeClient = await client.realtime.connect(stream, {
model,
mirror: "auto",
remoteElement: outputElement,
});
// set() replaces the full state — prompt + reference image atomically
await realtimeClient.set({
prompt: "Flames burn on top of the head",
image: "<YOUR_REF_IMAGE_URL>",
});
realtimeClient.disconnect();

CharX

Replace anyone in your live camera feed or video with a designated avatar or celebrity in real-time. The new character perfectly mirrors the original person's expressions, gaze, and movements for a flawless identity swap.

ClothX

Switch your clothing seamlessly in milliseconds without any post-editing. The model automatically adapts to your body movements and environmental lighting, letting the new outfits flow naturally with your every move.

VibeX

Re-render the artistic style of your entire frame in real-time, seamlessly unifying both the subject and the background. Whether it is cyberpunk, classic oil painting, or anime, the world before you transforms instantly into an immersive visual stream.

MoX

Gently drag any static object across your touchscreen to instantly bring it to life. By simply sketching a motion trajectory, the model predicts and generates a continuous video flow in real-time, letting you animate flat images with an intuitive touch.

DimX

Summon virtual creatures directly into the physical world right in front of your camera. They seamlessly blend into your real environment and respond instantly to your gestures, allowing you to pet, play, and interact with them in real-time.

Copyright © 2026 Xmax AI, Inc. All rights reserved.