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

要約 / ポイント

  • 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.
  • Eight 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.
このページの内容 · 5 セクション
  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
私は1枚の静止画です。
入力したのは1つの文だけ。この動画の料金は最低料金の$0.05です。
写真が話す動画を、1分$0.20で。
写真を1枚アップロードして、文章を入力するだけ。サブスク不要。1日1本まで無料。
無料で作ってみる開発者の方へ: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' to 'h' 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.

この記事が気に入ったら、毎朝同じようなものをメールで受け取れます。

1日1通 · 2クリックで解除 · サードパーティのトラッキングなし

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. Eight 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.

Short guides for each stack are in the docs: LiveKit, Pipecat, OpenAI Realtime and Gemini Live, with the quickstart first.

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

ビルダーの方へ

このページは、他社のツールのために働いています。

AIエージェントが読み、購入検討層がたどり着きます。8言語とMCP経由で答えます。あなたのツールにも同じページを — 24時間以内に公開。