Add a face to your InWorld characters

LemonSlice puts a lifelike, real-time avatar on top of Inworld's character stack. Whether you run game characters, companion agents, or Inworld TTS voices, the avatar turns that audio into natural, face-to-face conversation with your players.

LemonSlice

At a glance

Categories
Voice agents, Voice (TTS)
Status
Compatible (works with any)
Type
Avatar API
Languages
Python, Node.js
Setup time
~5 minutes

How the integration works

InWorld keeps doing what it does today. LemonSlice turns the audio into a face.

  1. Keep your InWorld setup

    Your InWorld characters, agent runtime, and Inworld TTS voices keep running unchanged. LemonSlice sits downstream of the audio they already produce.

  2. Stream the audio to LemonSlice

    Send the audio output from your InWorld character to the LemonSlice avatar API. The avatar renders in real time with lip sync and expression matched to the voice.

  3. The avatar video streams to your users

    Video is delivered over WebRTC, natively via LiveKit, Daily (Pipecat), or Agora, so your players and users see the character respond live.

Ship your interactive avatar with simple code

A InWorld session with a LemonSlice avatar.

Choose a code example
from livekit import agents
from livekit.agents import AgentSession, RoomOutputOptions
from livekit.plugins import lemonslice

async def entrypoint(ctx: agents.JobContext):
    await ctx.connect()

    session = AgentSession(
        # Add InWorld TTS, plus your STT and LLM, here
    )

    avatar = lemonslice.AvatarSession(
        # Publicly accessible image URL for the avatar
        agent_image_url="...",
        # Prompt to guide the avatar's demeanor while speaking
        agent_prompt="a person talking",
        # Recommended. Adapts video quality to each viewer's bandwidth
        simulcast=True,
    )

    # Start the avatar and wait for it to join
    session_id = await avatar.start(session, room=ctx.room)

    # Start your agent session with the user
    await session.start(
        # ... room, agent, room_options, etc....
    )

A lifelike avatar in every conversation

Control actions and emotions

The Action Engine animates face, hands, shoulders, and posture. You direct actions and emotions straight from the API, down to a prompt like "talk with hand gestures."

Works with any character, in any style

LemonSlice is the only interactive avatar model that animates non-humans, from a turtle to a smiling teacup, as easily as cartoons and photorealistic people.

Ultra-low latency

LemonSlice has the fastest response time of any major avatar provider, so every exchange feels instant.

Create an avatar from one image

From one photo comes a full interactive avatar. No training or rigging required. Build unlimited custom characters with real-time outfit or setting changes.

Built for enterprise scale

Avatar sessions alongside InWorld run at production scale.

Thousands of concurrent calls

Run thousands of simultaneous avatar sessions. The platform is built for high-volume production workloads.

Multi-region servers

Deploy avatar sessions from the region closest to your users, keeping latency as low as possible.

Zero data retention mode

Run avatar sessions without storing conversation data. Built for privacy-sensitive enterprise workflows.

What builders ship with InWorld + LemonSlice

Create avatars for everything from game NPCs to companion apps, live streaming, and language practice.

Game NPC

NPCs that hold unscripted conversations with players.

Companion app character

An AI companion with a face that listens and reacts.

Streaming host

A live host that reads and responds to chat.

Frequently asked questions

Stream your Inworld character's audio output to the LemonSlice avatar API. The rendered avatar video streams back over WebRTC via LiveKit, Daily (Pipecat), or Agora, and your character logic in Inworld does not change.
No. Inworld runs your character brain, dialogue, and voice, while LemonSlice renders the real-time animated face on top of that audio.
Yes. LemonSlice animates whatever audio you send it, so your Inworld TTS voices carry over untouched.
Yes. LemonSlice animates stylized characters, cartoons, and non-humans from a single image, which makes it a natural fit for NPCs and interactive media characters built on Inworld.
Any Inworld setup that produces audio works, including the character and agent runtime paired with Inworld TTS. LemonSlice sits downstream of that audio, so nothing in your stack needs to be swapped out.
No. LemonSlice is built for speed and delivers among the fastest response times of any major avatar provider, so exchanges with your characters feel instant.

Give your InWorld characters a face

Ship live avatar video with a 5-minute API setup.