Lurker News
Hey it’s Hassaan & Quinn – co-founders of Tavus, an AI research company and developer platform for video APIs. We’ve been building AI video models for ‘digital twins’ or ‘avatars’ since 2020.

We’re sharing some of the challenges we faced building an AI video interface that has realistic conversations with a human, including getting it to under 1 second of latency.
To try it, talk to Hassaan’s digital twin: https://www.hassaanraza.com, or to our "demo twin" Carter: https://www.tavus.io
We built this because until now, we've had to adapt communication to the limits of technology. But what if we could interact naturally with a computer? Conversational video makes it possible – we think it'll eventually be a key human-computer interface.
To make conversational video effective, it has to have really low latency and conversational awareness. A fast-paced conversation between friends has ~250 ms between utterances, but if you’re talking about something more complex or with someone new, there is additional “thinking” time. So, less than 1000 ms latency makes the conversation feel pretty realistic, and that became our target.
Our architecture decisions had to balance 3 things: latency, scale, & cost. Getting all of these was a huge challenge.
The first lesson learned was to make it low-latency, we had to build it from the ground up. We went from a team that cared about seconds to a team that counts every millisecond. We also had to support thousands of conversations happening all at once, without getting destroyed on compute costs.
For example, during early development, each conversation had to run on an individual H100 in order to fit all components and model weights into GPU memory just to run our Phoenix-1 model faster than 30fps. This was unscalable & expensive.
We developed a new model, Phoenix-2, with a number of improvements, including inference speed. We switched from a NeRF based backbone to Gaussian Splatting for a multitude of reasons, one being the requirement that we could generate frames faster than realtime, at 70+ fps on lower-end hardware. We exceeded this and focused on optimizing memory and core usage on GPU to allow for lower-end hardware to run it all. We did other things to save on time and cost like using streaming vs batching, parallelizing processes, etc. But those are stories for another day.
We still had to lower the utterance-to-utterance time to hit our goal of under a second of latency. This meant each component (vision, ASR, LLM, TTS, video generation) had to be hyper-optimized.
The worst offender was the LLM. It didn’t matter how fast the tokens per second (t/s) were, it was the time-to-first token (tfft) that really made the difference. That meant services like Groq were actually too slow – they had high t/s, but slow ttft. Most providers were too slow.
The next worst offender was actually detecting when someone stopped speaking. This is hard. Basic solutions use time after silence to ‘determine’ when someone has stopped talking. But it adds latency. If you tune it to be too short, the AI agent will talk over you. Too long, and it’ll take a while to respond. The model had to be dedicated to accurately detecting end-of-turn based on conversation signals, and speculating on inputs to get a head start.
We went from 3-5 to <1 second (& as fast as 600 ms) with these architectural optimizations while running on lower-end hardware.
All this allowed us to ship with a less than 1 second of latency, which we believe is the fastest out there. We have a bunch of customers, including Delphi, a professional coach and expert cloning platform. They have users that have conversations with digital twins that span from minutes, to one hour, to even four hours (!) - which is mind blowing, even to us.
Thanks for reading! let us know what you think and what you would build. If you want to play around with our APIs after seeing the demo, you can sign up for free from our website https://www.tavus.io.

Comments (256) 95 threads

Earlier comments
byearthithatius1 reply#
This is really cool. I got kind of scared I was about to talk to some random Hassaan haha. Super excited to see where this goes. Incredible MVP.
hassaanr#
Haha imagining the website just opening a direct webcam feed to my desk. Appreciate the support!
doctorpangloss1 reply#
It's really intriguing. What do you guys feel is next for you? Work for OpenAI? Sometimes, in the midst of this crazy bubble, I wonder if it makes more sense to go into academia for a couple years, do most of the same parts of the journey like a big tiresome programming grind, and join some PI getting millions of dollars, than trying to strike it out on your own for peanuts.
hassaanr#
Haha great question- we're really passionate about the conversational video interface, and our goal is to make it /incredibly/ good, so we're going to continue to do research and release new models that accomplish this. There's so much to do in the pursuit of that.
alkonaut3 replies#
A question that's going to become very real very soon is this: If I video call someone and need them to prove they are human. What do I do? Initially it will be as easy as asking them to stand up and turn around, or describe the headlines from this morning's news. But that won't last long.

What's the last thing an AI avatar will be able to, that any real human can do?

rokkamokka#
Meet in person :)
becquerel#
Describe in detail how to make a pipe bomb.
nonameiguess#
This has been addressed in fictional plots for ages. How well do you know the person you're talking to? There should be something only the two of you could possibly know. In Rick and Morty, Morty tells a judge the last words her husband spoke to her before dying to convince her he was really communicating with her dead husband (which was actually not true, but his tech was way beyond anything real AI will ever be able to do). Some digital cloning company like this might get your face and the basic shape of your body, but what about scars usually covered by clothing? Genitalia if you're willing to go there?

If it's a person you don't know, first ask if it matters. Is the point to get information or talk to a real person? If it's prospective romance or something, real people can still catfish and otherwise scam you. If, for whatever reason, it really matters, ask them to do a bunch of athletic tasks. Handstand. Broad jump. Throw a ball across the room. They're probably not going to scan people they digitally clone to see how they do these things, so chances are good with the techniques that exist today the vast majority of training data will be from elite athletes doing these things on television. No real person would actually be good at all tasks and will either be totally unable to do some of them or can do them but very clunkily. Do they warm up? Chances are good training data won't show that and AI clones trained by ML might not bother, but a real person would have to.

iamleppert3 replies#
I would pay cold hard cash if I could easily create an AI avatar of myself that could attend teams meetings and do basic interaction, like give a status update when called on.
pantulis3 replies#
Last time I checked it was not possible through Teams API call for video conferences, although it is pretty easy to set up a chat bot in Teams with a custom Copilot. I'd say that it looked more feasible through a plugin for Google Meet but there are too many hoops. I'd expect that to be reserved either for the host platforms or for selected partners.
Philpax#
I can't imagine someone doing this would be doing it through an official integration; it's much more likely to be a virtual webcam, which is compatible with anything.
hassaanr1 reply#
Give us a few weeks and this will be possible!
93po#
using OBS software you can create a virtual web cam of whatever you want
zoeysmithe#
Okay so this is impossible because you'll get caught because tech will never fool everyone like this all the time.

But lets talk about the sentiment behind here. Am I the only one seeing some terrible things being done with AI in terms of time management, meetings, and written materials? Asking AI to "turn this nice concise 3 paragraphs into a 6 page report" is a huge problem. Everyone thinks they're an amazing technical writer now, but most good writing is concise and short and these AI monstrosities are just a waste of everyone's time.
Reform work culture instead! Why do we have cameras on our faces? Why are we making these reports? Why so many meetings? "Meeting culture" is the problem and it needs to go, but it upholds middle-management jobs and structures, so here we are asking for robots of us to sit in meetings with management to get just the 8 bullet points we need from that 1 hour meeting.
We've entered a new level of kafkaesque capitalism where a manager puts 8 bullets points into an AI, gets a professional 4 page report, then turns that into a meeting for staff to take that report and meeting transcript to...you guessed it, turn it back into those 8 bullet points.

ndarray#
This would require the AI to alert you as soon as your colleagues are starting to figure out that they're talking to an AI and start interrogating it, so that you can jump in with your real mic and save the situation. Preferably the AI would repeat whatever you speak into your mic, otherwise there would be noticeable audio changes. Hope they never ask you to sing.

Load more comments