Loading video...

Video Failed to Load

Go Home

We did it! We built the fastest interactive avatar model Introducing LemonSlice-2.1 𝘍𝘭𝘢𝘴𝘩 ⚡ Here’s how we did it using Modal and LiveKit 👇 (note: it was not easy)

239,215 views • 6 months ago •via X (Twitter)

74 Comments

LemonSlice's profile picture
LemonSlice6 months ago

@livekit 2/ Latency is everything in conversational AI. We benchmarked ourselves against other leading avatar models. We tied for 1st at p50 and are faster at p75 → p99. For real-time conversations, p90 is often more important than the median.

LemonSlice's profile picture
LemonSlice6 months ago

@livekit /3 Methodology. To easily compare providers, we used the same @livekit agent code and swapped the avatar provider. + 50x measurements per provider + Normalized the human input by using a recording + End-to-end latency measured via audio waveforms

LemonSlice's profile picture
LemonSlice6 months ago

@livekit /4 Speed alone is not the complete story. LemonSlice is also the only provider that can do whole body, hand-held objects, cartoon mascots, and more.

LemonSlice's profile picture
LemonSlice6 months ago

5/ There was not a single silver bullet to get here. We shaved off milliseconds at every layer of the stack, including: DiT model architecture, VAE decoder optimizations, CUDA graph stuff and more. @modal has been a great partner in our quest for ultra-low latency. Learn more at Try it for yourself at

Orikan's profile picture
Orikan6 months ago

@modal @livekit Much respect for the side-by-side comparison. We don’t always get to see that kind of data.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit 🫡

Lina Colucci's profile picture
Lina Colucci6 months ago

@modal @livekit This is what great engineering 🤝 research looks like

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Dream team 💪

Grigori Karapetyan's profile picture
Grigori Karapetyan6 months ago

iits really good, but really leaving a lot of use cases on the table by not allowing agent creation by api, let me pass photo, voice, and knowledge and create the agent from api, use it programmatically through your hosted pipeline.. right now if we want to use it with your room pipeline we have to manually create each agent, esentially makes these avatars to be landing page marketing agents or customer support.. the api control would open this up to other use cases, such us allowing our customers to create agent avatars for their agents. if you are not ready for the scale, then i understand. it would drastically increase demand. gotta be ready for it.

LemonSlice's profile picture
LemonSlice6 months ago

Appreciate the feedback. We generally recommend using the self-managed pipeline for developers who want this type of control. If you still want to use Daily on the frontend, you can try our Pipecat integration. (And if you pair with Pipecat Cloud, you still don't have to self-host).

Sidney Primas's profile picture
Sidney Primas6 months ago

@modal @livekit Every milliseconds counts! We spent the past few weeks hunting down every millisecond we could find. This game is won in inches, not yards.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit well said!

Alejo's profile picture
Alejo6 months ago

@modal @livekit Flash speed avatars… we’re getting scary close to real-time humans

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Agreed! Video generation used to be the slowest part of the avatar stack. Now its one of the fastest!

Dhaval Makwana's profile picture
Dhaval Makwana6 months ago

@modal @livekit this feels way faster than most avatar demos I’ve seen

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit 🏎️

Enzo Sanchez | IA's profile picture
Enzo Sanchez | IA6 months ago

@modal @livekit Se siente muy rápido 👀 buen trabajo

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit gracias!

Jaynit Makwana's profile picture
Jaynit Makwana6 months ago

@modal @livekit latency looks solid here, curious how it holds in real apps

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit latency is additive across the entire stack (LLM, TTS, etc) but our added avatar latency is now minimal

Markandey Sharma's profile picture
Markandey Sharma6 months ago

@modal @livekit This is seriously impressive. Real-time avatars are the future and you’re clearly ahead of the curve.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit TY! 🙌

korneel's profile picture
korneel6 months ago

@modal @livekit

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Super fast 😎

Advait Paliwal's profile picture
Advait Paliwal6 months ago

@modal @livekit Lfg

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit appreciate u!

Ava AI Labs's profile picture
Ava AI Labs6 months ago

@modal @livekit Damn… that looks fast

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit 🏎️🏎️🏎️

Saidul's profile picture
Saidul6 months ago

@modal @livekit Much respect for a fair side-by-side comparison. We don’t always get to see that kind of data.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit The data doesn't lie.

ZAZA's profile picture
ZAZA6 months ago

@modal @livekit Awesomeness is here and fast

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit 🙌

Joshua Primas's profile picture
Joshua Primas6 months ago

@modal @livekit ⚡️⚡️⚡️

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit We got it done 💪

Hari's profile picture
Hari6 months ago

@modal @livekit hell yeah

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit always be shipping 🫡

Shruti Codes's profile picture
Shruti Codes6 months ago

@modal @livekit This is the first AI that didn’t feel like a tool, speed changes everything.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit It's all about speed with interactive avatars.

Emma Uses AI's profile picture
Emma Uses AI6 months ago

@modal @livekit This is a big improvement honestly

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit so happy to hear it! we agree

BloomOne's profile picture
BloomOne6 months ago

@modal @livekit this video is an AI avatar? if so, wow.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Nope, that's the real Lina 🙈

Krishna Agrawal's profile picture
Krishna Agrawal6 months ago

@modal @livekit Super impressive work 👏 focusing on p90+ latency is exactly what real-time systems need Love the depth across the stack optimization

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Thank you! The engineering and ML teams really delivered on this one 💪

Nova IA's profile picture
Nova IA6 months ago

@modal @livekit Can devs already use this?

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Yep!

Sharon Riley's profile picture
Sharon Riley6 months ago

@modal @livekit Amazing work pushing technology forward fast.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Thank you - it was a team effort 💪

Sharon Riley's profile picture
Sharon Riley6 months ago

@modal @livekit Team work makes the dream work. Can we connect over a DM?

Dylan Knox's profile picture
Dylan Knox6 months ago

@modal @livekit Real data comparisons are always appreciated and very convincing for developers like me.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit For a team of engineers and research scientists, it's the only way!

Azer Koçulu's profile picture
Azer Koçulu6 months ago

@modal @livekit did you make this video with lemon slice?

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit This Lina is real 🙈

Angela Hoover's profile picture
Angela Hoover6 months ago

@modal @livekit Epic - congrats!! Excited to try it out ⚡️

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Let us know what you think!

Antonio Costa | IA's profile picture
Antonio Costa | IA6 months ago

@modal @livekit This team doesn’t stop shipping

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit and we're just getting started! 🚢

Akansha Khandelwal's profile picture
Akansha Khandelwal6 months ago

@modal @livekit This feels insanely fast. LemonSlice 2.1 Flash is on another level.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit A fast response makes all the difference.

Adam's profile picture
Adam6 months ago

@modal @livekit Nice! when will this be available?

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Developers on our Enterprise plan can start building with it today :)

Potato Dog's profile picture
Potato Dog6 months ago

@Krishnasagrawal @modal @livekit Can the real time model act like it’s doing heinous and violent things to me like pretend to skin me alive or smth ?

LemonSlice's profile picture
LemonSlice6 months ago

@Krishnasagrawal @modal @livekit You can connect a LemonSlice avatar to your own LLM with our daily or livekit integration. So... yes?

Potato Dog's profile picture
Potato Dog6 months ago

@Krishnasagrawal @modal @livekit Thank you !

KATE's profile picture
KATE6 months ago

@modal @livekit Shaving milliseconds off every layer is truly dedicated engineering from the whole team.

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit Engineering + Machine Learning + Infrastructure. Truly a team effort!

NeuraFlow AI's profile picture
NeuraFlow AI6 months ago

@modal @livekit Very cool! How fast is this in a real app?

LemonSlice's profile picture
LemonSlice6 months ago

@frasereflex @modal @livekit Try it for yourself on our homepage :) The data doesn't lie.

Timothy Kassis's profile picture
Timothy Kassis6 months ago

@modal @livekit Nice!

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit 🚀

Manish Kumar Shah's profile picture
Manish Kumar Shah6 months ago

@modal @livekit Love your product!

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit TY 🫶

Leo Chenghui Li's profile picture
Leo Chenghui Li6 months ago

@modal @livekit Congrats! Does 471ms include TTS or only speech to avatar?

LemonSlice's profile picture
LemonSlice6 months ago

@modal @livekit It does not include TTS. That's the time it takes for us to return video once we get the audio from TTS.

Related Videos