Show HN: Lemon Slice Live, a real-time video-audio AI mannequin

Show HN: Lemon Slice Live, a real-time video-audio AI mannequin

Hey HN, that is Lina, Andrew, and Sidney from Lemon Slice. We’ve educated a customized diffusion transformer (DiT) mannequin that achieves video streaming at 25fps and wrapped it right into a demo that enables anybody to show a photograph right into a real-time, speaking avatar. Here’s an instance dialog from co-founder Andrew: https://www.youtube.com/watch?v=CeYp5xQMFZY. Try it for your self at: https://lemonslice.com/stay.

(Btw, we was once referred to as Infinity AI and did a Show HN underneath that identify final yr: https://information.ycombinator.com/merchandise?id=41467704.)

Unlike current avatar video chat platforms like HeyGen, Tolan, or Apple Memoji filters, we don’t require coaching customized fashions, rigging a personality forward of time, or having a human drive the avatar. Our tech permits customers to create and instantly video-call a customized character by importing a single picture. The character picture will be any fashion – from photorealistic to cartoons, work, and extra.

To obtain this demo, we needed to do the next (amongst different issues! however these have been the toughest):

1. Training a quick DiT mannequin. To make our video technology quick, we needed to each design a mannequin that made the correct trade-offs between pace and high quality, and use customary distillation approaches. We first educated a customized video diffusion transformer (DiT) from scratch that achieves glorious lip and facial features sync to audio. To additional optimize the mannequin for pace, we utilized teacher-student distillation. The distilled mannequin achieves 25fps video technology at 256-px decision. Purpose-built transformer ASICs will ultimately permit us to stream our video mannequin at 4k decision.

2. Solving the infinite video downside. Most video DiT fashions (Sora, Runway, Kling) generate 5-second chunks. They can iteratively prolong it by one other 5sec by feeding the tip of the first chunk into the beginning of the 2nd in an autoregressive method. Unfortunately the fashions expertise high quality degradation after a number of extensions as a consequence of accumulation of technology errors. We developed a temporal consistency preservation approach that maintains visible coherence throughout lengthy sequences. Our approach considerably reduces artifact accumulation and permits us to generate indefinitely-long movies.

3. A fancy streaming structure with minimal latency. Enabling an end-to-end avatar zoom name requires a number of constructing blocks, together with voice transcription, LLM inference, and text-to-speech technology along with video technology. We use Deepgram as our AI voice accomplice. Modal because the end-to-end compute platform. And Daily.co and Pipecat to assist construct a parallel processing pipeline that orchestrates all the things by way of constantly streaming chunks. Our system achieves end-to-end latency of 3-6 seconds from consumer enter to avatar response. Our goal is <2 second latency.

More technical particulars right here: https://lemonslice.com/stay/technical-report.

Current limitations that we need to clear up embody: (1) enabling whole-body and background motions (we’re coaching a next-gen mannequin for this), (2) lowering delays and enhancing decision (purpose-built ASICs will assist), (3) coaching a mannequin on dyadic conversations in order that avatars be taught to hear naturally, and (4) permitting the character to “see you” and reply to what they see to create a extra pure and fascinating dialog.

We imagine that generative video will usher in a brand new media kind centered round interactivity: TV exhibits, films, adverts, and on-line programs will cease and discuss to us. Our leisure will probably be a mix of passive and energetic experiences relying on what we’re within the temper for. Well, prediction is tough, particularly in regards to the future, however that’s how we see it anyway!

We’d love so that you can check out the demo and tell us what you assume! Post your characters and/or dialog recordings under.

HI-FI News

by way of Hacker News https://ift.tt/UkGJTKh

April 24, 2025 at 07:15PM