Code Story · Transcripts

S11 Bonus: The Real-Time Generative Video Race: Breaking the Speed Barrier and Shipping LTX Foundation Models to Millions of Creators with Ofir Bibi, VP of Research at Lightricks

June 26, 2025 · 33:44
Listen to the episode Download .txtDownload .vtt
Ofir Bibi

One of the things that I'm most proud of, it's not necessarily easy to have a team that is both so rooted in the verticals and the products and engaged in what is happening there, but still able to look into deep tech and build core technology that allows everyone to build awesome products on top of it. to recognize that any algorithm that people build for one product, immediately you see other products kind of looking, wait, what did you build for them? We want it too. My name is Ofir Bibi, and I'm the VP Research at Lightricks.

Noah Labhart

This is Code Story, a podcast bringing you interviews with tech visionaries

Sound bite

who spend six months moonlighting There's nothing on the back end. I don't exactly know what to do next. A company is its people. The teams help each other achieve more. Most proud of our team. Yes, we've been fighting it as we've grown. Total waste of time. It's not an easy thing to achieve, my dear. Took it off the shelf and dusted it off and tried it again. You need to read. It's not just about technology.

Noah Labhart

All this and more on Code Story. I'm your host Noah Labhart, and today, how Ofir Bibi is leading research in open source video models, making them faster, smoother, and with more control than ever. Ofir Bibi grew up in Jerusalem, and is where he is today because of his love for photography. been a tinkerer, taking apart radios and such, and was drawn to the early days of training neural networks and computational photography. He spent a number of years in academia, but eventually was drawn outside of that world. But outside of tech, he's married with three boys who play sports. His family is surrounded by nature, so they enjoy biking and walking as much as they can. In 2012, a company was formed around bridging the gap between imagination and creation through video apps and studio-grade tools. Ofir recently celebrated 10 years with this company and came in with the title Neural Networks Guy. This is Ofir's creation story of Lightricks.

Ofir Bibi

Lightricks has been around since 2012. It was founded by a couple of guys from academia, and AI. They thought we're building a lot of very, very cool technology, basically for academic demos in conferences like SIGGRAPH and other stuff like that. These conferences actually require you to create very functional things, really build algorithms that do something, but they kind of stay in academia. They wanted to bring these to consumers. They wanted to bring greatest in research to the hands of every person who's interested. It was just around the same time when mobile devices started becoming more popular and more common. The idea was to create a portrait editing app, which is the first app Lightricks developed, which is called Facetune. that came out in the year that was later called Year of the Selfie. The front-facing cameras on mobile devices started getting good enough for everyone to just hold it up and take a picture. It had a lot of tech behind it to make sure that if you want to just smooth your skin, then you just smooth your skin and not go and smooth the background. If you want to whiten your teeth, then you just whiten your teeth and not your lips. required to make these magical experiences on a mobile device. And that was the breakaway product for Lightricks that caught on, became very popular, and became the main engine for Lightricks in that day to grow and create more and more products. Our vision in the company is bridging the gap between imagination and creation. I think a lot of us are not necessarily graphic designers or professionals, and we want still to get some visual content or content at large that is of high quality, and we're not necessarily going to learn how to use very complex tools. At some point, we shifted towards also connecting all the creators that were using our products and using them to create content with brands and companies and businesses that were looking for that type of content and for the creators behind it. We took basically our products and another company that we acquired and really worked on making these connections and offering the synergy between the two ends of it of brands looking for creators and creators already making really awesome content. And phase three was more technological with the advent of AI and generative models. GenAI is the buzzword today, right? But at Lightricks, we've been doing generative modeling, machine learning, or AI, call it whatever you like, since 2017 or so. We've had generative neural networks running on mobile devices since 2019. But at some point, the really advanced models got to be both very big, so they weren't fitting on mobile devices, and very good. Suddenly you can do all kinds of things. If you could just pose the problem you wanted to solve as this generative problem of how do I create, how do I generate something, then you could solve pretty much all problems that we were facing. So if we imagined all kinds of experiences, like I have a photo and I just want to pick up this one object and move it a little bit to the right and fill the hole that is created behind it and then change the whole framing of that image. So all of that were things that we were building a lot of tech to make happen. And suddenly it all kind of fit into one big box of a foundational model that was trained on a lot of data that has a lot of parameters in it. And these things started clicking into place. We realized that we wanted to build not just an addition to our current products with these abilities, but instead build a new type of product that is using generative AI as its engine, as its core to actually produce content. And that is when LTX Studio was born. Basically, a product that is meant to allow you to tell your story and to create it. using a lot of generative AI tech. That was a very big shift for us from B2C to B2B. And also in the technological stack, we saw that we needed a really strong engine because we chose the Gen AI as the engine for it. Maybe phase four was for us to decide to build our own model for video generation, which is LTX video. is kind of brings us to where we are today, releasing the latest, biggest model that we've built by integrating it into all of our products, offering it to other customers, both licensing, that kind of is where we are today. So my phase is pretty early. I actually celebrated 10 years at Lightricks just a month ago. I came in on the ticket of the neural networks guy, basically. I came with a background of training neural networks and doing a lot of heavier lifting machine learning. And I really, really wanted to build the best camera app in the world that just gets you professional DSLR type photos from the camera on a mobile device. Yoan, the CTO, after quite a while where he always kind of poked me and asked, what am I doing? Am I interested to join? It was, like I said, it was time for me to leave academia and go and build that camera. So I joined the company 10 years ago. Started out by building one of the apps that was more geared towards both a camera and lightweight batch editing. So I took that alongside with the camera. And it was really a wild ride where I was able to both learn about the mobile platform and all the capabilities of that hardware, which seems very little from the outside, but it could be really quite a lot. Building a really good camera, and then also later learning that it's really hard stock camera on mobile devices. And even if you are objectively better, convincing people to turn on your app for a camera instead of just a button on the homepage. From there, basically built all the machine learning inference engines that we've had for running neural networks on mobile devices, built the research team from the ground up. Now, as VP research, I manage, I like to call us the guys in charge of the magic behind the scenes, or the magician behind the curtain. We build the algorithmic core of Lightricks products. LTX Studio is one great example, managing a large portion of the tech department. departments.

Noah Labhart

I'm curious, you know, when you came and joined, you've done a lot in the last 10 years. When you came and joined, what you would consider your MVP when you joined the company, right? So that first version of what you were coming in to build or to address, I'm curious about, you know, how long it took you to realize that MVP and what, you know, what you were using My

Ofir Bibi

MVP was really well-formed even before I joined in the sense that I wanted to be able to shoot photos on a mobile device and be able to print them out in a large enough format without it being totally blurry. and all the things that I saw when actually trying to print out a lot of photos that I took with a mobile device. That was really kind of my metric for an MVP to be able to find a way to generate much higher quality photos comparing to just pointing and clicking on the stock camera. It took quite a lot of combining people who know the mobile platform, who know how to access specific hardware APIs, then kind of joining them to build the algorithm on top of the abilities that we've had for acquisition. because if, for instance, I want to get 10 photos instead of one, and then let's call it average them out to get a cleaner, better image, then these 10 photos need to be very, very similar to one another. Otherwise, it's really hard for me to average them out. And if I want them to be similar and the world is moving, and I have subjects in the photo, I have people going by, then I want the photos to be the best quality possible by the device. And I want them to be as fast as possible. You know, finding the way to do it when it's not naturally in the APIs provided by Apple, mostly in iPhones. That was one challenge. The other challenge was building the algorithms to do what was needed. like again matching between these types of images clearing out obstructions like people going into the frame then on top of that you need to actually build an app right you need to build the ux you need to build an app that allows people to go into the camera to understand how to use it it. We've had a really small team, basically three people working on it, a designer, an engineer, and myself with the kind of mixed ML engineer. And it took really diving into the hardware and understanding how to squeeze out every possible frame as fast as possible, using video APIs instead of photo APIs to get a lot of frames very quickly. Look, our CEO, Zev, went to Apple to demonstrate the suite of apps that we were building. So this was just one of them. It was just a demo. He took this MVP that was still crashing on memory and all kinds of things like that and went and told this Apple executive that he has a camera that really beats the stock camera. And they were really proud of their stock camera. And at that point, he's telling me the story and I'm starting to sweat because is he actually going to compare this demo that crashes once in a while with the stock camera and a really polished iPhone? That's exactly what they did. conference room, took their phones out, and Zev went to RF, like my MVP, and that executive went to their stock camera, and they pointed out towards the window. The end result was that the Apple executive was mumbling curses around the fact that our HDR looked better than theirs, and it was just an app on top of the device and not the stock camera. Even though I wasn't there, It was only our CEO telling me the story. That was like one of the happiest times I heard that someone got really upset by something good I did.

Noah Labhart

From that point, right, with your MVPs, how have you progressed and matured? And I think that kind of leads into really the crux of the question is, how do you build your roadmap? How do you go about deciding what's the next most important thing to build or to address or which product to make? All those things within Lightricks.

Ofir Bibi

I think it really changed over the years, but we've always been led both by our customers or potential customers and by technology. The company started by the fact that we saw technology that could be really useful but was not getting to consumers. Main line of thought would be if there is such advanced technology, how can you actually wrap it with a product that is polished, that is easy, that is understandable and actually creates value for the person who uses it? Because if it's just some gimmick, if it's just some demo that is nice to look at once, then it's not going to work right for a company. It's maybe really nice for an academic conference, but it's not going to work as a product where people actually want to use it and come back to it all the time. So we were trying to solve for problems that people had or for needs that we saw out there, or maybe give a much, much higher quality solution to other things that were happening. Facetune was really about the fact that we tried to build a photo editing app and it had two distinct qualities. One it was focused to a very specific domain. It was about portrait images, it was about faces, it was about people who want to edit their photos before going on socials that were just booming as well. well, we wanted to be able to allow these people to edit their photos on our app. And the second thing was the fact that it was a mobile. It was a new platform. Not a lot of people were building for it at that time. Some of the bigger companies that were kind of trying to take their desktop apps and squeeze them into a very, very small screen. And it just, you know, it didn't work. So taking these two things and creating a product for the social generation, the social boom, that was the beginning. Since then, we've had a vision of building the tools that allow people to execute and to create what it is that they want, what it is that they imagine. And we've tried to hit the spot with whatever it is that we were building. And for sure, we've had bigger products that were successful. Some products were less successful. We've had, you know, at the beginning, different times where we've had many, many apps. Then we started consolidating. Right now, I think technology, again, became a very, very prominent driver for how we choose what we built. We see the opportunities of what it is that we can actually build. try to think not just about how people are used to working now, but also on what are the workflows of tomorrow? What are the things that people are maybe finding hard to do now? And they can do it with new technology in a much, much better way, but it's going to look a little bit different than what they're used to. Combining the user experience and the user interfaces with the technology to solve for expensive in time or resources, that is what drives us. A product like LTX Studio, for instance, is something that can help someone who wants to create a pitch for a new show. So instead of doing something very, very simplistic, you can go and without having a photo shoot, without paying for a lot of VFX, you can create a whole movie that pitches your idea idea and really visualizes everything that you imagine at fraction of a cost, at a fraction of the time, and really allows you to get to where you need to go.

Noah Labhart

So I'm curious about team. You mentioned building a team of researchers. How'd you go about building that team and what'd you look for in those people to indicate that they are the winning horses to join you?

Ofir Bibi

Building Lightricks research has been really a great part of what I've been doing at Lightricks. Hiring is something that can never be overrated, and especially at times when researchers are sought after and everyone's trying to get really the best of the best, it's also a hard task that needs a lot of time and effort. At the beginning, I think we've had a really good starting point by the fact that the founding team were all researchers coming from academia and had both connections and knew to put in the time and effort both in the company and the product, but also in hiring. When I joined, I actually brought with me a friend from my previous company to be the second researcher right after me. And he was maybe my first hire. At that time, we were wearing two hats. We were researchers, but we were also doing engineering and development. We were building UI elements in the apps themselves. It was a small crew of 12 people. anyone who was just a researcher. At some point, I saw more and more opportunities to build really algorithms and to put more time into building the core for running neural networks on device. And we tried hiring people that were able to do both worlds, to be engineers and researchers. researchers, but that profile is both very rare and the training of such people is very, very long. Eventually, you kind of lose focus. So the first hire was actually someone who was really good. If he could be just a researcher, but we tried to fit him into a role that where he's also an engineer. At that point, I understood that in order to build a team, I need to split the responsibilities and hire for two different roles, where one would be an engineer that actually is able to do all the things that needed to be done around, but still speak the language and be able to take an algorithm, maybe from someone who does it more as a prototype and really bring it to the platform, which is, you know, it's different. where you would develop the algorithm, but then you need to run the algorithm on a mobile device, in a different language, in a different hardware. It's a skill set of its own. And people who are researchers, who can learn how to train neural networks, who can look at the pixels and chase them down and make them perfect at the end, and consistent and robust to whatever image our customers were throwing at it. Hiring really, really changed. We were looking for people who are A players, who wanted to dive in and chase those pixels. If they were building the algorithm or implementing it on device, we just wanted people who cared about quality. And so the people I went and hired and the people I talked to, a lot of them had knowledge and a lot of them had a good skill set the technical elements of it. But I think the key for me to build the initial team of Lightricks research was around really finding those people who had this obsession with making what they build work in the best way possible. And it's really hard to say what types of questions you can actually ask, but I think that when you actually ask the person what is their passion and worked on that they most connected to and then kind of see how deep you can dive with them, how much effort they put into it, how much details they know about it, how many thoughts they had about things they never tried and really wanted to get to. That type of conversation was really important to get the people who are, again, obsessed about building something of high quality. It's really the thing that remained true throughout the years. And now maybe the role has changed. Maybe, again, the technical skill set has changed. But that quality is what makes the leaders and seniors in the team.

Noah Labhart

So as you step out on the balcony, you look across all that you've built thus far. What are you most proud of? The

Ofir Bibi

team itself and its role within Lightricks is one of the things that I'm most proud of. It's not necessarily easy to have a team that is both so rooted in the verticals and the products and engaged in what is happening there, but still able to look into deep tech and build core technology that allows everyone to build awesome products on top of it. To recognize that any algorithm that people build for one product in my group, immediately you see other products kind of looking, wait, what did you build for them? We want it too, maybe just a little bit different. Let's add it to our product as well. Well, having that conversation and being able to build something internally that is then used and not left on the shelf, which is a risk in research where it's not always immediate. It's not always building from now to the next sprint. It's sometimes months. It could have been years even. So making sure that you build the right thing, the right core technology to integrate it into the product and see how it's refined to be used by our customers. That's really something that I'm proud of. In it, there's a bunch of stuff that I really like. The latest one is building LTX video, which is a huge effort. And so few teams in the world actually build foundational models that generate video at that level. So making it work and getting to where we are at right now is, again, a huge accomplishment for me.

Noah Labhart

Let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.

Ofir Bibi

To run sometimes with the thought that we could build anything on top of it by basically prompting it correctly and patching it a little bit with pre-processing and post-processing. It's not that we went in blind and some people around us were saying, yes, you can build anything in a week or anything in two weeks. So it wasn't about that. We were actually looking at new foundational models like stable diffusion and we said like, okay, so it can't do everything that we want it to do, but it can do a big chunk of it. Like let's say 60% and maybe in a year from now it will be 90%, but still 60 is huge. And maybe it's not going to take a week or two weeks, but in a week or two weeks, they actually build a POC that is really, really of high quality. It's not production ready, but it is of high quality and gives me all the signals I need to know if it's going to work or not. And then I'll need maybe two months to build something that before took, you know, six months or 10 months. And it seemed amazing. But the big mistake there was to think that bringing the proofs of the 80-20, bringing it to be 95%, which let's say is production ready, that it's going to be feasible using classic image processing and patching the things that the models were not doing very well. And then building all these complex pipelines with a lot of engineering and a lot of algorithms. It was really hard work and we made a lot of really good features with it, but everything was kind of shaky. If you've had an error then it would aggregate over you know the next step in your pipeline and the next step in your pipeline and some things seemed really good in our evaluations but then when you send it out to millions of users suddenly you see it's not robust enough and the fail cases are pretty extreme. All these things were coming from the the fact that the base models were just not good enough. And instead of putting in the time to do deeper research and to build by fine-tuning models and training them more and doing things in a fundamental way, we tried kind of patching around them. And that, you know, bitter lesson basically is something that caused some features to be of lower quality than what we were used to. And some missed deadlines when we were assuming that a timeline, again, is two weeks for a POC. And you make it and it looks really good. And then you say, yeah, so maybe another month or two to finish it. And suddenly it takes three or four. All these things were really a big problem. It was also hard to convince people around us, like product and sometimes even management, to see that taking the time to train more and to build more into the base models is the right way to go. Because the initial cost of it is much, much bigger than trying to patch around an existing model. model. Doing that work of convincing and first of all, understanding it and then convincing everyone around you and getting the buy-in to do a couple of projects where you go deeper and solve it like the root cause of what was not working actually. That was the main, main activity for us to actually do. Once we did that and once I was able to get everyone aligned on how we would work going forward. I think we've seen many more successes and many more high quality features being delivered by the research team.

Noah Labhart

So you're getting on a plane and you're sitting next to a young builder who's created the next big thing. They're jazzed about it. They can't wait to show it off to the world. And can we show it off to you right there on a plane? What advice do you of that person having gone down this road a bit?

Ofir Bibi

First of all, it's great that they have the enthusiasm to go and chase it down and show it to everyone that they meet. That's, I think, the most important thing because once you commit to something like that, so I said, like, I have three boys, but, you know, even though I'm maybe an early employee, not a founder, it's still, like another child to have something that is so important to you that you commit so much of your time to. So having that excitement and commitment is really the first thing but once you get down to it I would definitely say that making the right choices around the team that they build this thing with is super the people that you work with initially really set the tone for how you do things, not just what you're capable of achieving, but how you behave, how you communicate, how you build is a lot of times affected by the mindset and the ways of working with the people that you're in the team Once you have a good team, then you're able to criticize and analyze and look at what is the right choice for you at any point in time to create more opportunities instead of just going with whatever works at that point in time. All of these things, you need a really strong environment, a really strong team to make it work.

Noah Labhart

Well, that's fantastic advice. Well, Ofir, thank you for being on the show today. And thank you for telling your creation story of Lightricks.

Ofir Bibi

Thank you for hosting me.

Noah Labhart

And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Help us out tremendously. And thanks again for listening.

Transcribed with Whisper and reviewed for names and terms; speaker labels are automatic and may contain small errors. Timestamps link to that moment of the transcript.