{"by":"summerlee9611","descendants":25,"id":46759627,"kids":[46761193,46762566,46760891,46760914,46760843,46763202,46775072,46760786,46761306],"score":34,"text":"Hi HN, I built Beni (<a href=\"https:&#x2F;&#x2F;thebeni.ai\" rel=\"nofollow\">https:&#x2F;&#x2F;thebeni.ai</a>\n), a web app for real-time video calls with an AI companion.<p>The idea started as a pretty simple question: text chatbots are everywhere, but they rarely feel present. I wanted something closer to a call, where the character actually reacts in real time (voice, timing, expressions), not just “type, wait, reply”.<p>Beni is basically:<p>A Live2D avatar that animates during the call (expressions + motion driven by the conversation)<p>Real-time voice conversation (streaming response, not “wait 10 seconds then speak”)<p>Long-term memory so the character can keep context across sessions<p>The hardest part wasn’t generating text, it was making the whole loop feel synchronized: mic input, model response, TTS audio, and Live2D animation all need to line up or it feels broken immediately. I ended up spending more time on state management, latency and buffering than on prompts.<p>Some implementation details (happy to share more if anyone’s curious):<p>Browser-based real-time calling, with audio streaming and client-side playback control<p>Live2D rendering on the front end, with animation hooks tied to speech &#x2F; state<p>A memory layer that stores lightweight user facts&#x2F;preferences and conversation summaries to keep continuity<p>Current limitation: sign-in is required today (to persist memory and prevent abuse). I’m adding a guest mode soon for faster try-out and working on mobile view now.<p>What I’d love feedback on:<p>Does the “real-time call” loop feel responsive enough, or still too laggy?<p>Any ideas for better lip sync &#x2F; expression timing on 2D&#x2F;3D avatars in the browser?<p>Thanks, and I’ll be around in the comments.","time":1769382786,"title":"Show HN: FaceTime-style calls with an AI Companion (Live2D and long-term memory)","type":"story","url":"https://thebeni.ai/"}