Get rich building niche AI SaaS (...not another ChatGPT wrapper) — Transcript
Full transcript
- 0:00This is what most founders are doing
- 0:03right now.
- 0:04>> They're all building the same open AI
- 0:07rappers and competing for demand.
- 0:10But instead, this is what you should be
- 0:13doing. Build niche AI solutions for
- 0:16small but carefully targeted group of
- 0:18people. When you say AI today, most of
- 0:21you think about Cad GBT, Gemini, and
- 0:23Clock. But in reality, there are
- 0:25thousands, in fact millions of small,
- 0:27super specialized AI models available to
- 0:30use, and many of them are free and open
- 0:32source. By fine-tuning, combining, and
- 0:34chaining specific models, you can solve
- 0:36many different niche problems for a
- 0:38small group of users and turn it in to a
- 0:41thriving business. Sounds complex? Well,
- 0:44you need a bit of technical
- 0:45understanding, but in reality, you can
- 0:47put a SAS like this together using just
- 0:49a few tools, and you can do it without
- 0:51having to code. In this video, I'll show
- 0:53you how to approach this step by step.
- 0:55So, here's the problem I set out to
- 0:57solve. My team and I produce a lot of
- 0:59video content, but I can't stand generic
- 1:02stock videos like the ones you find on
- 1:04pixels. On the other hand, shooting
- 1:06custom B-roll for every video is really
- 1:09timeconuming. So, I wanted a SAS that
- 1:11could create highquality AI generated
- 1:13B-roll clips with me in it simply giving
- 1:15a description in natural language. And
- 1:17that's exactly what we're going to build
- 1:19in this video. a small SAS tool where
- 1:21you can upload images of yourself, use
- 1:24it to create an AI character of
- 1:25yourself, then use that character to
- 1:28create AI generated B-roll clips. So,
- 1:31this SAS is solving a problem I have
- 1:32myself and I know a few other people who
- 1:34have the same problem, but it's not a
- 1:36big market and that's the whole point.
- 1:38We're building a niche solution for a
- 1:41small group of people here. I suggest
- 1:43you do the same. Use the principles I'm
- 1:45about to show you, but find a problem
- 1:47you have and try to solve that for
- 1:49yourself first. Let's get started. Let's
- 1:53do a quick architectural breakdown. A
- 1:56product like this will have three
- 1:57layers. The first layer is a front end.
- 2:01This is the part the user will be using.
- 2:03We'll use lovable to vibe code this
- 2:05part. The second layer is a back end.
- 2:09This is where we'll store items in a
- 2:11database such as characters and B-roll
- 2:13clips. We'll use Superbase for this
- 2:16part. Finally, the last layer is our AI
- 2:19engine. We need a place to host and run
- 2:22our AI models. We'll use replicate for
- 2:25this part. So, let's get started with
- 2:27the front end. Head over to lovable.dev
- 2:30and we'll give it a very highlevel
- 2:32prompt to begin with. No functionality
- 2:35yet, just the UI.
- 2:38And after running for a bit, it will set
- 2:40up a new project for us. Awesome. We now
- 2:43have the UI for uploading images and
- 2:45creating a new character.
- 2:48We also have some basic UI for
- 2:49generating a clip and a basic history
- 2:52page.
- 2:54I think the design is pretty on point.
- 2:56I'll take it. Now, as mentioned, we need
- 2:58both a front end and a back end. And for
- 3:00the back end, we're going to use
- 3:02Superbase. And here's the great news.
- 3:04Lovable now has a native superbase
- 3:06integration, what they call Lovable
- 3:08Cloud. So we can now handle both the
- 3:10front end and the back end through
- 3:12Lovable, which makes things a whole lot
- 3:14easier. So let's just go ahead and click
- 3:16connect Lovable Cloud.
- 3:19Then enable cloud here
- 3:22and then allow Lovable to set it all up.
- 3:26And now if we click the cloud button up
- 3:28here, we'll see that we have all these
- 3:30things available in our project. These
- 3:32are all the things that make up our back
- 3:34end. Awesome. So far so good. Now, the
- 3:38way this SAS works is by uploading a
- 3:40bunch of images in a zip file in order
- 3:42to create a character. Now that we have
- 3:44the backend set up, let's have Lovable
- 3:46create this functionality for us.
- 3:50We're going to give it this prompt.
- 3:54[Music]
- 3:57And here we'll see Lovable ask for
- 3:59permission to update some stuff on the
- 4:01cloud including a database table and
- 4:03storage.
- 4:05We'll allow this and all of our backend
- 4:07stuff will be set up.
- 4:10Lovable and Superbase comes with user
- 4:12authentication built in and it's very
- 4:13easy to set up. So you can do that now
- 4:15if you want to or for building the PC
- 4:18you can simply tell Lovable to just
- 4:19assume a mock user for now. That's what
- 4:22I'll do. Perfect. Now, after a bit of
- 4:24working, we should have a form that we
- 4:26can use to create a character
- 4:29and upload a SIP.
- 4:33Okay, seems to work. Let's just verify.
- 4:36If you go to the cloud section here,
- 4:38then go to storage, and then there
- 4:40should be a folder for our mock user.
- 4:44And there we go. The zip was uploaded.
- 4:47Perfect.
- 4:48Now, this is probably a good time to
- 4:49make a quick note that with these types
- 4:51of AI coding tools, things don't always
- 4:53go as smoothly as they just did here. In
- 4:56many cases, something won't work, and
- 4:58you'll be going back and forth with
- 4:59Lovable for a bit until things play
- 5:01nicely. But it's totally normal and not
- 5:03very different from how things would
- 5:05flow if you were working with a team of
- 5:07human developers. So, just keep in mind
- 5:09that this is an iterative process and
- 5:10some patience is required. Now, let's
- 5:13move on to the fun part. We need to set
- 5:15up the chain of AI models we'll use for
- 5:18this SAS. Let's get an overview. When a
- 5:20new character is created, we want to
- 5:22trigger a training job. This will use
- 5:24the uploaded images to create a custom
- 5:26image generation model that can generate
- 5:28new images with the character in them.
- 5:30This process is called fine-tuning.
- 5:32Then, when a new B-roll clip is created,
- 5:34we chain two models. The custom image
- 5:36generation model will generate an image.
- 5:38The image is then fed to a video
- 5:40generation model and used as the
- 5:42starting frame for the clip.
- 5:44We will do this on replicate. So head
- 5:47over to replicate.com and create a new
- 5:49account. Here we'll use the fastflux
- 5:51trainer model to fine-tune our custom
- 5:53image generation model. And we'll use
- 5:55clingv 2.1 to turn an image into a
- 5:58video. And I know all this might sound
- 6:01complex, but don't worry cuz lovable
- 6:03already knows how to use the replicate
- 6:05library and intuitively does a great job
- 6:08in wiring this together. And I'll show
- 6:10you how. in our replicate dashboard.
- 6:12Let's go get the API key.
- 6:17And back in the cloud section of
- 6:19Lovable, let's go to secrets and add
- 6:22that API key here.
- 6:29We're also going to take the replicate
- 6:31username, which is the one you'll see up
- 6:33here,
- 6:36and give that to lovable under secrets,
- 6:38too.
- 6:47Good. Let's ask Lovable to use the
- 6:49replicate API to start training our
- 6:51model. This is the prompt we'll give it.
- 6:58And as you can see, we're given Lovable
- 7:00a few technical details here.
- 7:04And again, Lovable will probably ask you
- 7:07to allow it to create some database
- 7:08tables and update security policies and
- 7:10so on. Just let it do its thing and it
- 7:13will set up everything for you. And if
- 7:15you don't know any technical stuff like
- 7:17this, don't worry. With Lovable, you'll
- 7:19get there eventually. It would just take
- 7:20longer and require more patience. So,
- 7:23giving these AI coding tools some
- 7:25technical descriptions really does help
- 7:27a lot. So, try to do that if and
- 7:29whenever you can. Awesome. Now hopefully
- 7:32maybe with a bit of back and forth
- 7:33you'll have something like this. So we
- 7:36can now create a character
- 7:45and it will start training that
- 7:47character on your images
- 7:49and replicate under the trainings tab.
- 7:52We should now see our flux trainer
- 7:54running.
- 7:56After a few minutes, the character will
- 7:57finish and the UI will update like this.
- 8:00Awesome. And in Replicate, we can verify
- 8:02this by clicking over to the models tab.
- 8:05Here we should see our new custom model.
- 8:08Perfect. The first part of our SAS is
- 8:10now working. Now, if we go to the
- 8:13generate B-roll page, we currently have
- 8:15a form that looks nice but does nothing.
- 8:18This is the next part we need to tell
- 8:20Lovable to implement. So, first we want
- 8:22to get the configuration for the image
- 8:24model. And the easiest way to do this is
- 8:26to simply test it out on replicate
- 8:28first. So we're going to add our test
- 8:31prompt here.
- 8:36We'll use a 169 aspect ratio.
- 8:42And since we want a bit higher quality
- 8:43images, let's increase this to around
- 8:4540.
- 8:47PNG
- 8:50full output quality. And let's run it.
- 8:58All right, there we go. Looks good to
- 9:00me. So, let's click over here and we can
- 9:03simply copy all these configurations.
- 9:09Perfect. Now, let's use this and give
- 9:12Lovable a big prompt here. We'll give it
- 9:14the configurations here. And again, it's
- 9:17good to remind Lovable how replicates
- 9:19API works so it can implement a proper
- 9:21polling mechanism.
- 9:24All right. Again, you might have to do a
- 9:27little back and forth with Lovable if
- 9:28this step doesn't work from the get- go,
- 9:30but you should get to a flow that works
- 9:32something like this.
- 9:35We choose the character from the list.
- 9:37We give it a prompt.
- 9:42We can give it a style, though, I don't
- 9:44actually think this does anything yet.
- 9:47And finally, let's run it.
- 9:51And there we go. Perfect B-roll clip of
- 9:55our character, which is me in this case
- 9:57walking in an office. Awesome, man. Just
- 10:00super cool. And if we go to replicate
- 10:02and click the predictions tab, we should
- 10:04be able to see these two predictions
- 10:06from the API. The one from the custom
- 10:08image and then the one from cling.
- 10:11Looks like it's working perfectly. And
- 10:13one thing I absolutely love about
- 10:15lovable is how good it is at filling in
- 10:18the gaps. We have toast messages,
- 10:20spinners, various disabled and loading
- 10:22states, progress bars, and so on and so
- 10:25on. I didn't ask for any of that.
- 10:27Lovable simply figured that we probably
- 10:29would want that. Before AI, we'd have to
- 10:31manually sit and code all of that stuff,
- 10:34and it would take forever. And if we
- 10:35would use a development agency, we would
- 10:37have to explicitly ask for all of that,
- 10:39which for a lot of non techch founders
- 10:41just isn't something they think about.
- 10:43So they'd get this super halfbaked
- 10:45product back because that's what they
- 10:47ask for. Lovable does this extremely
- 10:49well and I think it's such a cool
- 10:51experience. Finally, let's create the
- 10:53history page. This one should be very
- 10:55straightforward since everything is set
- 10:56up now.
- 11:02And finally, you'll have a history page
- 11:04like this where you can see all your
- 11:06previous clips.
- 11:10And if we go to the cloud section in
- 11:11Lovable, we'll see that we now have a
- 11:13database with two tables in it.
- 11:16We have a storage bucket for the zip
- 11:18files and we have a bunch of these cloud
- 11:21functions. This is basically backend
- 11:23code. Lovable created all of this for us
- 11:26and we didn't have to touch any code at
- 11:28any point. Now, we also notice that we
- 11:31get this warning. This is because we
- 11:33didn't implement user authentication
- 11:35earlier. So, if I publish this app,
- 11:37everyone could create B-roll clips using
- 11:39my replicate account, which is obviously
- 11:41a huge issue. So when you see this
- 11:43warning, you should make sure to resolve
- 11:46all security issues before publishing
- 11:48your app. And obviously, it doesn't
- 11:51necessarily need to stop here. In
- 11:53between these two models, we could have
- 11:55added GPT5 to automatically enhance the
- 11:57prompts before feeding it into the
- 11:59replicate models. And we could have
- 12:00added an upscaling step at the end to
- 12:02get full 4K quality using a video
- 12:05upscaler model and just about a hundred
- 12:07other things. Replicate already has
- 12:09models for a ton of different things.
- 12:11But if you really want to go niche and
- 12:13it's not already on Replicate, you can
- 12:15go to hawking phase and find an
- 12:17additional 2 million super specialized
- 12:20AI models, fine-tune them, and upload
- 12:22them to your replicate account.
- 12:25Everything that can be solved with AI is
- 12:27available here. And as I've mentioned a
- 12:29few times now, in this video, I've shown
- 12:31the cut down happy path of building a
- 12:33tool like this. In the real world, it's
- 12:35unlikely to go this smooth in the first
- 12:37try. And typically you'll have to go
- 12:39back and forth with lovable for a bit.
- 12:41So don't get discouraged if it doesn't
- 12:43spin up a SAS for you exactly how you
- 12:45want it in the first try. And if you
- 12:47want to take a SAS like this to the next
- 12:49level, you should layer the approach
- 12:51we've discussed in this video with two
- 12:53additional layers of AI assisted coding
- 12:55which I cover in this video. So go watch
- 12:58this one next.
About this transcript
This page contains the full transcript of Get rich building niche AI SaaS (...not another ChatGPT wrapper) by Simon Høiberg, generated from the public captions YouTube serves with the video. The transcript has 2,196 words across 323 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.