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

AI live shows

A live show is an AI host that streams to Twitch, YouTube, Facebook, TikTok, Kick or any RTMP address and keeps going for as long as you pay for it. It has a face, a voice and something to say. You describe the show once, press go live, and we render the avatar, write and speak the lines, read the chat, answer viewers and push the video.

A show has a mode. Three are available; the fourth is not yet. The question that decides between the first two: must everything the host says match a product card?

ModeWhat the host doesYou give it
programmeA selling show that runs unattended. It presents your products one after another, shows the right picture for each line, and answers viewers from your product card and knowledge base. It never states a price, promise or feature you did not give it.1 to 12 product cards, an optional knowledge base, a face and a voice
interactiveA chat host: it talks with the chat, in character, with a short memory of the conversation. Your knowledge base is background it can draw on. There is no product card to be faithful to.A name, a character description, optional topics, an optional knowledge base, a face and a voice. See Interactive host.
swapA real performer on camera, shown on the stream as another character that makes the same movements and expressions (the whole body, not just the face). There is no AI host: a person performs, a real-time video model swaps how they look, and the stream always says it is AI-generated.A swap model, your affirmation about the character's appearance, the label, a destination. See Face swap show.
generativeA show whose picture is generated live by one of the Live video models (a world model, real-time generation or real-time editing) instead of an avatar. Not available yet: creating a show in this mode returns mode_unavailable.-

Choose programme to sell specific products, where a wrong price or promise is not acceptable. Choose interactive when the conversation is the point. Both answer chat; what differs is what the host is held to.

You can use it without writing code. Everything on this page is also in the Live Streaming Studio console (/live-studio, under Creator → Studios): connect a platform, fill in the product card, add a knowledge base, pick a face and voice, press Go live. Both are the same service: a show you create in the console is a show in the API, and the other way round. See Live Streaming Studio.

This page is the overview and the quickstart. The details are on other pages: the selling show (product cards, knowledge base, host), the interactive host (persona, how it answers the chat), the face swap show (a real performer as a character) and the API reference.

The three things you manage

ObjectWhat it isEndpoint
DestinationWhere the video goes: a Twitch, YouTube or custom RTMP target with its stream key. The key is stored encrypted and only its last four characters ever come back./v1/live-destinations
ShowThe configuration: mode, products or persona, knowledge base, host face, voice and a destination (or preview, which records a file instead of streaming). Editing a show never affects one that is on air./v1/live-shows
RunOne time a show was on air: its status, how long it ran, what it cost, and an event log of what the host said and which comments it answered./v1/live-show-runs

Everything is scoped to your organization. An id from another organization answers 404, the same as a missing one. Calls need the live_show scope, which new API keys have.

  • One show at a time per organization by default (concurrency_limit, 429, if you start another).
  • Preview first. A show with "preview": true and no destination renders the same stream into a recording instead of sending it anywhere. It costs the same per minute, so use a short run to check the host and the script, then connect a destination.

Quickstart: your first show in five calls

This records a two-minute preview of a selling show, so nothing is streamed anywhere. Replace the product with your own.

1. See what you can choose from

GET /v1/live-shows/options lists the modes, the host faces (platform presets, the gallery, and your own), the voices with a sample clip each, and the limits. It is free.

curl -X GET https://videorouter.sh/api/v1/live-shows/options \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY"

2. Create the show

A show needs a name, a product card (or, for an interactive host, a persona), a face and a voice. Both have defaults, but pick your own. Leave out destination_id and set preview to true.

curl -X POST https://videorouter.sh/api/v1/live-shows \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
 "name": "Summer bottle launch",
 "mode": "programme",
 "preview": true,
 "product": {
  "id": "aquakeep-24",
  "name": "AquaKeep steel bottle",
  "brand": "AquaKeep",
  "price": "19.99",
  "compare_at_price": "29.99",
  "stock": 42,
  "selling_points": [
   "Keeps drinks cold for 24 hours",
   "Keeps drinks hot for 12 hours",
   "Leak-proof lid"
  ],
  "specs": {
   "volume": "24 oz",
   "material": "18/8 stainless steel"
  },
  "faq": [
   {
    "q": "Is it dishwasher safe?",
    "a": "Hand wash is recommended."
   }
  ],
  "returns": "30-day returns",
  "buy_hint": "Tap the link below to get yours",
  "assets": [
   {
    "id": "hero",
    "kind": "image",
    "url": "https://cdn.example.com/aquakeep/hero.jpg",
    "caption": "The bottle on a desk",
    "tags": [
     "hero"
    ]
   },
   {
    "id": "lid",
    "kind": "image",
    "url": "https://cdn.example.com/aquakeep/lid.jpg",
    "caption": "Close-up of the leak-proof lid",
    "tags": [
     "lid",
     "detail"
    ]
   }
  ]
 },
 "knowledge_md": "# Warranty\nEvery bottle has a 2 year limited warranty.\n\n# Colors\nSlate blue, forest green and matte black.",
 "host": {
  "avatar_id": "avatar_3e3ce67f2e9d64f8dc9c42ba9283a1d75daaec4b2515a41b82c86861b397c26b"
 },
 "voice": {
  "provider": "elevenlabs",
  "voice_id": "cgSgspJ2msm6clMCkdW9"
 },
 "persona": {
  "name": "Mia"
 }
}'

The response is the show with an id like shw_.... knowledge_entries is how many entries your knowledge base was split into.

3. Check what the host will read (optional)

Before you spend anything, ask how your knowledge base was understood and which entries a viewer question would look at. This call makes no model request and saves nothing.

curl -X POST https://videorouter.sh/api/v1/live-shows/knowledge/preview \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"knowledge_md": "# Warranty\nEvery bottle has a 2 year limited warranty.\n\n# Colors\nSlate blue, forest green and matte black.", "question": "what colors does it come in"}'

Example response

{"object": "live_show_knowledge_preview",
 "entries": [{"id": "kb1", "title": "Warranty", "chars": 46, "source": "text", "excerpt": "Every bottle has a 2 year limited warranty."},
             {"id": "kb2", "title": "Colors", "chars": 39, "source": "text", "excerpt": "Slate blue, forest green and matte black."}],
 "total_chars": 99, "max_chars": 60000, "read_whole": true,
 "matches": [{"id": "kb2", "title": "Colors", ...}]}

4. Go live

max_minutes is the longest the show may stay on air; it is held from your credits up front and only the seconds actually on air are charged. The call returns 202 straight away; the show takes about half a minute to get on air while the scripts are written and spoken.

curl -X POST https://videorouter.sh/api/v1/live-shows/$SHOW_ID/start \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"max_minutes": 2}'

Example response (202)

{"id": "lsr_k3F9x...", "object": "live_show_run", "show_id": "shw_Qh...", "status": "starting", "max_minutes": 2,
 "created_at": "2026-11-24T22:40:01+00:00", "live_since": null, "ended_at": null, "end_reason": null, "error": null,
 "billed_seconds": 0, "cost_usd": 0, "reserved_usd": 1.739, "cost_breakdown": null, "paused": false, "price_per_minute_usd": 0.1196}

5. Watch it, pause it, stop it

status goes starting → live → ended. While it is live you can read what the host is saying and doing, take a break, and end it:

curl -X GET https://videorouter.sh/api/v1/live-show-runs/$RUN_ID/events?after=0 \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY"

curl -X POST https://videorouter.sh/api/v1/live-show-runs/$RUN_ID/pause \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY"

curl -X POST https://videorouter.sh/api/v1/live-show-runs/$RUN_ID/resume \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY"

curl -X POST https://videorouter.sh/api/v1/live-show-runs/$RUN_ID/stop \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY"

A preview run ends with a preview event whose data.url is the recording (the link works for 24 hours). A show that reaches max_minutes ends by itself with end_reason: "max_duration".

6. Stream for real

Connect a destination, point the show at it and turn preview off. The stream key is the one from your platform's stream settings.

curl -X POST https://videorouter.sh/api/v1/live-destinations \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform": "twitch", "label": "My Twitch", "channel": "my_channel", "stream_key": "live_123456789_abcdef..."}'

curl -X PATCH https://videorouter.sh/api/v1/live-shows/$SHOW_ID \
  -H "Authorization: Bearer $VIDEOROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination_id": "dst_...", "preview": false}'

Then start it as in step 4. For Twitch, channel is the login whose chat the host reads; see platforms.

Build a show, step by step

The same three things in Live Streaming Studio and in the API: channels (where to stream), products (what you sell) and shows (what the host does with them). Each can be created, read, edited and deleted.

1. Add a channel

Under Channels, press Add channel, choose Twitch, YouTube or another RTMP target, give it a name and paste the stream key. The key is checked with the platform before it is saved. Edit changes the name, the Twitch chat channel or the key (leave the key empty to keep it); Remove erases it. A channel cannot be connected twice.

API: POST /v1/live-destinations, GET /v1/live-destinations[/{id}], PATCH /v1/live-destinations/{id}, DELETE /v1/live-destinations/{id}. See platforms.

2. Add your products

Under Products, press New product: name, price, selling points and pictures (or paste a listing and Extract). Keep each product once; any show can use it. Edit updates the product and its copy in your shows; Delete removes it from the list (shows that already use it keep playing).

API: POST /v1/live-products, GET /v1/live-products[/{id}], PUT /v1/live-products/{id}, DELETE /v1/live-products/{id}. See your products library.

3. Create the show

Under Your shows, press New show, choose Selling show (or Interactive host) and name it. A selling show is set up in three tabs:

  1. Shots. One shot per product, played in this order. For each shot: choose the product, pick a style (Quick pitch, Flash sale, Show and tell, Chat and answer) and press Generate script: the model writes a script for that product, as long as the time you set in Time on each shot. Edit it freely, write your own, or leave it empty and the host writes its own pitch when you go live. Reorder or remove shots with the arrows and Remove. See scripts.
  2. Knowledge base. What the host may say when a viewer asks something the product does not cover: policies, colours, what is in the box. Upload files, write notes or paste Q&A. Optional, and the host only answers from it and the product. See the knowledge base.
  3. Host & stream. The host's face and voice, its name, and where to stream: choose one of your channels, or none to record a preview. See the host.

Press Save show. Reopen it any time with Edit to change it (not while it is on air), or Delete show inside the editor.

API: POST /v1/live-shows with products as shots ({"product_id": ..., "script": ...}), knowledge_md, knowledge_qa, voice, host and destination_id; then GET /v1/live-shows[/{id}], PATCH /v1/live-shows/{id} and DELETE /v1/live-shows/{id}. To have a script written first: POST /v1/live-shows/generate-script. See the API reference.

4. Preview, then go live

Preview plays the real show in the page without streaming anywhere (about 2 minutes). Go live streams to the show's channel for up to the minutes you choose. See what happens when you press start.

What happens when you press start

  1. Checks. The show has a destination (or is a preview), the destination still exists, the show is not already running, your organization is under its limit, and your credits cover max_minutes at the current price. Otherwise you get an error and nothing happens.
  2. Hold. max_minutes × the per-minute price, plus a small allowance for voice (variable_hold_usd), is held from your credits (reserved_usd). Only what was used is charged and the rest is returned.
  3. Preparing (status: starting). For a selling show, a shot with your own script is simply spoken: the host reads exactly your lines, so nothing is written. A shot without one gets a few scripts the host writes from the product card, each line checked against the card, and spoken ahead. Common answers (price, stock, shipping, returns, your questions and answers) are spoken ahead so they play without delay. This is not billed.
  4. On air (status: live, live_since is set). The avatar joins, the stream starts, the meter starts. The host works through the programme and answers chat as it arrives.
  5. Ending. You stop it, it reaches max_minutes, or something fails. The run is settled exactly once: the real seconds on air are charged and the rest of the hold goes back.
`status`Meaning
startingHeld and preparing. Nothing is billed yet; if it fails here you pay 0.
liveOn air and billing. paused says whether the host is taking a break.
stoppingA stop was asked for; it settles within a couple of seconds.
endedSettled. billed_seconds, cost_usd and end_reason are final.
`end_reason`Meaning
clientYou stopped it.
max_durationIt reached max_minutes.
finishedThe run ended normally without being stopped or reaching its cap.
host_errorSomething on our side or the avatar host failed. error has the message (never your stream key). If it never reached the air you pay 0.
platform_rejectedThe platform refused or dropped the stream (bad or expired key, a channel that cannot go live yet). Fix the destination and start again.
abandonedThe process running the show stopped reporting. The seconds that were on air are charged, the rest is released.
credits_exhaustedReserved for a run your credits could not cover. Not produced today, because the whole hold is taken when the run starts.

Billing

  • Per second on air. You are charged for the seconds between live_since and the end, never for preparation, and never for more than max_minutes.
  • A hold, not a charge. The hold is released when the run ends, minus what you used. A run that fails before it reaches the air is charged 0 and the whole hold is released.
  • Pausing does not stop the meter. The stream is still on air while the host is paused. Use stop to end the bill.
  • A forgotten show cannot run away. Every run has the max_minutes cap, and a run whose process stops reporting is settled and released automatically.
  • The price has two parts. A flat rate per minute for the seconds the show is on air (the avatar and the stream), and the voice and language-model use of your show, charged by use: per second of speech for the voice and a small amount per model-written answer, at the rates in GET /v1/live-shows/pricing. A line the host voiced before is reused and not charged again, and a question your product card answers costs nothing. The rates are provisional (the response says so). Each finished run lists what it was charged item by item in cost_breakdown.
  • Voice cloning (POST /v1/audio/voices) is a separate, one-time charge; see hosts.
The longest run is 55 minutes today (one avatar session lasts up to 60 minutes). Longer broadcasts need the show to be started again; rotating sessions automatically is not built yet.

What the host will and will not do

A live host speaks to the public, so the rules are strict and are applied in code, not just asked of a language model.

Selling shows: only what is on the card

  • Every line the host writes is checked before it is spoken: a number, price, discount, guarantee, certification or feature that is not on the product card (or in your knowledge base, for an answer) is left out, and never stops the show (the run's events say what was left out). Number words ("twenty four hours") are checked as well as digits. Answers to viewers are always checked.
  • A script you write (or generate and keep) is read exactly as it is and is not checked: the words are yours, so check prices and claims yourself. See scripts.
  • Pictures must be ones you supplied; a line can only show an asset from the card, of the right kind.
  • forbidden_claims on the card are phrases the host may never say.
  • A question the card and the knowledge base cannot answer gets an honest "I do not have that detail" and is flagged needs_human in the events, so you can add the answer. It is never guessed.

Chat: who gets airtime

  • Known bots and chat commands are skipped.
  • One viewer cannot monopolise the host (a short per-viewer cooldown), a burst is capped per minute, and the same question asked again within seconds is answered once.
  • The queue is short so an answer is never read out long after the question.
  • Viewer text is data: "ignore your instructions" is a comment like any other, not a command.

Interactive hosts

  • The host can decline a viewer (trolls, off-limits requests) instead of answering.
  • What it says out loud is cleaned: no links, no markdown, no phone numbers or e-mail addresses read out, and each reply is length-capped.

It says it is an AI

The stream always shows that the host is AI-generated, and the host says so if a viewer asks.

What you are responsible for

  • The face. Uploading your own face needs source_face_consent: it is yours, you have the person's permission, or it is generated and shows no real person. The consent time is recorded.
  • Your product, pictures and claims. You confirm you have the right to use them. We do not verify that what you put on the card is true: the host is faithful to the card, not to the world.
  • The platform's rules. Platforms have their own rules about AI-generated and unattended streams, and new channels may need approval before they can go live. We have not checked every platform's current policy; read the one for yours.
  • Test accounts. Twitch has no private mode: try things on a test channel.

Platforms

PlatformStream keyChatNotes
Twitchdashboard.twitch.tv → Settings → Stream → Primary Stream keyRead, when you give channel (the login). The host answers viewers there.Two-factor authentication must be on. Server rtmp://live.twitch.tv/app is the default.
YouTubestudio.youtube.com → Create → Go live → Stream → Stream keyNot read yet: the show runs, but the host does not see YouTube chat.A new channel can wait up to 24 hours for live access. Server rtmp://a.rtmp.youtube.com/live2 is the default.
Facebook (facebook)facebook.com/live/producer → Streaming software → Stream keyNot read.Server rtmps://live-api-s.facebook.com:443/rtmp is the default.
Trovo (trovo)Trovo Studio / dashboard → Stream keyNot read.Server rtmp://livepush.trovo.live/live is the default.
Restream (restream)app.restream.io → Streaming setup → Stream keyNot read.Server rtmp://live.restream.io/live is the default. One stream there fans out to every platform you added in Restream.
TikTok, Kick, Instagram, X, LinkedIn, Rumble (tiktok, kick, instagram, x, linkedin, rumble)The streaming-software page of the platform's live tool: it shows a server URL and a stream keyNot read.These platforms give each account (TikTok, Instagram, X and LinkedIn: each go-live) its own server address, so rtmp_url is required. TikTok keys expire within minutes: connect right before you start the show.
Anything else (custom)The key your platform gives youNot read.Give an rtmp:// or rtmps:// address in rtmp_url. It must resolve to a public host; private, loopback and link-local addresses are refused so a destination cannot be used to reach inside our network.

The stream is 1280×720 at 30 fps, H.264 video at 2.5 Mbps and 128 kbps audio, which Twitch and YouTube both accept. A destination's stream key is write-only: the API returns only its last four characters, and deleting the destination erases it. You cannot delete a destination while a show is live on it.

Live Streaming Studio (the console)

/live-studio is the same service with a UI, under Creator → Studios:

  • Channels: connect Twitch, YouTube or another RTMP target with Add channel. The key is write-only, and there is a short guide to finding it. The same channel (same stream key on the same server, or the same Twitch chat channel) cannot be connected twice.
  • Products: keep each product once (name, price, selling points, pictures; or paste a listing and Extract), and reuse it in any show. Saving a product updates its copy in every show that uses it, except one that is on air.
  • Shows: choose a kind of show, then set it up. A selling show is a list of up to 12 shots: pick a product for each, set how many minutes the host stays on each shot, reorder them, and give each shot a script: write your own, or pick a style (Quick pitch, Flash sale, Show and tell, Chat and answer) and press Generate script to have the model write one for that product and that length. Leave a script empty and the host writes its own pitch when you go live.
  • Knowledge base: upload .md, .txt or .csv files (a CSV with a question column and an answer column becomes question-and-answer pairs), write notes with # headings, add Q&A rows, copy from another show, see how it was split into entries, and try a viewer question to see which entries it would read. Questions the host could not answer show up in the live feed with an Add to knowledge base button.
  • Host: pick a face from the picker (with pictures) or upload your own, and audition every voice with the ▶ button before choosing. You can also upload an audio file or record your voice to clone it.
  • Go live: set how many minutes the show may run, press Go live, and watch status, time on air, cost so far and the live feed. Pause, Resume and Stop are on the same panel. If you reload the page, the controls come back for the show that is still on air.

Editing a show is blocked while it is live. Stop it first.

Limits

LimitValue
Products in a selling show12
A product's script6,000 characters (about 900 words, 6 minutes of speech), up to 80 spoken lines
Minutes on each product (minutes_per_product)1 to 30, default 3
Knowledge base text60,000 characters
Question-and-answer pairs200
max_minutes per run1 to 55 (default 55)
Shows on air at once, per organization1
Interactive persona.character20 to 1,500 characters
Interactive persona.topicsup to 20, 120 characters each
Your own faces, per organization5
Stream key8 to 200 printable characters, no spaces

GET /v1/live-shows/options returns these limits as JSON, so a client can read them instead of hard-coding them.

FAQ

Can it run 24 hours a day?

Not yet. One run lasts up to 55 minutes because an avatar session lasts up to 60; you can start the next run when one ends, with a gap of the time it takes to get on air. Rotating sessions to make one run last for hours is on the list.

Does the host say exactly what I wrote?

Yes, for a shot with a script: the lines are read in order, as written, with nothing added, reshuffled or rewritten, and the words are not checked against the card. It is read again when time on the shot remains. Viewers' questions are still answered in between. See scripts.

Can one show sell several products?

Yes, up to 12. The host presents them one after another, stays on each for minutes_per_product, and goes round again. See products.

Which languages?

English is what it is built and tested for: the built-in lead-ins and the voices listed in options are English. Other languages have not been tested, so do not rely on them.

Can I take over?

Not live. You can pause the host and stop the show, and needs_human events tell you which questions to add to the knowledge base for next time.

Can I change a show while it is live?

No: PATCH and DELETE answer 409 show_live until you stop it. Change it, then start a new run.