Skip to content

Add a talking avatar to a web page or voice agent with one script tag

Stork Live is a talking avatar the visitor's browser draws itself. This is the whole setup: one import, two calls, and how to hand it the audio from a LiveKit, Pipecat or OpenAI Realtime agent. No key, no server and no per-minute bill.

Stork editorial team

TL;DR / Key Takeaways

  • Stork Live is Stork's own product. The avatar is a file of about 8 MB that the visitor's browser draws; the lips are worked out on the device.
  • Setup is one import and two calls: mount the avatar on a canvas, then hand speak() any audio.
  • A voice agent needs no plugin. The page passes the agent's audio track to speak(). We ran this against live LiveKit, Pipecat and OpenAI Realtime agents on 2 December 2026.
  • Four library faces are free for any traffic and carry a "Powered by stork.ai" mark. An avatar of your own without the mark is $29 a month, flat.
  • It shows head and shoulders at 512 pixels. No hands, no body, no camera moves.
On this page · 5 sections
  1. 01The whole setup
  2. 02Giving a voice agent a face
  3. 03What it costs to run
  4. 04Free and paid
  5. 05What it does not do

Most real-time avatars are video. A GPU somewhere renders a face for each viewer and streams it, and you pay for each minute. Stork Live works the other way round. The avatar is a file. The browser downloads it once, draws it, and moves the lips from whatever sound you give it.

You can try it on the Stork Live page before reading on. The code that draws the face is open source under Apache 2.0, on GitHub.

stork
I am one still image.
One typed sentence. This clip cost 5 cents, the minimum per video.
Make a photo talk for 20 cents a minute.
Upload one photo and type the words. No subscription. One free video a day.
Make one freeDevelopers: there is an API

The whole setup#

<canvas id="avatar"></canvas>
<script type="module">
  import { StorkLive } from 'https://cdn.jsdelivr.net/npm/stork-live@0.1/src/stork-live.js'

  const live = await StorkLive.mount(document.getElementById('avatar'), { avatar: 'a' })
  await live.speak(document.querySelector('audio'))
</script>

mount loads the avatar and returns when the first frame is on screen. 'a', 'b', 'c' and 'd' are the free library faces. speak plays the sound and moves the lips in step with it. Between calls the avatar blinks, moves its head and keeps its mouth at rest.

speak accepts an <audio> element, a WebRTC track or stream, or an AudioBuffer. With a bundler, run npm install stork-live and import from 'stork-live'. A React component is at 'stork-live/react'.

CallWhat it does
StorkLive.mount(canvas, options)Loads the avatar and starts drawing
live.speak(source)Plays the sound and moves the lips. Resolves when the sound ends
live.stop()Stops speaking. The avatar goes back to idling
live.destroy()Stops drawing and frees the worker

Giving a voice agent a face#

Your agent already produces a voice. The avatar only needs to hear it. So there is nothing to install on the agent's side: the page takes the audio track the agent sends and passes it to speak.

LiveKit:

room.on(RoomEvent.TrackSubscribed, (track) => {
  if (track.kind === 'audio') live.speak(track.mediaStreamTrack)
})

Pipecat (with the small WebRTC transport):

const pcClient = new PipecatClient({
  transport: new SmallWebRTCTransport(),
  callbacks: {
    onTrackStarted: (track, participant) => {
      if (track.kind === 'audio' && !participant?.local) live.speak(track)
    },
  },
})

OpenAI Realtime (WebRTC):

pc.ontrack = (e) => live.speak(e.streams[0])

We ran all three against live agents on 2 December 2026, and the lips kept up in each case. The full pages, including the React version for LiveKit, are in the voice-agent guide.

One thing to know: the avatar plays the sound itself, about a third of a second late, so that lips and voice line up. Do not also attach the agent's track to an audio element, or people will hear it twice.

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking

What it costs to run#

Size or speed
Avatar download8.1 to 8.5 MB
Lip model download3.3 MB
Lip model workAbout 20 ms of processor time per second of speech
Draw rate, iPhone 15 Pro Max (Safari)60 frames a second
Draw rate, Pixel 6 Pro (Chrome)60 frames a second

These are our own measurements from 1 and 2 December 2026. Nothing runs on a server while someone watches, so a thousand viewers cost the same as one: the file downloads.

Free and paid#

  • Free. Four library faces, any number of viewers and minutes, commercial use included. The picture carries a "Powered by stork.ai" mark, and the licence does not allow removing it.
  • Your own avatar, $29 a month. You upload one photo. About 20 minutes later you get an avatar file without the mark, which you host wherever you like. The price is flat. Order one here.

What it does not do#

  • It shows head and shoulders, facing the camera, at 512 pixels. No hands, no body, no camera moves.
  • Fine detail is below what a server renders as video. Teeth and hair are the first places you will see it.
  • The lip model was trained on English. It moves with other languages too, a step less accurately.
  • It needs WebGL 2, which current browsers and phones from the last several years have.
  • Where the law requires telling people they are talking to an AI, that is the page owner's job.

The terms for both the free faces and your own avatar are on one page.

Found this useful? Share it.

For builders

Want Stork to write one of these about your product?

Paste your product's address and we tell you in about a minute, free, whether we can write about it. We ask you what matters, write it in 8 languages, and you read it before it goes live.

Check my product, free$199 · AI tools & software only

For builders

This page is doing a job for someone else’s tool.

AI agents read it. Buyers land on it. It answers in eight languages and over MCP. Your tool can have one like it — live in 24 hours.