# I Tested Xmax X2.1: Real-Time AI Video at 1080p, With a Latency Reality Check

> A hands-on developer review of Xmax X2.1's real-time AI video model: webcam character swapping, measured latency, frame rate, image quality, failure cases, and what the credit system really costs.

- URL: https://avikmukherjee.com/blog/xmax-x21-real-time-ai-video-review
- Author: Avik Mukherjee
- Published: 2026-11-29
- Updated: 2026-11-29
- Tags: ai, video, xmax, review

I usually test AI video tools the way I test developer tools: not with a polished demo prompt, but by measuring what happens when a real input stream hits the product. Xmax AI reached out after my [v0 guide](/blog/a-practical-guide-to-building-real-projects-with-v0) and asked me to try **X2.1**, its real-time interactive video model, through the Xmax Creator Pilot.

**Disclosure:** Xmax invited me to the Creator Pilot and will add 3,600 X2.1 credits after this review is published and shared with them. I tested with the free evaluation credits already on my account; I had not received the Creator Pilot reward while writing this. Xmax did not review or approve this post before publication.

## My verdict

X2.1 is genuinely impressive as a real-time character-swap system. It produced a stable 1080p generated video from my webcam, preserved the layout of the room, and kept the character coherent across normal movement. The browser product is easy to enter: open the camera, pick a reference character, and the transformed stream appears.

The main caveat is latency. Xmax documents approximately **200 ms end-to-end latency**, but in my user-visible webcam test the motion response correlated best at roughly **870 ms**. That number is not a lab-grade refutation of Xmax's claim, because my measurement includes camera capture, browser encoding, network upload, inference, return transport, decoding and rendering. It is still closer to "live video with a short delay" than to something that feels instant.

The second caveat is cost visibility. Realtime usage is billed at **1 credit per second**, and billing starts when the realtime connection is established. At that rate, the 600 free evaluation credits are only 10 minutes of connection time. The product works well, but the web UI should make the running cost much clearer while a session is open.

If you are building streaming effects, interactive characters, shopping demos, or social video features, X2.1 is worth testing. If your product depends on precise sub-second visual feedback, measure it in your own network and client stack before committing.

## What X2.1 claims to be

Xmax describes [X2.1](https://platform.xmax.ai/docs/capabilities/realtime-video) as a general-purpose real-time interaction and video-editing model. The same model family supports character swapping, virtual try-on, free-form editing, touch interaction, and interactions between virtual elements and the physical world.

The important claims in the documentation are:

- up to **1080p** output for X2.1,
- approximately **200 ms end-to-end latency**,
- realtime billing at **1 credit per second**, approximately **$0.001667 per second** or **$6 per hour**,
- adaptive quality for changing network conditions,
- browser and mobile integration through the official web SDK.

The web platform also has batch and API modes, but I tested the realtime browser flow because that is the core promise: a live input video stream transformed as it happens.

## How I tested it

I used Chrome on a MacBook Air with the FaceTime HD camera. I tested the realtime **CharX** character-swap flow in the Xmax web platform, mostly with bundled reference characters.

I did not test every mode. Virtual try-on, free-form editing, batch generation, and the SDK integration are outside this review. The test was deliberately narrow:

1. measure how long the first generated output takes to appear;
2. inspect the input and output video tracks;
3. measure output frame cadence in a short clean sample;
4. compare input motion with output motion to estimate user-visible latency;
5. run short normal-motion and fast-motion sessions;
6. record credit usage from the platform's usage page.

This is a small test, not a benchmark suite. The network route, browser, camera, and machine all affect the result. I am publishing the exact numbers I saw rather than rounding them into a cleaner story.

## First run and interface

The realtime interface is simple. The left side contains the prompt, reference image, and mode selection. The right side asks you to open the camera, upload media, or start from a built-in asset.

![The Xmax X2.1 realtime interface before opening the camera](/images/xmax-review/interface-start.jpg)

One detail confused me at first: opening the camera starts the realtime session and generated stream, but the **Generate** button remains visible. That makes the state feel ambiguous. It looks as if generation has not started yet, even though the transformed output is already playing and the session is billable.

The docs are clear that billing starts when the realtime connection is established, not when a final artifact is exported. The UI should say the same thing at the point of use. A small indicator such as "connected — 1 credit/sec" next to **Stop Session** would prevent surprises.

## Output quality

At normal speed, the output was better than I expected. In one run I used a bundled cow-in-a-suit character reference. The generated video kept the room layout, clothing silhouette, and broad head position while replacing the person with the reference character.

![X2.1 realtime output at normal speed](/images/xmax-review/stable-output.jpg)

The important part is not the character choice; it is the temporal stability. The output did not collapse into a different face every few frames. Horns, ears, suit, and background stayed coherent across the session. For live video, temporal consistency matters more than any single sharp frame.

The model still behaves like a generative video system, not a lossless filter. In the faster movement and close/back test, fine detail degraded. The input frame itself had motion blur, and the output did not recover from it. The head and horn edges became softer and slightly distorted.

![X2.1 output during a faster movement frame](/images/xmax-review/motion-stress-output.jpg)

That is not a fatal flaw. It is the kind of degradation I would expect when a low-latency generative model has to preserve identity, motion, and scene structure at the same time. But it means X2.1 is not magic: fast motion, partial occlusion, and poor input video will still show up as visual artifacts.

Two failure modes were especially telling. During fast movement, the generated cow head did not fully hide my ear; the ear sometimes remained visible around the edge of the generated mask, breaking the illusion. The mouth mapping was also wrong in an interesting way: when I spoke, the cow's mouth often did not open. Instead, the movement appeared around the nose and muzzle, as if I were talking through the cow's nose. Coarse pose tracking was good, but fine facial-part mapping was not reliable.

A quieter frame after the motion test became stable again:

![X2.1 output stable again after motion](/images/xmax-review/profile-output.jpg)

## The measured numbers

These were the most useful measurements from my runs:

| Measurement | What I observed |
| --- | --- |
| Camera input track | 1280×720, nominal 30 fps |
| Generated output track | 1920×1080, nominal 24–25 fps |
| First output after opening camera | about 4.7 seconds |
| Clean 5-second output sample | about 21.4 fps by `requestVideoFrameCallback` |
| Strongest motion-latency estimate | about 871 ms, correlation 0.707 |
| Realtime price in the usage log | 1 credit per second |
| Credits used in my testing | 405 credits total |
| Remaining free evaluation balance | 195 credits |

The 4.7-second startup number is the time from clicking **Open Camera** to the first non-black generated frame. That includes camera initialization and realtime connection setup, not just model inference. It felt acceptable for a web product, though it is not instant.

The output video track reported itself as 1920×1080. In the clean sample, the browser presented roughly 21 frames per second against a nominal 24–25 fps track. I would not treat that as a precise model frame-rate benchmark because browser automation, occlusion, and adaptive quality can all affect presentation. The important observation is that the stream was close to its advertised frame cadence in a normal run.

## Latency: what I measured, and what it means

The interesting measurement was motion latency. I wanted to know whether the output responds like a live mirror or like a generated video running noticeably behind the input.

I sampled the webcam input and generated output in the page at roughly 26 samples per second. For each frame I converted the image to grayscale and measured frame-to-frame motion energy. Then I cross-correlated the input motion signal with the output motion signal. If the output follows the input after a delay, the correlation should peak at that delay.

The strongest peak was at **23 samples**. With a measured sample interval of 37.9 ms, that is approximately:

```text
23 × 37.9 ms = 871.7 ms
```

The correlation at that lag was **0.707**, which is strong enough to be meaningful for this rough method. A noisier first pass peaked closer to 1 second but with a much weaker correlation, so I trust the second pass more.

This is not the same thing as a server latency measurement. It includes the whole user-visible pipeline:

```text
camera capture
→ browser video encoding
→ network uplink
→ model generation
→ network downlink
→ browser decode and rendering
```

Xmax's documented 200 ms figure may measure a different part of that pipeline, use a controlled network, or exclude client-side capture and rendering. The docs do not define the boundary precisely enough for me to compare the two numbers directly.

Still, as a user experience, the motion loop I saw felt closer to a second than to a video-call mirror. For streaming effects and character overlays, that is usually acceptable. For precise gesture interaction, sign-language-like motion, or interfaces where the user expects immediate visual feedback, it is something you must test in the real client environment.

## Credit usage is accurate, but easy to underestimate

The usage page matched the documented rate almost exactly:

| Session or event | Credits used |
| --- | ---: |
| 4m 25s realtime session | 262 |
| 47s realtime session | 44 |
| 48s realtime session | 45 |
| Final scripted playground test | 40, measured by the before/after credit balance |
| API recording test | 14, reported by the session and temporary-key status endpoints |

That is approximately 1 credit per second. Across the whole test I spent **405 credits**. Since new accounts start with 600 evaluation credits, the free tier is effectively about ten minutes of realtime connection time.

At the documented approximate value of $0.001667 per second, my test consumed roughly $0.68 worth of credits. That is inexpensive for a review, but it is not something you want running accidentally in a browser tab. The cost model is honest and the usage page is detailed; the missing piece is a prominent running-cost indicator inside the session itself.

## What the network shape suggests

While testing, the page created a remote video track and made requests to Agora-related endpoints. That suggests a WebRTC-style realtime transport layer rather than a conventional request/response video-generation API. This is a sensible architecture for interactive video: WebRTC-style transport is designed for low-latency media, packet loss, and adaptive quality in a way ordinary HTTP video generation is not.

I would not over-read this as a complete description of Xmax's infrastructure. It is only what is visible from the browser. But it does explain why the product feels closer to a live video call than to a queue of generation jobs.

## What the API integration looks like

I built a small local Web SDK harness and recorded a 15-second cow character-swap through the API. The harness is public at [Avik-creator/xmax-x21-api-test](https://github.com/Avik-creator/xmax-x21-api-test). It used a temporary, credit-capped key rather than exposing a permanent key in browser code. The API session consumed 14 credits.

Xmax uses the right key separation. Permanent `uk-` keys are for your backend only. Browser and mobile clients should receive temporary `tk-` keys, created by your backend through `POST https://api.xmax.ai/open/api/v1/temporary-api-key`. Temporary keys can have an expiration time, credit limit, and concurrent-session limit. Never hardcode a permanent key in browser code, a mobile app, or a public repository.

The web lifecycle looks like this:

```ts
import {
  CameraPosition,
  RealtimeConfiguration,
  RealtimeContext,
  RealtimeModel,
  RealtimeCameraPreset,
  XmaxClient,
  XmaxConfiguration,
  XmaxEnvironment,
  XmaxRealtimeDualVideoView,
} from '@xmaxai/web-sdk'

const client = new XmaxClient(new XmaxConfiguration({
  apiKey: temporaryApiKey, // fetched from your backend
  environment: XmaxEnvironment.global,
}))

const realtime = client.createRealtimeManager(
  new RealtimeConfiguration({ model: RealtimeModel.x2_1 })
)

const videoView = new XmaxRealtimeDualVideoView()
videoView.attach(document.getElementById('video-container')!)

const localStream = await realtime.createLocalCameraStream({
  preset: RealtimeCameraPreset.resolution1920x1080,
  position: CameraPosition.front,
  useMicrophone: false,
})
videoView.localTrack = localStream.videoTrack

const remoteStream = await realtime.startGeneration({
  localStream,
  context: new RealtimeContext({ prompt, referencePath }),
})
videoView.remoteTrack = remoteStream.videoTrack

// When finished, stop generation and release resources.
await realtime.close()
```

Here is the actual 15-second recording produced through that SDK path:

<video
  src="/videos/xmax-x21-api-cow.mp4"
  poster="/images/xmax-review/api-cow-poster.jpg"
  controls
  playsInline
  preload="none"
  style={{ width: '100%', borderRadius: '12px', background: '#000' }}
/>

The SDK gave much better visibility than my DOM-level playground measurement. These were the important numbers from the API run:

| API measurement | What I observed |
| --- | --- |
| Camera stream creation | 1.489 seconds |
| Session creation | 1.635 seconds |
| RTC room join | 491 ms |
| Local media publish | 54 ms |
| Generation first frame | 1.242 seconds |
| Render warmup | 751 ms |
| Camera open to remote warmup | 5.669 seconds total |
| Recorded video | 14.967 seconds, 1728×972, about 24 fps |
| Uplink camera | 1280×720, mostly 24–30 fps sent |
| Downlink generated video | started at 1728×972, then adapted to 1920×1080 |
| Decode/render rate | 24–25 fps |
| Packet loss | 0% in both directions during the short test |
| Downlink bitrate | about 2.77–3.79 Mbps |
| RTC estimated media E2E delay | 210–279 ms after the first sample |
| API session cost | 14 credits |

The RTC delay number needs careful reading. Xmax's own SDK documentation says this is the provider's estimated media end-to-end delay, **not** the complete AI processing latency; Agora's `end2EndDelay` also excludes encoding and decoding time. So it does not directly contradict the roughly 871 ms user-visible motion lag I measured in the playground. The right interpretation is narrower: the realtime transport can operate in the few-hundred-millisecond range, while the complete camera-to-generated-motion loop can still feel closer to a second.

The recording itself came from `setRemoteMediaTracksListener()`, which exposes the generated video as a borrowed `MediaStreamTrack` suitable for `MediaRecorder`. That is a useful API decision: application developers do not need to reverse-engineer the SDK video view just to save or process the generated stream.

A few API details are important in practice:

- `startGeneration()` can be called again during a session to update the prompt or reference image without reconnecting.
- Reference images must be online URLs. Local images first go through the SDK's storage service with `uploadImage()`.
- `disconnect()` stops generation and billing while keeping the local media stream reusable. `close()` stops billing and releases local media and realtime resources.
- The SDK exposes callbacks for connection state, network quality, launch timing, uplink video statistics, downlink video statistics, and remote media frames.
- The downlink statistics include decode/render rates, bitrate, packet loss, resolution, and RTC delay. In my API run they showed 24–25 fps output, zero packet loss, adaptive resolution recovery to 1080p, and 210–279 ms RTC media delay.
- At the time of writing, `@xmaxai/web-sdk` was version 1.1.5. Its public dependencies include `agora-rtc-sdk-ng` 4.24.8 for X2.1, `@volcengine/rtc` 4.69.3 for X2.0, TRTC for supported custom models, and COS storage.

That last point confirms what the browser network traffic suggested: X2.1's web realtime path is built around Agora. The API design is pragmatic rather than elegant, but it exposes the right controls for production work: scoped temporary keys, session limits, quality adaptation, statistics, frame callbacks, and explicit teardown. The main documentation polish issue I noticed is that the English quickstart still uses a Chinese prompt string in its example. Functionally harmless, but confusing for a quick copy-paste test. I also found the SDK documentation honest about what its RTC delay metric does and does not include; I wish the top-level 200 ms marketing claim were equally precise.

## Where X2.1 falls short

The model itself is promising. The weaknesses I found are mostly around measurement clarity, fine facial mapping, and product polish:

1. **The latency claim needs a precise definition.** "200 ms end-to-end" should say what is included: network, inference, encoding, decoding, or only server processing. My user-visible result was much higher.
2. **The session UI should expose cost continuously.** Opening the camera starts a billable realtime connection even though the Generate button remains visible. The UI should show connection state, credits per second, and elapsed billable time.
3. **Fast input motion still degrades output and fine facial mapping is weak.** Fine detail smears when the input is blurred or moving quickly. In my test, the cow mask also failed to fully cover my ear, and speech movement often appeared around the nose instead of opening the cow's mouth.
4. **The free trial goes quickly.** Ten minutes is enough for a first test, but not enough to evaluate several modes carefully. Developers will need to plan tests tightly or buy credits.
5. **The browser playground is not the whole product.** A serious integration still needs the SDK, temporary keys, session management, error handling, and product-specific latency measurement.

## Who should try it

X2.1 is worth testing if you are building:

- live character effects or streaming overlays,
- interactive shopping or social video demos,
- real-time creative tools where a sub-second but not instant response is acceptable,
- browser-based video experiences that need generated output without a long render queue.

Be more cautious if you need exact gesture feedback, high-speed motion fidelity, or strict guarantees about frame timing. In those cases, benchmark the full path in your own client rather than relying on either Xmax's marketing number or my browser measurement.

For me, the interesting part is that X2.1 makes real-time generative video feel plausible as a product primitive. It is not just "generate a clip and wait." It is a live media stream with cost, transport, adaptive quality, frame cadence, and latency trade-offs. That is the right shape for this category. The model is good enough to be useful now, but the next important improvements are not only visual quality. They are measurement clarity, cost visibility, better facial-part mapping, and closing the gap between claimed and user-visible latency.
