Limited-time Thanksgiving offer · 50% off platform fees for new users’ first 7 days (1.25% instead of 2.5%). Sign up by Dec 1. Sign up now → Details
Discord

Live video & world models

Face swap show

A face swap show (mode: "swap") puts a real performer on camera and streams them as another character: the model replaces how they look (the whole body, not just the face), while their movements, expressions and mouth stay theirs. There is no AI host and no script: a person performs. It is the third kind of live show, next to the selling show and the interactive host.

The stream always says it is AI-generated. The label is part of the stream, drawn by the show's stage, not by the performer's page, so the performer cannot turn it off.

Create a face swap show: POST /v1/live-shows

{
 "name": "Friday stream",
 "mode": "swap",
 "destination_id": "dst_...",
 "swap": {
  "model": "reactor/xmax-x2-1",
  "source_face_consent": true,
  "label": {
   "text": "AI-generated",
   "position": "bottom-left"
  }
 }
}

How it works

Three things run, and you pay for two of them separately:

PartWhat it doesBilled
The performer's pageRuns in the performer's browser. It takes the camera and microphone, sends the camera and a picture of the character to the swap model, receives the swapped picture, and publishes it (with the voice) into the show's room. In Live Streaming Studio it is /live-studio/performer/{run_id}; through the API you build it, or use the same client library it uses.-
The swap modelA real-time video model that replaces how the performer looks. The page opens it as an ordinary live-video session (POST /v1/live-video/sessions). The model is chosen by you from the list in GET /v1/live-shows/options (swap_models).Per second of the session, at that model's own price
The showThe stage puts the performer's published picture and voice on air with the AI label and pushes it to your destination (or records a preview file). The meter starts when the performer's first frame is on air. If the picture does not reach the stream within 60 s of the performer publishing, the run ends and the show is not charged.Per minute on air (swap.price_per_minute_usd in GET /v1/live-shows/pricing)

When the show ends (you stop it, the time you set runs out, the performer is away too long, or the server loses it), the model sessions the performer's page opened through Live Streaming Studio are ended with it. If you open the model session yourself through the API, end it yourself (POST /v1/live-video/sessions/{id}/end) or let its heartbeat lapse.

Choosing a model

GET /v1/live-shows/options lists swap_models: only models that are available right now and that the performer page can drive. Each has its price per hour, a measured delay and a short note. The measurements are ours, from one clip and one reference picture (2026-11-25), not a benchmark:

ModelPriceDelayLooksMovement
reactor/xmax-x2-1 (X2.1, default)about $6.27 per hourabout 0.5 sGood: same costume, the face drifts a littleBest: mouth and gestures follow closely
vidu/vidu-s2-editing (Vidu S2 Editing)about $18.45 per hourabout 1.2 sBest: matches the reference face, hair and clothesGood: arms and head follow

A model whose host is unavailable (out of funds, no capacity, no confirmed price) is left out of the list, so a model you chose earlier may not be offered later: pick again. Other real-time editing models exist in the live video catalogue; they are not offered for face swap shows because the performer page cannot drive them yet.

Keep the performer's tab open and visible. Browsers slow hidden tabs, which makes the picture stutter. The page shows "Reconnecting" on the stream if the model stops sending a picture for 4 seconds.

Quickstart

  1. Create a destination (Twitch, YouTube, ...): POST /v1/live-destinations, or leave destination_id out and set preview: true to record a file instead. See the guide.
  2. Create the face swap show: POST /v1/live-shows with mode: "swap", as above. swap.source_face_consent must be true.
  3. Go live: POST /v1/live-shows/{id}/start. Leave max_minutes out and the show runs until you stop it; give it to end the show by itself after that long. The run starts in starting. The meter does not start until the performer is on air.
  4. Open the performer page: in Live Streaming Studio this is your backstage, /live-studio/performer/{run_id}. Or call POST /v1/live-show-runs/{id}/performer for the room address, the token and the show's destination (platform and name, never the stream key; null for a preview recording) and build your own page.
  5. Perform. Pick a picture, press Start broadcasting. The backstage offers ready-made characters, outfits and backgrounds in three tabs, or you upload your own; you can switch while the model is running. One picture applies at a time. Our measurements are of character swaps; outfit and background changes are not yet measured. When the model returns a picture the page publishes it; the run becomes live and the stream is on air.
  6. Stop: POST /v1/live-show-runs/{id}/stop, or press End show in the backstage. Billing stops and the model sessions Live Streaming Studio opened are ended.

The easiest way is Live Streaming Studio: /live-studio, then New show and Face swap show. Pick the model from the list (with its price and delay), confirm you may use the character's appearance, set the label and destination, and save. Go live in the show list tells you which channel it will stream to, then opens your backstage. There you see your own camera and what viewers see, the channel, the time on air and the show fee; you change character, outfit, background and voice while on air, and end the show. Nothing is on air until you press Start broadcasting. There is no length to set: the show runs until you end it. Voice: keep your own, or pick an AI voice. It uses the platform's real-time voice changer, billed separately for the time you speak; speech comes back a few seconds later, so the backstage sends the picture about 4.5 seconds late to keep lips and voice together. While an AI voice is selected your microphone never reaches the stream: if the voice changer stops, viewers hear silence. No OBS or other broadcasting software is needed: the stream goes from our servers to the channel.

Try it before you go live

In Live Streaming Studio, Preview on a face swap show opens your camera and runs the show's swap model on it, with the AI label drawn where it will be on the stream. Nothing is streamed and the show fee is not charged, but the model does run: it is billed as a live-video session for the seconds it runs, and it stops by itself after 2 minutes. Opening the page costs nothing; pressing Start preview starts the charge.

There is no preview endpoint for a face swap show in the API (POST /v1/live-shows/{id}/preview answers 409 not_supported): from your own code, open the swap model yourself with POST /v1/live-video/sessions and a short max_duration_seconds.

Doing it from your own page

A custom performer page does four things. The model part uses the same client library as any live-video session:

  1. Call POST /v1/live-show-runs/{id}/performer from your server (it needs your API key) and give the page lk_url and lk_token. The token can only publish a camera and a microphone, as the participant performer.
  2. Open the swap model with your own key or a browser token: POST /v1/live-video/sessions with model set to swap_model.id. Connect to it with the host's browser SDK and send it the camera and the character picture (the X2.1 and Vidu snippets are in the live-video docs).
  3. Draw the model's picture onto a 1280×720 canvas at 30 fps and publish canvas.captureStream(30) to the LiveKit room (livekit-client, source: Camera), and publish the microphone (source: Microphone). Delay the microphone by the model's delay (the table above) so lips and voice line up.
  4. Heartbeat the model session while you perform, and end it when you leave.

The show's stage picks up whatever performer publishes. If the performer is gone for 2 minutes the run ends as abandoned; shorter gaps show a "Be right back" slate and keep billing, because the stream is still on air.

Voice

The swap model changes how the performer looks, not how they sound. The voice that goes on air is the performer's own microphone, delayed to match the model's picture. The show has no voice setting.

Live Streaming Studio's performer page has a Change my voice switch (experimental, off by default) with a pitch slider, plus or minus 8 semitones, that can be changed while on air. It makes your own voice higher or lower; it does not turn it into someone else's, and it is approximate. A page you build yourself can process the microphone however it likes before publishing it.

Sounding like another particular person is not available: it needs a real-time voice converter and the same consent process as a face, and neither is built.

Safety, and what is not allowed

A face swap show can be abused to impersonate someone, so it is deliberately restrictive. This is what the service does and what it asks of you:

RuleHow it is enforced
The audience is told. The stream carries an AI label, 1 to 40 characters, in a corner you choose.Drawn by the show's stage (a page the performer cannot edit), so it cannot be turned off from the performer's side. A blank label is refused with invalid_label.
The right to the appearance. You affirm that you have the right to use the character's appearance and will not use it to pass as a real person who has not agreed.A show cannot be created without swap.source_face_consent: true; the time it was given is stored on the show.
No pause. There is no host to pause: the performer simply steps away.pause is refused with not_supported.
Not left running. A performer who never comes costs nothing; one who leaves is ended after 2 minutes.The meter starts only when the first frame is on air; the run ends as abandoned when the performer has been away for 2 minutes.
What is not verified. The affirmation is a declaration: we do not check whose likeness a character picture shows. Do not use the feature to appear as a real person who has not agreed, to pass as someone you are not in a way that deceives the audience, or for payments, identity checks or video calls: the stream is for broadcast. Platform rules apply as well (for example, TikTok Shop does not allow AI-generated voices in promotional LIVEs, and requires AI labelling). See Safety in the guide.

Limits and known issues

  • Time on air: there is nothing to set: a run started without max_minutes lasts until you stop it (safety ceiling: swap_max_minutes in GET /v1/live-shows/options; the run reads open_ended: true). Credit for the show is held 10 minutes at a time, the next block before the last runs out; if your balance cannot cover more, the run ends with credits_exhausted and you are never billed past what was held. A model session still has a fixed length (at most its max_session_sec, 30 minutes for X2.1 and Vidu; shorter in the backstage when your balance cannot hold that much): open the next one before it ends. The Live Streaming Studio backstage does this for you; with X2.1 it connects the next session first, with Vidu viewers see a short "Reconnecting".
  • One show at a time per organization, as for every live show.
  • Delay: the audience sees the picture about 0.5 to 1.2 s after the performer moves (the model), plus the stream's own delay. Chat answers are not delayed by this: you are live, not a script.
  • One performer in frame. The models were tested with one person; a second person entering the frame, fast turns and covering the face are not tested.
  • Stalls. A model's picture can stop for a few seconds (seen once in testing). The page then shows "Reconnecting" on the stream and in its log; if it does not come back, Leave and Start again.
  • Browsers: Chrome and Edge are tested. The page needs the camera, the microphone and a visible tab.