Top
Best
New

Posted by lcolucci 4 hours ago

Show HN: LemonSlice – Upgrade your voice agents to real-time video

Hey HN, we're the co-founders of LemonSlice (try our HN playground here: https://lemonslice.com/hn). We train interactive avatar video models. Our API lets you upload a photo and immediately jump into a FaceTime-style call with that character. Here's a demo: https://www.loom.com/share/941577113141418e80d2834c83a5a0a9

Chatbots are everywhere and voice AI has taken off, but we believe video avatars will be the most common form factor for conversational AI. Most people would rather watch something than read it. The problem is that generating video in real-time is hard, and overcoming the uncanny valley is even harder.

We haven’t broken the uncanny valley yet. Nobody has. But we’re getting close and our photorealistic avatars are currently best-in-class (judge for yourself: https://lemonslice.com/try/taylor). Plus, we're the only avatar model that can do animals and heavily stylized cartoons. Try it: https://lemonslice.com/try/alien. Warning! Talking to this little guy may improve your mood.

Today we're releasing our new model* - Lemon Slice 2, a 20B-parameter diffusion transformer that generates infinite-length video at 20fps on a single GPU - and opening up our API.

How did we get a video diffusion model to run in real-time? There was no single trick, just a lot of them stacked together. The first big change was making our model causal. Standard video diffusion models are bidirectional (they look at frames both before and after the current one), which means you can't stream.

From there it was about fitting everything on one GPU. We switched from full to sliding window attention, which killed our memory bottleneck. We distilled from 40 denoising steps down to just a few - quality degraded less than we feared, especially after using GAN-based distillation (though tuning that adversarial loss to avoid mode collapse was its own adventure).

And the rest was inference work: modifying RoPE from complex to real (this one was cool!), precision tuning, fusing kernels, a special rolling KV cache, lots of other caching, and more. We kept shaving off milliseconds wherever we could and eventually got to real-time.

We set up a guest playground for HN so you can create and talk to characters without logging in: https://lemonslice.com/hn. For those who want to build with our API (we have a new LiveKit integration that we’re pumped about!), grab a coupon code in the HN playground for your first Pro month free ($100 value). See the docs: https://lemonslice.com/docs. Pricing is usage-based at $0.12-0.20/min for video generation.

Looking forward to your feedback!

EDIT: Tell us what characters you want to see in the comments and we can make them for you to talk to (e.g. Max Headroom)

*We did a Show HN last year for our V1 model: https://news.ycombinator.com/item?id=43785044. It was technically impressive but so bad compared to what we have today.

44 points | 58 commentspage 2
koakuma-chan 3 hours ago|
> You're probably thinking, how is this useful

I was thinking why the quality is so poor.

sid-the-kid 3 hours ago|
curious what avatar you think is poor quality? Or, what you think is poor quality. i want to know :)
koakuma-chan 3 hours ago||
Low res and low fps. Not sure if lipsync is poor, or if low fps makes it look poor. Voice sounds low quality, as if recorded on a bad mic, and doesn't feel like it matches the avatar.
sid-the-kid 3 hours ago||
thanks for the feedback. that's helpful. Ya, some avatars have worse lip synch than others. It depends a little on how zoomed in you are.

I am double checking now to make 100% sure we return the original audio (and not the encoded/decoded audio).

We are working on high-res.

korneelf1 1 hour ago||
Wow this is really cool, haven't seen real-time video generation that is this impressive yet!
lcolucci 1 hour ago|
Thank you so much! It's been a lot of fun to build
r0fl 3 hours ago||
Where’s the hn playground to grab a free month?

I have so many websites that would do well with this!

dang 2 hours ago||
(We've replaced the link to their homepage (https://lemonslice.com/) with the HN playground at the start of the text above)
lcolucci 2 hours ago||
Thanks Dan! The HN playground let's anyone try out for free without login
lcolucci 3 hours ago||
https://lemonslice.com/hn - There's a button for "Get 1st month free" in the Developer Quickstart
r0fl 3 hours ago||
Wow this is the most impressive thing I’ve seen on hacker news in years!!!!!

Take my money!!!!!!

lcolucci 3 hours ago|
Wow thank you so much :) We're so proud of it!!
sid-the-kid 4 hours ago||
hey HN! one of the founders here. as of today, we are seeing informational avatars + roleplaying for training as the most common use cases. The roleplaying use-case was surprising to us. Think a nurse training to triage with AI patients. Or, SDRs practicing lead qualification with different kinds of clients.
buddycorp 4 hours ago||
I'm curious if I can plug in my own OpenAI realtime voice agents into this.
lcolucci 4 hours ago||
Good question! Yes and to do this you'd want to use our "Self-Managed Pipeline": https://lemonslice.com/docs/self-managed/overview. You can combine any TTS, LLM and STT combination with LemonSlice as the avatar layer.
jfaat 4 hours ago|||
I'm using an openAI realtime voice with livekit, and they said they have a livekit integration so it would probably be doable that way. I haven't used video in livekit though and I don't know how the plugins are setup for it
lcolucci 3 hours ago||
Yes this is exactly right. Using the LiveKit integration you can add LemonSlice as an avatar layer on top of any voice provider
tmshapland 1 hour ago||
Here's the link to the LiveKit LemonSlice plugin. It's very easy to get started. https://docs.livekit.io/agents/models/avatar/plugins/lemonsl...
sid-the-kid 4 hours ago||
Good question. When using the API, you can bring any voice agent (or LLM). Our API takes in what the agent will say, and then streams back the video of the agent saying it.

For the fully hosted version, we are currently partnered with ElevenLabs.

shj2105 3 hours ago||
Not working on mobile iOS
lcolucci 3 hours ago|
what's not working for you?
benswerd 3 hours ago||
The last year vs this year is crazy
lcolucci 3 hours ago||
Agreed. We were so excited about the results last year and they are SO BAD now by comparison. Hopefully we'll say the same thing again in the couple months
sid-the-kid 3 hours ago||
thanks! it just barley worked last year, but not much else. this year it's actually good. we got lucky: it's both new tech and turned out to be good quality.
ed_mercer 4 hours ago||
This looks super awesome!
sid-the-kid 4 hours ago|
thank you! it's by far the thing I have worked on that I am most proud of.
marieschneegans 4 hours ago|
This is next-level!
lcolucci 3 hours ago|
Thanks so much! We're super proud of it