This content is a comprehensive, project-based tutorial demonstrating how to build a functional AI-powered background remover web application from scratch, covering front-end development, back-end integration, AI API usage, database setup, payment gateway integration, and deployment.
Key Points
Mind Map
انقر للتوسيع
انقر لاستعراض خريطة الذهن التفاعلية الكاملة
You have to learn AI coding. This means you have to build websites using AI.
Whatever ideas you're thinking about, you have to bring them to reality using AI
. But you're completely devoid of guidance. There are 10-15 minute videos on YouTube
, and even some lasting half an hour or an hour. But it
's not clearly explained how to build a website. How to provide prints for it?
How to integrate AI? How to bring that code locally? How
to set up authentication? So that users can log in, sign up, and make payments
. What will happen? How will the database work? How will the user's history be
stored? How will authentication be stored? How will user activity information be
stored? What kind of things work? You have no idea about that.
How will the front end and back end be integrated? How will API calls be made? What if you
need to use someone else's service ? For example, in this project, we're going to create
a background remover. We'll use an API for this.
You have no idea how to integrate it, how to read the characters, or how everything works.
So, don't worry. What will happen in this video is that
without HTML, CSS, or JavaScript, we're going to provide a complete
project-based tutorial in which we
'll create a background remover to clarify your concepts. So, without any
further delay, watch the demo, then we'll start the actual tutorial, where
you'll learn complete web coding. So, this is exactly the video you need right now
. This is a video of more than 5 hours. If you devote more than 5 hours to it, you
'll be able to bring any idea you have in your mind to reality and
even earn money by sharing it with the world. You want to launch your own 1% business. So,
this is the perfect video. There's no other video on YouTube that teaches you this.
But in this video, I'm delivering it to you. The website you
see on the screen is completely AI-generated, with the background removed
. I'm going to give you a full demo. Before that, let me
explain the journey from creating the website to actually deploying it
. This link is shareable, and you
can open it and remove the background. This website
also has authentication set up. If you go to sign in, you can sign in, and
whatever the user removes the background will be stored in the database. This
is a project-based course on web coding. In this web coding
course, I'll give you a complete introduction to how web coding
works. The front end, the back end, the payment gateway
integration, and a thorough understanding of authentication. And many other
things. So now I'll give you a demo.
How would you create this type of website? If I click on "Start Removing Backgrounds" and
go to "Upload Images," your image gets uploaded easily. Even if you
go to another website, search for it, and from there, you
can simply copy the image. I'll just go here, right-click,
and select "Copy Image." Pressing Control or Command-V here,
you can import directly from here. So, I've added this functionality
. I'll click on "Remove Background." It's asking me to sign in.
To sign in, I'll sign in here.
It says "Create Your Account." There's a sign-in button below. Let's click on "Sign In."
I'll enter my credentials there. Then, I
'll click "Sign In." After clicking "Sign In," you can see that I'm signed in
. And here it's also showing me data about how many images I've processed
. How much credit I have remaining. So, we're
going to build a credit-based system. How will credit be calculated? How
will things be managed in the database and how will things work in real time? It's not like this is static and
I've told you normally. In this, we're going to go to a very advanced level. This
is a beginner-to-advanced course, so if you don't know anything about coding like
HTML, CSS, or JavaScript, that's fine. We're actually going to build this entire website
without any coding knowledge. I'll show you how to build it from scratch.
I'll tell you how to prompt you and how to use the AI.
We're going to use many things like cursor tray, super base, Razer Pay, N10.
We're going to use the API in such a powerful way that it will create a system for image background removal
. You can view it here, and you can upload it
. If you want to see the history of your background removals,
you can also come to the dashboard or directly
click on "History" here. I'm already logged in. So, I
'm logged in. So, it's collecting data directly from my database.
I'm referring to the database in other words, but it's actually
stored on its server, Snapc.
If you want to preview the image, you can go to the dashboard and click on the "i" button. You can see the preview.
Again, you can download it from here. So, when I download it, you'll see
that the background is completely removed. Then, if I
open your settings here, you can rename it. For example, it says Vivek Mishra
. Let's change it to Ritesh Sharma. So, I can change it to Ritesh Sharma
. I've also explained how the credit operation
works. You can create, update, or delete anything
. So, we're going to look at all these things and
discuss how to get information from there.
This is a great, in-depth tutorial. I also explained how we'll host this Snapcat AI app
. And how to collect payments? If we
click on Upgrade to Pro here, then click on Start Pro Trial.
You can also upgrade here. Right now, it opens to Razer Pay for payments
. From where you can make payments. So, I also explained payment integration and
how to securely perform these things on the website, such as
integrating it with the database and integrating it with Razor Base. How this will be done securely is also
explained in this complete video. So, this is the video you actually need
to learn WIP coding. This is a complete project-based WIP coding course. So
watch this video till the end, and trust me, it will be absolutely worth it. So, first, I'll
remove the background and show you exactly how to remove the background
here. So, okay, let's
click on "Start Removing Background." Instead of "Upload Image," I
'll just copy and paste it here. I'll copy the image here and then
paste it here. And then I'll click on "Remove Background." I have
one credit remaining. So, this is the calculation we're doing. We
're giving away two credits for free when someone signs up. So, after this, it'll take a little process, and
you'll see how fast the background remover is. So,
just like this, I'll click on the download PNG. I'll do it, and you
'll see the entire page appears. It doesn't have a background. So, this is how you
can create a background remover. So, without any further delay, let's get started, guys.
And watch this course until the end. If you have any problems, come back and check
it out and make sure you've completed it. If you've finished it, and somehow
grasped the concept, then you can bring whatever idea you have in mind to reality
. So, let's get started. So, guys, you've seen the previews and all that
I've shown you how I've created it. The actual website
isn't ready yet when I'm recording. I'm building it completely from scratch
. I've created the entire guide. You'll find the link to this guide in the description below
. So, follow it. And what we're going to cover here is that we
'll use Lovable to build the website. Then, we
'll use an API called Remove Background, which lets us drop this clip.
What are we going to do next? We're going to use Super Base to manage authentication
and store user data in the database. For the workflow, we
're going to use N10, which will help us with the AI-based workflow.
We'll develop the backend. Cloudnary will help
us store whatever images we need, so we'll use its API.
Then, there's Razer Pay, where we'll collect payments.
Using Versal, we'll deploy it live so we
can make it shareable on our domain. So, we're going to do a lot of things. The complete guide
is here, step by step. So, first, let's refine it.
How to generate the prompt. So, the first thing I'll do is, I've
already started chatting with GPD here. And I told him my idea. What
's my idea? Basically, we want to generate a background remover. Okay? Now,
I've talked a little about how we want to generate a background remover. Now,
if you want, I can share this exact chat with you. If I
click share here, we won't talk about anything else. So, I'll share this chat with you
to help you out a little. So, let's copy the link. Copy the link
and I'll do it here. Chat GBD Chat
History: Okay, you'll find my chat history here (symbol). You
can click here to see how I generated it. First of all,
I didn't want to waste time on this, so I've
created everything for you. Here, you'll find a website generation prompt.
How to use this prompt? What instructions to give? How you
'll implement your idea is up to you. Now, my idea is sorted, how I
'm going to implement it. So, you need to have some idea
about your business first. So, you can discuss it with Chat GBD like this. That is, you'll
tell it to help me draft features, information, and page ideas for your website that
will remove the background of any image in one click. So, I've just told it this, and
my main task now will be to remove the background. Now, I've written "once," which
should be one click. And we'll use the API for that. So, I've given it a little bit.
Based on that, it's giving me ideas about what elements will
be included. So, it's simply helping me draft well. Now, it's
your duty to carefully check whether the information is being provided.
So, I thought he provided the information correctly. So, I
took this information. You'll find his entire chat history. So, in all two videos, I
want to explain everything in a quick, short, and crisp way that you can understand. Therefore, I'll
include quick instructions so you can follow them. Because if you don't follow,
there's no use. If I make the video longer, it's of no use
. So, here you can see the introduction. What
is the problem statement? This is professional software. Expensive editing tools are difficult to
learn. So, manual background removal is done by the person in front. So, for that, we
're offering a background remover, which is our proposed solution.
Target audience, etc., all the information is there. So,
this is just information about your business. Now what do we do? The basic information about this information
is the background remover. What will be its color theme? You can write all that
. But what will I do with this here now after copying it? I
created a website prompt. Okay? Prompt template website generation you are an expert AI Prop bl
bl bl what is the objective what will be the UI UX now what will be the input format of all this
so I created all this on the prompt. Now I will tell you directly that
you should copy this prompt. Copy this doc that I shared with you.
Okay, now I will drop the generated website prompt here.
So what do we do now? Let's take a new chat, chat GPD chat
GPD Gemini, you can use any tool, so I will paste it here.
Okay? What is it? So, I will paste it. Now look, I directly copied and pasted
this prt. I didn't edit anything
, what's the name of the business? Bl Bl Bl. So, now it's telling me, please provide your input in
this exact format. So, what can you do? You can discuss your idea
. What do you have to do? Discuss your idea that I want to build
this kind of business. For example, man, let me give you an example
because I know many of you won't put in that much thought. And those who
do will go much further than those who don't. So, now I'll say,
help me get business
information in this particular structure.
Okay? So in my business.
I'm going to solve the problem of journaling.
Many people aren't able to document their journeys
categorically, meaning I need to categorize them by category and mood. My idea is
to generalize them. Now, I want to categorize them by mood.
How is my mood? How is it on a scale of 1 to 10? How is my health? How is my education
? What did I pay attention to today? So, I
can see the whole thing in a graph format . So, after this, the person can easily
see their progress in an analytical
format. So, I just wrote this and did it once. Let's see what happens. Love
this idea, Vivek, this has the real potential. So, it says business
name, industry, main problem. So, after I've formatted it, I've written it
and it gives me a complete picture of what the solution is? What is the target user? What are the core features
? Now, I'll work on that. So this will help me formulate the exact problem
. Now I need to verify it. For example, I'm actually using AnyTime on the back end
. What will my stock be? I need to decide that. I
haven't decided yet. So, what will I do with the thing I need to decide? Whatever
I'm confused about, you need to read it thoroughly. Because, if you read it blindly, you're
going to build your business. It's not going to be so easy that AI
will give you things so easily. Because I'm telling you the core things. If this
isn't your strong suit, and you've made a mistake in this, you can't build any business.
Business isn't made for you. You're just making a jugaad (scheme). You
want to be successful in the shortest possible time and with the least amount of brainpower.
Okay? And don't treat this as a project. Imagine yourself
implementing something in real life. Think about it in terms of what I'd expect if I read it. So I'm just
making a tutorial, so I
can't go into too much detail. Okay? Because that also has a constant. Just understand, if we ever
go live on the YouTube channel, let me know if you want me to come live, we
can discuss it in detail. But that's not possible, because
a lot of people will watch this video. Mood Track General: You can rename it later. This is a working name. Okay
? Mental wellness is our own industry. People struggle to be consistent. Okay? Okay.
Now we'll look at the stack. Look, React will be the maximum use. Now React
is fine, Next Day is fine. Ask it. Okay?
Now I'll ask it, according to you, what do you think I should use for it?
For it. Okay? Now I'll ask it a question. Great question Vivek. Honestly,
my honest recommendation for you. Nextjs + n10 and subbase. If he's recommending Nextjs,
then fine, you can do it. But there might be a dedicated video on using Nextjs and React.
I'll have to explain that to you, I'll have to educate you,
only then will you understand. But here, AI is talking about it, so
you can use Nextjs. There's no problem. Nextjs is quite good and
is SEO-friendly. React, if it wasn't SEO-friendly, would have been fine. Now, look,
if you don't know what SEO is, you need to know that too. So, there are a lot
of things like that. If you'd like to tell me in the comments what terms you use
when you're coding, what terms are important for you to know? Bring a video on those terms,
and I'll definitely post a video on YouTube. So,
let's move forward here. So I'm starting to understand everything:
what categories are there? What all is going to happen? Cloud sync. So I
could ask you to explain these terms. But what will I do now? I
won't explain anything. I'll simply go to a new chat. I'll drop my prompt here
. By the way, there's already a prompt posted here. The industry
is talking about all these things, so what am I extracting from this method?
Extract this information. Now I'll go and insert this information here. So let's copy it
. After copying, we'll paste our chat here and
press enter. Now our prompt will be ready. So we
'll use this prompt, and you can also select what kind of UI you want. We
'll talk about that too. So, look, we want a good UI.
We'll build a great front end. So you are a Senior Full Stack Developer Yeh Yeh Role
Definition Need Product Architect System Constraint Back End Logic Hosted Self
Host. So Sass Snapkart has explained it clearly.
Okay? So, on the front end, our nexjs app router
wants to use nexjs, reaet query, tst query, shd cn UI. So,
what are we using in the front end? All these things have been detailed. What will be the text tags,
that means which language will be used in coding, which frameworks will be used. Well, it
is JavaScript, but there are framework libraries which
are also used in it. So, in the back end, Na10 will use our super base cloudinary Stripe, all these things
. So, not Stripe, this will be our Razer Pay for payment. We will use Razer Pay. You
can also say Razer Pay in advance. So, I don't think anything about
Demos, Get Actions, Environment Based Configuration, this won't
be required that much. So
tell me more about devs because I
don't think I am implementing it
as I am directly
going to use Na10 cloud. So, I'll be using the official website for N10 Cloud
. That's why I wrote "cloud." It's also self-hosted. That's
why I'm not saying "Docker," so I'm checking. And
don't be intimidated by these terms. Okay? These terms are common. It throws around a few.
There's no need to be intimidated by them. I'll explain it to you in such simple language
that you'll understand. Even if you have a problem, we
can solve it at the latest stage. So, don't be intimidated. I
'm deliberately teaching you this way because no one else explains it like this on YouTube. And no one else
does. That's why people don't develop websites like that, and their fundamentals
aren't clear. My videos are long, but they're such that if you follow them,
you'll learn something and actually create something. Okay? So,
trust me and watch this video completely. You'll understand everything. So I
don't think I'm implementing it as I'm directly going to use any cloud
okay, also, also Next.js. Also, I don't want to use Next. Now,
look, I don't want to use Next. I want to use it. I only want to
React. Okay? Now, I know what Next.js is, React. I
can't tell you the difference. But if you want to work with Next.js, go ahead and
use it. But it's better to use React because there are some things in Next.js
that you have to add a little bit over and over again to solve problems. AI
will solve them over and over again. That's why I'm not going to use Next.js right now because most people
will build on React. So, we're going to use React. Use React only
, later we can switch if we want. Okay? So, I've written it here. Now, what
does "Let's" mean? This is very important. You have to read each and every step of the way. I
can't go through each and every step, guys. I'm explaining it again. The video would be very long. That's why I
'm making it like this. We'll try replacing it with Razer Pay. Razer Pay setup: Checkout front
order: Razer Pay checkout opens, Users pay, Razer Pay sees WebK, okay, so whatever it
is, no back end coding needed, anyone handles it, so you're good here. DevOps, you
don't need heavy devops for now, since you're using Elite and the front end.
Okay, Versal, so everything is set up, so we're also creating our API,
environment variables, and understanding what all these things are. So I think we're good
to go with the front end: RIT N10 Cloud API. Razer Pay is super basic.
Okay? So, look, let me explain a little bit about the architecture. In case you're
not clear on it, I'll explain a little bit about how
our architecture is going to be. I mean, what my plan is . Let's talk a little about
that scenario. Okay? If you understand a little about the architecture
, it'll be easier for you.
Now, what's this? Sign up for free. Okay.
Okay, guys, we need your attention here. I need 110% of your attention here. There
should be no distractions anywhere. No phone calls. I need headphones anywhere.
Proper headphones. No noise. Okay? Come on. Now, let's learn something interesting.
What will happen in the architecture? What will we have? A front end. Okay?
What is a front end , brother? What is a back end? What is the role of this superb database?
We'll understand everything. First, understand what our front end will be. The front end means
the one in front of us, it doesn't draw a straight line.
This is what our website will look like. Okay? That's our front end. It
'll say "Upload an image for background removal" here, and there
'll be a "Remove" button here. So, we'll place it this way. So, that
's our front end. Okay? This is our front end. Now, after the front end,
our user who uploads the image here and then says "Remove the background" will
go somewhere. Wherever that goes, that's our N10. So, what is N10? The front end is what's
visible in front. The back end is what happens in the back. So, this will be our back end. It
will be treated like a back end. What is a back end? It's made up of different things.
You have Express, which is your JS. So, Express is JS. Back ends are made up of different things,
but we're going to use N10 properly. We're not going to develop any other back end separately
. So N10 will be ours. Now, after this, we'll have the data of all the users who come to
us. Okay? The data will be used somewhere. Now what all is included in the data? Like it
will be used for user authorization. Okay? Our database
will have its own user auth, that is, the user is getting authorized, that he has to log in,
sign up. Now all these things will happen. How will it happen? It will be on the database. Now your
history, okay? That the other person removed the background multiple times,
you have to store the history of that. What do you have to do with the history? You have to store it. Now
how will that history be stored? You have to store the history also. This
is also our task. Okay brother. We have stored the history. What other tasks are there? There are many
tasks. We will know about it in the next videos. Okay? Now,
there's no limit on images in Super Base, perhaps around 512 MB. If you're uploading images, there's a limit of around 512 MB, meaning they
can't exceed 512 MB. If you're uploading images, there
are a few GB, up to 1 GB or 5 GB. So, we won't upload any images to Super Base.
We'll use third-party platforms like Cloudery.
In this case, we'll use Cloudery, which is our platform.
If you see, we'll generate the website front end from Lovable. We
'll use the "Remove Background" API, which we'll
then send a request to NN. We'll use this API. We'll use Super Base, where we
'll perform authorization. After that, we
'll also store your history and other information using the user's NN. We'll use the image storage
inside the cloud. We'll also have a subscription model for payment.
What will we do? We'll offer a subscription model. Our business here
will operate on a subscription model. Okay? It's a subscription model.
Now, for those who subscribe, we'll use Razer Pay.
We'll collect payments from Razer Pay. We'll also offer some freebies here
. I mean, if you want to remove your background for five months, that's
free. Okay? Let's say it's free for some. Okay? So, we've made it free this way
. And I'll also demonstrate some changes. I'll make multiple changes to the site
so you understand how it actually works in real life. So,
we're going to make this particular business very complicated. Now, I
'm making it complicated so you can learn as much as possible. If you
want to learn the basics, you can watch our first part. Okay? If you
go to our YouTube channel and say MS studio.com
, you'll find the video there. Okay? Here, you'll go to Content
and find a video on white coding. There was so much demand, so
many views. Okay? So, we got such a great response. People commented
on this 2-hour, 40-minute video. So imagine how much value there is in this.
I explained it very basic, and I don't know how long this video will get. I hope I
don't have to make a part two. It's already 17 minutes long. Let's not have to stay awake all night.
It's getting to 123. So, let's see what happens. The rest of it is
for you guys to build on Razer. Okay? We'll take payments through Razer. So,
we're all set. This will be our architecture. So, first, we
'll build a good front end. To build a good front end, we
need some reference. If we have a reference, it'll be fun. He'll build it very well
. There should be a reference, and you can decide on the color. So here
I say, have you decided on the color theme?
So let's ask. Let's see, yes, I'll explain it
clearly. You can trust me. So the recommended color theme is Clean Tech Blue
Neutral Gray. So it's recommending me this. This is color. But do I know
what I'm going to use? I've talked to GBD before on the chat, which is, I
click on the one-click BG one. In this chat, I generated a logo.
I didn't do anything to generate a logo. Whatever the chat was about, it was
based on Prawn. I said, generate a square and professional logo according to my
business. We've discussed looking professional with gradient shade and all. So I just
wrote, "Gradient shade," and then, "Generate this professional." So it
generated a pretty nice one here with this color scheme. So, I think we
can move on to this. So it generated this one, and then
we have two. One is this, one is this. So what do I do? I'll download the one above
. Save it here. We'll refine it a bit with Canva or something.
How do I use it? Save it. So after saving here,
our logo is here. So, look, I generated the logo from Chat GB just like that
. You can use Chat GB to create a logo, or you can use any other tool
. If you want to generate a logo properly,
look at brandmarkio. If I were to go into the details, it wouldn't take less than 10-15 hours.
Okay? It would take me 10-15 hours, and people
build entire websites on an AI-based platform in that time, just by coding. If I were to create one on an AI-based platform, it would take a lot longer because
the concepts are so involved. What do I do? Consider it a compulsion. I'll go to Create My
Logo and write "Snapkut" there. So, we
can generate from here too.
But it won't be as good as the ones you'd get from Chat GBD or something like that
. So, if I type "Snap Cut " here, I'll just randomly add the color, etc. "A Background Remover"
becomes "Background Remover." "An Object Cut." So, I'll just type this. Copy it.
We'll set the color to something like this. Blue. Press Enter. So,
watch it generate. Let's see what it generates.
You can see it's producing a result like this. I
found Chat GBD's to be far better. I wrote the gradient exactly how I wanted it. I gave it the way I wanted it.
So, I'll use Chat GBD's. Let's refine it a bit. We'll
add it to the header. So, we'll go to cv.com and refine it. So, what am I going to do for now
? For now, let's leave all this refinement aside. First, we have to build the website.
So here I say, "Please keep the color scheme." First,
decide on the logo. That means, whatever the logo will be,
develop the entire website according to the colors used in it. Whether you want to do it in blue, green
, or red is up to you. Please help, please keep the color scheme according to
this logo. So, I'll do this.
This is our logo. Let's enter it once. And after this, if there's a reference,
we can see the reference as well. I mean, the UI.
Now, we have Drabble. Okay? So, there's a website. The 'u' is coming down, but
I still write Drabble. Remember, there are three 'B's' in it. Drabble
goes to Drabble.
Okay? Drabble is our website. Now, here I can write
"Background Remover." Exactly, we won't write it, but with one click.
Okay? I'll write it with one click. Some websites that use one click,
which have only one click, have a one-pager.
The UI doesn't seem quite right to me. Or, let's say,
gradient one-pager
Sass, Sass. I'll write
Sass, what Sass was, I forget the pronunciation sometimes. Sass, software as a service.
Okay, so we're building Sass, basically software as a service.
Brother, I don't understand the UI of Sass that well.
To be honest,
I can't understand it even after looking at the reference because it's such a business. Or we
can look at other background removers, what type of background remover they
're making. So, by cutting a pixel in Background Remover, I probably
saw someone's. I found Photo Room or Pixel Cut quite nice, but
its UI isn't that good. It's probably Photo Room's, so I can copy and paste it exactly
. There's no need to do that. But let's take a reference.
Hello friend, I got the reference but I want to develop it myself.
Let's do it. Let's see for ourselves what creativity is required.
Okay? Otherwise, I have a bunch of videos in my head about how
to finalize the UI, how to test multiple elements, how to generate 10-15 variations,
then finalize them, how to extract references. You understand the meaning of dedicated work on that
? A 1.5-2 hour video could be made on that too. What can I say? Boom.
I was missing for so many months, and I didn't bring any videos. That was it, man.
I explored a lot of things. I built a lot. It's going to be a lot of fun. It's going to be
amazing. Videos like this have come out. You'll tell me yourself.
Okay. For now, we'll develop according to
whatever it is. Okay? So the core brand theme of your logo. Electric blue, cyan,
neon. So, he's given the color scheme, etc. So, I'll say it here. So,
provide me the final print for generating the website
in a code block. Okay? So let's see what results it generates.
You're a senior full-stack engineer, product architect, and UI designer. Your task is to create
an application called Snapc AI role definition. What
will it do as a front-end? So, weet react, weet type script, tail wind, shd cn, so look, tail wind
is for CSS, your type script is for JavaScript only, so we
won't talk much about text tags, otherwise it will become very difficult, so our hosting
will be on this, limits maximum image 10 MB, so it has also given the resolution,
what will be the format, background will be removed, auto delete after 24 hours, this
is also there, no permanent file storage, so what will be the function requirement, authentication, image processing
flow, enable download receipts, so right now, whatever it is,
let's do it, what will be there, there is user dashboard, there is payments, there is credits, there
is admin panel, there is public API, there is rate limiting, non-functional requirements,
okay, all good, it is a very big project, friend, project gold deliver, scalable,
monetizable, production ready, AI, background removal platform, okay guys, we
are all set, let's go to loveable, let's drop the prop, and if you have any reference,
UI, then look here, like the theme's, na You can create such a color in the theme
by clicking on Create New. You can also add a color here, which is great. If
you want to add a color, there is a lot here. There are colors here,
there are typography effects. So, what will be your primary color in the color? You can add your primary color here.
Okay, you can search for the color or if you want to customize it,
you can use the hex code here. Now, what is in the hex code? For example, let's suppose
how do I explain it? If I write Google Color Picker here, then each
color has a code. For example, if I go to any of these colors, then
look here, the hex code is there. You can copy and paste this hex code.
Select the one you like here and go to the lovable one and
drop it here and paste it. Okay? There are other options for hex, like RGB, SHSLA
, but I'm using hex. So, look at how it
looks after using hex. You can see here how your front end will look.
It's created a simple front end, showing what your primary color is, what this color is.
So, you can use this, okay? And you get a better result. So, this
is a bit laborious, so I'll leave the laborious work to you. If you
want to do it in this case, try it out and see what the color of the card will be.
You can keep the color of the card different, the base color is destructive and neutral color.
I'd like to do a dedicated video on this rather than this, because
loveable is a dedicated topic in itself. So, if I want to plan or attach something,
I want to use it directly by clicking on Add Files.
If you have any reference, you can provide this reference. So, I've provided this reference
. So, use the attached image as the logo. Okay? Okay? So I'll just give this. If
I need to reference something, I'll reference it. Use the attached image as the logo
and for color identification
and for the website color theme identification. So I
'll write an extra line and hit enter.
So let's go, guys. What's going on? Let's see. Where did the entire thing go?
Okay, it's here. Okay. I get scared quite often. It just disappears. It
happened before, once, and it completely disappeared. So I'm thinking about it now. I'm making something.
Yes. So let's think about it. Okay? Let Lovable think. So what we're going to do here,
or if you want to use a free map, there's a little problem. I'd prefer
you to use a paid one. Use a cursor. Cursors are my love.
I feel better using cursors. So, I'll use cursors. But
I know a lot of you are wondering, what's the cursor doing?
I'll get to that later. But first, check out the website.
Our website has been heavily generated with Lovable. So, all our credits are
gone. It's a credit system. So, who doesn't
like free stuff? We're Indians, guys. Okay? So, we love free stuff. So
what are we going to do? We'll use free stuff. So, we're
going to use a lot of tray cursors. It's basically an ID. So, we'll get to that later
. First, let's run it and see how it runs. So, let's
go here. How did I preview it? There's an arrow at the top. From here, there's a preview. If
you click here, you'll see the code, what all the code he wrote.
So, all the code he wrote is here. He created components, he
created assets. So you don't need to know what components, assets, etc.
are. So, let's just preview what's here. AI-powered background
remover. Okay? Start removing the background. So, the original image, the background
image. So, he's created something. So, already, we can make it even better. We
can also fix the UI and other things later. So,
click on Start Removing Background. Then, we'll drop the Remove Image Background image here. So
, let's suppose it's not coming up here?
I'm double-clicking. Do I have to click on Browse Files?
My folder isn't coming up. Now, look, we need to fix this: it's
not accepting image input. So, there are many things we need to fix. But
what do you need to do now? Let's get to the process. Now, let me
explain it to you in simple terms. This is an online tool where you can generate your own website. There
are other tools like Lovable that you can use. If you
look at tools like Lovable, you have Bolt and Emergent. You can also
use Emergent. Right? There are quite a few. Emergent is also very popular.
I'll provide a dedicated tutorial on it. Emergent is done, Bolt is done, and Lovable is
done. These are all dedicated to their own subjects, you can consider them. So,
we can also create web and mobile apps with this. So, all of these work online
. But what do you need to do now? I need to work offline. Offline means
I want to run it on my laptop. I need the files on my local system.
Right now, if they have the files, I have no control over the business. If
I don't have any control over the business, how will I scale further? Okay? So,
I need code, so what will I do with it? I'm currently on Lovable. Going to Lovable,
there's a simple option for GetUp. Okay? We 'll click on this cat icon
. Then, in Sync Your Project, click on Connect GH
. And here, first click on Connect GH and
connect your GH account. Okay? So, check out my account, it's already connected. Vivek Mishra,
from here. If yours isn't connected, then first connect it and
create an account on GH. If you haven't created a GH account, then let me
tell you, I've already made a video. It hasn't gone live on YouTube yet while
I'm shooting this. But GetUp has already been shot.
The video is approximately 1 hour and 20 minutes long. So if you see the get up, it will be great. And even if you don't know,
it's okay, brother, I will explain it. There is no problem. You are a beginner,
I can understand. I am not worried, but I
am thinking that there are many topics. How can I explain? Half an hour has passed in this. But
if I have time, I will explain it immediately. Come, let's come to the board. So brother, see
what is our system? Lovable.
The name is Lovable, but our actual love, our actual heart,
is near the cursor. Okay? What is the cursor? After some time, you will see that our Lovable is an online way,
online without any dependency, without anything. What
can we do online? We can run our own website in which there is no technical part.
You don't have to build a website online without using your laptop, without
using your laptop's storage, without any dependencies. You can build it.
You have all the necessary tools. But when you need to get a little technical, when you
need more control, you get to use some really cool things for free
. Okay? There's a lot of testing that you want to do locally
. It can't be done online. The next part for those things is
something that pros do. Okay? Normally, small-time people don't do it. Okay
? So, this is the work of pros. So, I'm teaching you the pro stuff. So,
we'll talk about online websites. By the way, if you haven't seen it,
please do. I've explained it in these 2 hour 40 minute videos. I've
explained everything, from the get-up to everything else. But I'm still explaining it. Okay?
I also explained how to use the tray in it. Everything, all the methods, are free. I didn't mention anything
paid. But in this video, I'll tell you about some paid things.
So, this is our online website. Okay? So, we developed it online. Now,
what does this thing do? It shows us a very nice preview
. Okay? What does it show us? It shows us a preview. After seeing the preview, we
understand that our website is built perfectly. Our website
is built very well. But what do I do now? I need its code. He wrote the code. Okay
? Where did he write the code? He wrote the code. I showed it to you. Okay?
Let's go here once.
Go back. And here, you'll remember, I
clicked on this icon for code, where I see all the files
. So, it's loading the file right now because it uploaded it to some system
. It's stored on one of its servers. A server is basically a laptop, or a
computer, programmed to respond to and
receive requests. It's that simple. So, look at public assets, all that.
Now, how will this code come in? That's the main thing. I can read this code
individually from here. But I need it on my local system right now. So, what am I doing for this
? The first thing I'm doing is building a Ghub connection
. So, to build the GitHub connection, first, press the Code button to
turn on preview mode. You can see a preview of how your website will look in preview mode here
. Now, for this, we'll click on the cat icon for Ghub,
which has two-way sync, and connect to GitHub. After connecting Ghub,
the first thing you need to do is connect this account and create an account on Ghub.
Okay? What does GitHub do? It's simple.
You need to understand what GitHub
is. So, if I explain it simply , let's come here. Now, this website, its code, our code,
doesn't give us the option to download it directly. Okay? It
doesn't give us the option to download it directly. Who? You won't find direct downloads on Lovable, Bold, or any other online editor
. Okay? You can't do it directly anywhere
. If you can't do it directly, then what's the professional way?
The professional way is that it's in their system. Where will we upload it from their system
? On Ghub. What is GH? Ghub is the most famous platform, and there are platforms other than GitHub
. But what does GH do? It helps you store multiple versions of
your code base . You can store multiple versions. What else can you do? You can store your code remotely.
Okay? That means, if you need to take a backup, if you want to take a backup, in
case all the files are deleted from your laptop, then your files
are stored somewhere in cloud
space. For example, Google Drive is a cloud space. You
can use Google Photos. You can use iCloud. If you're an Apple user, you
can use Cloud. If you have Google, you can use Google Drive.
That's where you find the photos. All the backups are done online. So,
we keep a storage facility online in the cloud. So, what is it? Is it free or paid?
Yes, if it's free, there's no problem. So what are we doing now? We
're going from Lovable. We'll send it to Ghub from Lovable.
After it's on Ghub, we'll take it back to our local system. Okay? Local system.
We'll get everything called there. So we'll bring it to the local system. So first,
let's push it to Git. So, you can see here, there are
different repos here. A
repo is created with the name of each project I push. So what will I do here? I'll bring this thing here. So,
a repo will be created here. So, let's click on Connect Project. Vivek
Mishra is here. This is my gate. Now, I see a transfer button here. So,
let's click on Transfer Anywhere. So, in Transfer Anywhere, this transfer
is happening here on my gate.
So, look, whatever this transfer is doing, we'll bring it here. So,
there will be some dependencies for it. Let's understand that too. Look, it shows https here
for cloning. I'll explain how to clone. But for now, understand that
if I type here, what was its name?
It was Snapkat. Okay? So, here we write Snapc, Snapcut.
It's not working very well. Let's refresh.
Okay? Snapkut is now available. After refreshing,
you can see our Snapkut repo. Here, the entire thing is coming from Lovel.def. Branding
and so on. So, we'll have to remove this branding and so on. So, everything
is coming here. We have the code. There's a public folder. There's an SRC folder. So,
all the things are in folders. Our Fab icon will be visible in the public folder.
Let's see what it is. Look, this is Bolt's. Okay? The Bolt
logo is embedded here. So, we have to remove all these things and
put them in properly. So, we have the code base. Now, we have to bring this code
to our offline level. For that, we have an https in the code: ghub.com Vivek
Mishra is here. If in this case, you know this technical stuff, you
can skip ahead. No problem. If you've seen my first part, you
can skip this one. But there are a lot of people out there. Now, I'm assuming
I'm giving my best in this video. I'm building something quite large. That's why I
'm explaining the basics as well. So, what are we doing now? Let's go here
and look at Git, Github, and the local system. So,
we have to install it on the local system. So, for this, consider what are its requirements? Now,
let's say you want to run this thing locally. So, you'll
need two things. First, you need to install Git. You
need Git installed on your local system, and the one you should install should be
dot js. Okay? New. This should be installed. If this is installed, anything you
order locally will run. Okay? And then what do you need to do after that? There
's an extra step you need to take, which is your Node modules. So, I
'll explain what node modules are and how to actually run them. We
'll get to these things. From here, it's going to get a little technical. A little
technical, then it's very easy. Okay? Very easy. But it
's actually less technical than what technical people have to study. So, just
believe in yourself. Watch this video completely, implement it wholeheartedly. I can say this
if you implement it wholeheartedly, give it your all, you'll
find it difficult. This entire journey is difficult. Nothing is easy. Okay?
You'll find plenty of people explaining things in an easy way on YouTube. But you'll find one person who explains difficult
things in a less difficult way. That's Vivek Mishra.
Okay? So, please, watch the video. Bear with me. The line was very deep. I mean,
if you pay attention, you'll understand. Okay? It's very difficult, but I'm explaining it in a less
complicated way. I can't explain it in an easy way. It's a difficult thing
. Okay? So what are we going to do now? First, you
have to install two things on your local system. Okay? What are those two things? You know what, right? It
's nothing much. You'll just find the new website. You have to install it from there
. Okay? What do you have to do? Get started. Click on it and it
will download from here. So, if I write down our guide's
prerequisites here, let's say, I'll put a prerequisite here and explain.
Prerequisites, okay? What are our prerequisites?
So, let's do the prerequisites here. Install
this on your laptop. Okay? On your device. Okay? So, what's on the device?
The first one is our njs. I'll put the link to the njs website.
Let's make it easy for you, otherwise where would you be looking?
Okay, nots. Then, second, don't follow this link.
This not js, let's unlink it. Okay, second,
after coming here, you have to install get. Okay, you install
it. This get will help you manage versions. If
you have multiple versions, you can manage them easily.
Okay, so remember, git and get are different, so
we'll talk about that too. So, you have to install these two things. And the third thing,
you have to install ID. Okay, what is ID? Your Integrated
Development Environment.
Okay, this is your tool. Now, you can install anything in it. You have
multiple options. Okay? The classic one, which we call Classic,
is our most classic. Why is this happening?
Let's write a little bit about Classic. Okay? Now, let's
give you pointers here. So, see which ones we have in ID? The most
commonly used one is VS Code, or Visual Studio Code.
After that, you can use your own. You can use Tray. I
'm talking about the free one. The free one has Tray, Anti-Gravity. Then there's the paid one, and this
Cursor. Okay? Cursor. There are other tools you can use as well.
But here, you can use any of these four tools; just search. You'll find it
. I won't provide a link. Okay? You're a little bit amazing. Now, if I
type "Cursor" here, let's say Cursor is simple. You can install it from here. It
's a simple procedure. If you install it from here, it will be installed. Click the download button
. Download and install it. Then your Cursor will work. So, I
want to use Cursor. I prefer Cursor. If you want, you can use Tray.
Tray is free. So we'll go here,
sorry, not here. We'll go to Launchpad, and mine is already installed here.
So, right now, I'll click on this tray, so we can create it. So, we
'll run the tray a little bit initially. Then we'll run the cursor, or I
'll keep the project open on both. But opening the project on both
is a bit of a hassle. Okay, okay. We'll use the cursor and
the tray, both in parallel. Let's do it, guys. Let's open a folder. Now,
I'll create a new folder here. First, let's close it.
And I also have to tell you about the MCB server and all that. So,
we'll create a new folder here . It's called BG Remover
YT Project. Okay? Let's create it.
So, let's open it here. Just simply, now you have to open it. Your folder
is open. Now, what do we do inside this folder? We have to bring all the code here
. Okay? And after bringing in all the code, it should run. So, for this,
make sure you install the two things I mentioned. Okay? There
's nothing much to do. Just install what I mentioned. You just have to install
your js from this link and install git from this link.
This is the simple procedure. After that, you can use any ID. I have a tray here,
so we'll use the tray. We'll also use the cursor.
No problem, I'll open the cursor
in parallel. So, go to the cursor and click on Open Projects. So,
we'll open this one in the cursor. Open it and make it full screen. So,
we'll talk about how to run it. This is our tray. Okay? So, we'll bring it up now
. Look, first of all, you'll find the terminal at the top. Create a new terminal here
. You can do the same in the cursor. Here, go to Terminal > Terminal
> New Terminal and change its view a bit. I
want this view from the top. I like this view better, so I'll keep this view.
So, this way, our exact two are visible. So now, if I want to do something, I
need to clone it. What do I need to do? Run the command: get clone get
clone. And after getting cloned, you need to authorize, etc. If you
want complete instructions on how to use Ghub, please watch the GH video. I
'll provide the link below. Go and watch it. You
can integrate Ghub through the video link
. Otherwise, I'll click on get clone and paste the link here. Where did I get the link?
You can see it by going to Lovable. You can copy this link. Or, if you
Now that you've exited Lovable, you need to go to Git and copy this link. Okay
? After copying this link, you need to paste it here. So, after pasting,
you need to press Enter. And after pressing Enter, the cloning process starts. Okay?
Snapc ai Now, look, all the files are here. What's inside SRC?
There are folders. All these things are here. And you
'll see the same thing here too. Look, it's visible here too. We also made changes to the cursor. The ID
is the same. So, the changes to the files and folders are happening at the system level. So,
they reflect on both. Now, look, I know, my friend, if you still have such a big heart that you
won't believe it. I'll give you the Git guide. So, look, the GitHub guide
is already there. First, you need to install Git, which we've already done
. Then, you need to check whether Git is installed or not. So let me tell you one
thing: if you want to cross-check whether something is installed or not,
what should you do? Simple. It's not rocket science. It's simple.
I'll tell you two things. If you understand easily, that's fine. If you don't, try it and you'll understand, no
problem. So, here we'll search the terminal. First, check
whether you have Gate. So what will you do for that? Get
hfen v. Okay? If you type get v, you'll see the Gate version. This means Gate
is installed. You have to look for the nud. If you type nfen v, you'll know whether Jess
is installed or not. So, you have to enter these two things to know whether
it is installed or not. And how will you check this? In pre-requested sites.
Let me write this down too. Check them by
entering the command. What is your command? Get hfen v
and get, sorry, not get, no hfen v. Okay? This is
what you have to do. It works on some systems. Suppose you're having trouble
. It's not working for you. You're having trouble, then go to the new chat and
tell Chat GBD to "Help me check my GID version and NoDotJS
version on a Windows laptop." For example, if I'm using a MacBook, just
write "Windows laptop." Okay? Simply ask them to check and tell you.
And what else can you do? You can also talk to it. Look, this tray,
talk to the tray. Give it full access. The first thing here is to
keep this setting in the tray as Builder. If it's Chat by default, then change Chat and
make it Builder by clicking on it. The first step. Then,
all the models here are paid. But which one is free? This Advanced model below is
free. So I'll keep Flash 2.5 so I get a faster response. So you do this setup
and say here, "Can you check and tell me if
node.js and get is in tord or not?" I'll just say this. And
what you have to do is just copy and paste this entire get
guide. Okay, just copy and paste it here. No
problem,
okay? Take it all and copy and paste it here. Look, it ran the get version here,
which shows the version of get and node.js. So that
means all these things are okay. That means both are installed. Also, can you check this
guide?
I'm sharing below and tell me if Git is properly setup on my device or
not. So I'll check if GitHub is properly setup on my device.
Okay? So I've given it this guide. So it will install based on this guide. I've
given you the proper guide. You 'll find everything in the chat section, sorry, in the description
. So you can use that. The get-up guide is here. Okay?
Don't forget to switch to the top. Don't think you'll get everything the moment you open it.
You'll have to switch from the left. Okay? So please use this.
So now look, it's looking at the Git config global list. Git is looking at this. Check the
Snapc.io subdirectory, everything. Git installation installed, Git version yes, ghub
is properly set up on your device. Here's what I found. So look, it
ran all the commands and told me that it checked the Git repo status, it has
dot git, it has bg remover, all these things are set, so it has viewed the commit history online,
it has also seen the commit history, so what are all the things, you can ask it
and even I tell it, look, Git global configuration
is also saying what is the username, Vivek, and what is the email, Vivek Official Online,
already set your email, so everything is set up for me, in case it's not set up,
If something's missing, okay, then set it up for me. You just have to chat with me.
You literally don't need any technical knowledge. If you
need more technical knowledge, there's a link in the description.
I explained how to learn GitUp in the previous video, so you should check all that out. Otherwise, the video will literally
be quite long. So trust me, guys. Now, let's actually edit it
and understand how to run it. Now, look, I've told you what an ID
is. You have to run some things in it. Some things are used. Now,
you need some more things to run it. What are those things? For example, if you
go to Lovable, you'll see, go back. Look, there are many things
that have a lot of folders. There's a node module, which has a lot of
folders. There are a lot of files. So, it becomes very heavy
and messy, and GH doesn't allow you to upload so many files.
So, the method we're going to use is going to be a little different.
Why isn't Lovable opening?
Wait a minute. So, it's opened here. Lovable, but the file isn't visible here either
. It's set to No Modules. So, that's okay. I guess it's
working in some other way. Let's close Lovable for now. Okay?
Of these websites that are open, we'll also close the ones that aren't useful
. Okay? So, I guess we're all set. Okay?
I'll delete that one too. This terminal that we've opened. Terminal
is basically for checking whatever you need
to check, like project file settings, and what version it is. It's very helpful for that
. Coders use it a lot. Just understand this for now. So now, look,
what I told you here was, look, we have Gid, we have Note.js,
which can run the code, but it still won't run. To run it, you
can tell this AI tool to run it for me. As far as I know, look, I
can tell you the procedure. I know how it works, so I
'll tell you the procedure, then I'll use the AI tool to demonstrate. So what I'll do is,
first, select my folder snapc.io,
right-click, and select "Open in Integrated Terminal." Okay?
I'll select "Open in Integrated Terminal," because everything is happening inside this folder.
Everything is happening inside this folder. So, I'll go to it. If I click "Get Gate," I
'll leave it here. This is the folder called "Snapc AI Studio." I'm inside this folder. I've
figured it out. Now, what do I do inside this folder? I guess
my phone isn't charging, man. Let's turn it off now. So what are we
going to do here in my Snapkart AI Studio? We're going to type npm. What is npm. This
will install the node modules. Now I'm going to hit enter and see what
happens. Okay? Hit enter. Now, let's see the public
src. Now a node modules file will appear here. Okay? So let's wait
while it installs so you can see it. By the way, I won't cut
the video in the middle so you can actually see what it looks like. And I'll
also create a program here. "Can you make this website run on my local device?"
Just type this in. Take a screenshot. Keep it written somewhere
. "Can you make this website run on my local device?" Just type this in and
hit enter, and it'll be done. Now you can see the node modules here
. They're installed. All the node modules, you can see how big
this node module is. So many things are written in the Xord YML here. So all these things,
dependencies, etc., reside inside it. So it's installed. Now,
look, it can only run after it's installed. So what do I do now?
I'll delete it. Okay? I'll delete it. Oh, don't delete it. It's
not good right now. Let's cancel. I wanted to tell you one more thing. Now, what happens here
? NPM run dev. We use npm run dev when we
actually need to run it. So, we'll use npm run dev, which
will run it on our local system. So, you can see, this page opens directly here.
Now, this is localhost 8080. What do many people do? They copy this link
and say, "My website is live. Go and check it out." So, this link
only works on your local level. That's why it's written localhost. Okay.
So please don't share this with anyone.
Absolutely not with any technical person. Otherwise, you'll be insulted. Okay? So,
we'll deploy this on a live link. We'll discuss how. So, let
's copy it once. You can copy it if you want. You can also find the link here
. You can also open it by clicking here. Copy it from here.
After copying, go to any other browser and paste it.
After pasting, it will start running. Now you can see that your
website is fully functional. Now, if I need to edit anything, I
can edit it here. Now, I need to learn about this thing and how it works
, and gain information about things. So, we'll discuss those things as well. Let's say I
delete the modules right now. Okay? I'll delete them right now. Move them to
the trash. Okay? I just deleted
the one that was installed. Now I'll refresh it. Will it work now? I don't
think it will, but I don't know how it's working. How it's working.
I don't know how it's working. But somehow it's working. No modules have just been deleted
. Okay? By the way, a build file is being created, man. I remembered that. There
must be build files lying around somewhere, so that's why it's running. So anyway, I'll just say it. Let's
kill it right now. There's a delete option here.
So if I refresh here, it shouldn't run anymore. Now look, it's not running.
Okay? Because I killed it terminally. Kill means I deleted it from here.
So, it's killed. So, can you make this website run on my local device? Now,
here, I'll even write "Get." I'm used to "Get." Right-click
. Open in the integrated terminal. You have to click on it. Always remember
this procedure by doing this on the folder. And what should we put here
? npm run dev. This makes your site
run locally. Look, it's not running. Here's
an error about missing modules. Why is this happening? Because we don't have the node modules
. Okay? The ones I installed. So what should I say? Can you make this
website run on my local device? I'll just click on this. Look, we have
AI. AI does everything. If you don't understand a topic and
find it technical, it's simple. Use this AI. It will do everything.
This tray of yours, you can see what it's doing.
We can see everything on the terminal. It's installing. So you can see the node modules
installed here. Install on snapco. Npm install, so the modules are installed
. Now what will it do? It will run the same thing I did. npm run dev
is its script. Just like that, it made the site live. I didn't
have to do anything. So you can do this too. So look, I've explained both methods because I
want you to be a good person with clear fundamentals. Right?
Why waste AI credits on useless things you can do yourself?
So let's move on.
Now, first of all, let's fill it up, to make things
look a little more organized. Okay? We have the background remover in a second. We
have everything. Click on "Start Removing Backgrounds." So something
should happen. And let's go a little further back,
creating a background using N10. We'll do authorization and such.
That might not seem very interesting to you. That's why we'll go a little further back.
As soon as we click on "Start Removing Backgrounds," the image should upload
. So, first of all, its functionality isn't image uploading. So first of all,
if I go to the tray, I can select it here, even if
I am on 'Start Removing Backgrounds'. You get an option here,
after selecting it. You can even select the element here.
After selecting the element, click on 'Add to Chat'. After going to 'Add to Chat', you can
say here, 'Here I am not able to upload any image.' Okay? I am
not able to upload any image. It is important to upload any image. So
it is allowed to upload
an image from my desktop. Look, the first thing is, I want it from the desktop. And
what is the second one? I can also write it here. First,
upload image from my desktop. Second,
here, direct feature to Craig.
And drop for uploading. Then what's the third procedure? Our third
procedure could be directly copying and pasting. Copying also
happens with an image. Directly copying and pasting the
image to a shortcut. Okay, this shortcut is done,
so this is the process to follow. I'll also write this here: Remember, these are
only features, so don't create separate buttons for it, because it might
start creating separate buttons for everyone. I don't want that. So I
'll just enter this and let me know if my video seemed too technical.
I'm not using too many terms. So tell me in the chat section. I mean, I'll
have to make a slower video again. I'm already making a slow video. Otherwise,
these things should be finished in this time. But this is just the beginning. I mean, we have
to build the back end. We have to integrate AI, we have to do authentication. There are a lot of things
that are still pending. I still have to tell you more about the setup. So now, look, it
's editing something. I actually had to do it with the cursor,
but still, let me explain. I'm explaining it from the tray itself. And if you
're comfortable with cursor editing, you can do it with the cursor. We'll use the cursor a little later.
Okay. I guess it's okay, man. But the side is black.
Now, I'll tell it, "The above error occurred in the upload page." Then I
'll tell it, "The page is completely blank." Kindly solve it. So, look,
the console locks appear here. So, if you
click on "Add to Chat," it will become "Add to Chat." So, look, look, whatever error
comes up, add it to "Add to Chat" and then press "Enter." So, this error
solves problems and such. So, this
becomes a very beneficial point for you. So let's see, guys, what's going on?
It's solving. So let's solve it, and boom, we have it ready.
Let's click on it. Nothing's happening right now.
Right now, it's still not appearing, man. Browse
files, it's happening.
If I open any file
like this, look, you'll get a real case study type file. First,
I have to do this.
Okay? So, I'll drag and drop this image here. The image is there
. We're not uploading it.
If I click on the original, and this result, remove background, the processing may take a few
seconds. So, look, the result is displayed as it is
. Nothing has been processed yet.
Okay? I understand. Remove it now. So,
let's check the uploaded files, copy and paste. Once, let's see if the copy and paste is working or not. So, once,
what is the spelling of posh posh? What is this? Posh car
posh. Look, I don't even know how to spell.
Let's copy this. I heard on YouTube that
rich people are the most posh. So I just said Command-V. Okay? So, the copy-paste
shortcut also works. If I copy here, it's pasting.
No problem. If I right-click here, copy
the image, and then paste it here, it's pasted. Changed. Okay?
Remove. Okay? So, only this button isn't working. The other two features are working. So, I'll write here, "This button isn't working."
This particular one
wasn't getting selected, but I want to select this one. So, let me just
say this. " Here When " or "
Browse Files" isn't working. If I click on "Browse Files," I can't click on "Browse Files." Here, when I click
on "Browse Files," it's not opening the "Browse Files" and "
Upload" icons. It's not opening the "Local System" menu.
File manager, whatever it is, I'm calling it file manager, I'm calling it local system. Local
system means the local system of the person using it,
I'm using the term for the system that's open. There's nothing too technical
about it. It's quite late at night, man. What time is it? It's 12:59.
I don't know how long I'll have to stay up. I have to get up early and go to the gym. I
skipped the gym today. I mean, literally, I've been wearing gym clothes since morning.
Well, if I remove my jacket and talk like this, then literally, I'm in my lower third
. I mean, if I'm being honest, you can see
I've made a lot of recordings
for you guys since morning. So, man
, let's wait and see what he's showing himself. So, he's changed something. Has he
changed just one line? He's doing more. You can read it. Even read it completely.
I need to fix this. Now I'll update the upload zone jsx to add the reference to the
file input. I'm not understanding anything. I don't know what it's doing. I
'm not a technical person, but still, it's interesting to see what's happening. Something is happening.
Okay, let's do it. I guess something has happened now. So what was the root cause? bl
bl bl I'm not interested right now, but it'll be better if you read it. If you have even a little
technical background, you'll understand what the root cause is. The file browse
functionality wasn't working properly. The label element wasn't taking up the
full space of the upload zone. Okay? So it wasn't part of the upload zone.
Okay? It's there now. Okay? It's good now. So this is all you need to fix it.
So, here you go. Okay? The upload is working.
If I click anywhere else on the left, it's still working. Okay, it's maintaining the entire area
. Okay. No problem. Anyone will click on this area
to upload. So, click on upload. Click on remove background here.
So, okay, remove your background here and it's done. Now, this
process, as soon as you click on remove background, I have to send it somewhere
so that the process can be done and the background can be removed. Now, I have to do this. This thing, this
thing. Okay? So, let's go to Na10. So, first we need to see the procedure
for Na10. So, let's go to Na10 for a bit. I
'll take a water break. Okay, guys? So, let's search for Na10 here. Okay?
Just type Na10 and the first website you'll find will be Na10. You have to go to this website
, and after going to this website, you just have to click on Get Started.
By clicking on Get Started, you can create your account here.
Let's click on it. So, I need to create an account. So the company email says
"Start automating today." So, we'll just use the temporary email here.
Okay? I mean, I don't want to use my permanent email.
So I won't say much. I'll just keep using this procedure.
Understand what I'm doing, why I'm doing it.
So, an email will come here. Let's copy it. You don't have to follow this.
Enter your original email. Okay? Email is required. Why isn't the email coming
? I'll have to type it manually. Let's do one thing. I'll go back first.
Then I'll go to sign in.
Let's do that. Under sign in, you get the option to start a free trial. New
Year, then start a free trial. Even here, the company email won't copy and paste.
That's the problem. If it
doesn't paste, what's the problem? I'll write it down.
It's literally deleted.
It's not like I'm recording, so my system slows down. KO
FIFI
8818 8818@
GS.com
Okay. Let's submit. Okay, we have received an OTP, so
let's enter the OTP. By the way, I don't have to demonstrate this much, friend. You already know this much,
still see it because maybe many people
are getting to see something new
417676
submit Let's go guys Password
Vivek Mishra Name Password
Okay. Account Name Vivek Mishra and
Vivek Mishra Profit Number Can you enter some good number?
Any random number Start free 14 day trial. Will start 14 day trial.
Hi there Vivek. Answer these questions. Okay? He is asking some questions,
let's do it quickly in onboarding. Only me getting okay,
have you built yourself in the past? Yes, you don't have to give all the honest answers
in the survey, so you just write, "Your workspace is starting up,
wait." What does it say, "
Then Quick Start Official," so the rest takes a little time, so let's wait
for that. And this time, let's leave the mail open for a while. Let
's close the rest of it. So, this is our website. Now,
what are we going to do here? We're going to give it a webcam. Now, here, we'll
understand a little bit about webcam concepts and how to implement it. So,
there's Start Automating. Let's go to Start Automating.
So, in Start Automating, you'll see a button that says "Start from Scratch."
Click on it. After clicking on it, we'll build from here.
There's an option to "Add First Step." So, we should also have an API. So, what do we do first
? Now, I'm going to create a normal one. Without using the website. We're back now.
And I'll create it. So what will I do? Normally, there's a form here. So
what is N10? If I explain N10 to you in short, okay? Every tool
comes with a little explanation. Okay? Let's do it. Now, what does N10
do? It helps you automate. What can you automate?
You can automate any task. You can automate any task. You
can create your own workflow. You can create a workflow. And the most important
thing is workflow, what does it mean? Work will be done in a sequence. So
you can create that sequence. Now, what will be in this sequence? There are different integrations
. What are they? Integrations. Integrations in the sense of integration means
you connect different platforms. Platforms like Instagram
. You can also use Lindin. Now, for example, we're going to
connect Cloudnary. We're going to use the background removal API.
The background removal API is a separate platform. We're
going to connect our own website. Okay? We're going to connect our website
to everything else, creating a connecting point between all these platforms, and
connecting all these platforms will create a workflow. So
how do we connect all the platforms? We're using NN for that
. It's giving us a backend functionality that connects things
and runs in the background whenever a request comes in. So
what are we doing here? To explain it simply, we'll use the N10
form. We'll turn the NN form on. So, understand that you
have two things here. First, there's a trigger. The trigger means when the workflow
will start. When. Okay? You have to decide when. So,
you'll decide when here. When triggered. Now, whatever happens after that
will be your action. Action means what action will be taken after this trigger
? Now, you can choose what other action will be taken after this action, and then
what further action will be taken? So, this is how the workflow is formed. But the first one is
the trigger. So, what have we set up now? In Na10. So,
what is this trigger set up in Na10? This is our On Form Submission trigger. We have a trigger
. Now, as soon as the form is submitted, what do we do? Send it to Cloudnary
. So, does Cloudnary already have a node?
Let me check the spelling of Cloudnary. Okay? Cloudnary,
okay? There is no Cloudnary node.
What do I do if there is no Cloudnary node? If there is no Cloudnary
node, I will use a simple API. So, I
need Cloudnary's API. And I also need its API to remove the background. Now, look, I
have absolutely no idea how to get an API for this. What to do, so I'll
have to read these docs and I'll do it with you so you know
how to develop something in these cases. So, I did a simple search to see
if there was an API, and I found this API, because
I hadn't even created the thing I'm about to share with you before. So, let's see
together what we can build. So, okay. Here we are, on form submission
. What do we have in on form submission? The form title. So, we're
not going to make it anything fancy. Let's make it simple. Okay? Upload your
image. Okay? And here's the add form element. The form element will be labeled "
Your input image." Let's suppose
what is a text input? We have a dropdown, an email, a hidden file. So, right now, we're
not using any of the website. We're building the entire back end within the front end. We
're creating a workflow. Through which we will get an input image and its background
will be removed. So here is our password, hidden file, file. Okay?
Our file is ready. So the form is submitted. Let's click on execute step once.
Click on execute step also. Now you can see that your image has been uploaded.
Let's go to choose file. So after going to choose file, here is our image.
Let's submit.
Our image has been submitted. You can see. Now the image which is submitted, you
have to remember this. It will be in binary format. Our image which will be there will always be in binary
format. You will see four types of output. One shows schema, one
A table is visible, a JS is visible, and a binary is visible. Binary is useful for us right now
. Similarly, there's also a schema. I'll explain the schema table briefly.
What is a schema? Your understanding of the schema is enhanced a little by knowing that the
filename is good. Well, here it's this size. This is this. So you
can understand the concept of a schema a little more clearly. What is in a table? A table
is clearly understood in a table format. There is some data that is
not clearly understood in a table. Right? JSN is your code coding, which
will be in code format. So JSON stands for JavaScript Object Notation
. We'll discuss this later. But
your output and input—most of the communication
between applications is done in this JSON language. So,
whatever data we pass around, it's all in the JSON format
. So, what is JSON? There's a format written in JavaScript
. But it's JSON. So, your input image filename, name type, size,
etc. are also written here. What's the size of the image? What time was it submitted?
What was the form mode? All that stuff. But the image data isn't visible anywhere here.
Image data is always in binary. So, you'll see your input
image in binary. So, this is our input image. So, if we view it, you can see it
's 2.5 MB, so it took a little time, but it loaded. My image is here
. Okay? Your eyes look a little closed because I was already closed. And where did I
go? Tell me quickly in the chat section. And let me tell you, this is AI-generated. Okay?
I generated my image with AI. So, it's generated quite nicely. It's good. So let's go back
to the list. Let's cancel. So, look, the image is here. In the same way,
the image from our website will also be here. Now, how it will be received, we
'll set it up later. I'll show you how to do it. So,
let's click on the plus sign on the node. Now, what are we going to do here? We're going to use
API calls. What are we going to do? First, we'll
connect to Cloudinary. Cloudinary is where it will be stored.
So, now, consider our system. Now, we know that we
have the image. Okay? I told you what format the image will be in?
It will come to us in binary format. Okay? Binary.
What will happen in binary format? We will have the image. Now, what will we do with this image
? In the next step, we'll upload it. I'll
have to upload it somewhere. There will be a link to it. Where will we upload it? We'll do it in the cloud
. Okay? After uploading, I'll get a link generated from there. Okay?
What will happen? A link will be generated, and I'll receive it. What will I do with the generated
link? Through that link, I 'll use the second API where I
need to remove the background. I don't remember its name
, let's look it up. I'll tell you the exact name.
ClipDrop, so we're going to use ClipDrop. So,
remove our API here. We'll use ClipDrop. ClipDrop
. Okay? We're going to use ClipDrop. So, basically, this is the procedure
. The main one is Cloudinary for uploading, and ClipDrop
for background removal . So, these are the two things we need to crack. So, okay?
We'll go to the Cloudinary API. So, for the Cloudinary API, I
'll use another account. So let's go to Profiles. First of all,
why is my YouTube Studio open? It's open for promotion, saying, "Hey, watch this video." After 60
days, almost all of my videos are coming. So, let's come here.
And here I have an account called Zopper. Okay? Okay? I
'll create whatever I have on this only. So Cloudnary,
Cloudnary, here I go to Cloudnary, and I want to upload. Upload
API, so I search for Cloudnary Upload Image API. Okay?
I go to this. So Upload API Reference, I click on this. So if
I want to upload on Cloudnary, look, it could be Cloudnary, it could be any API.
I won't do any research, I'll tell you straight up how things work.
So, open the Upload API Reference, mark down the Upload API rate limit. bl
bl bl, all the things are there.
Dude, look, there are so many things I can't understand after reading this documentation. I
'm not a technical person, I have a little bit, but
it's not purely about signing up for free. First, you have to click on the sign
up for free page. Then, I'll tell this API how to use it. You sign
up with Google. I've used Cloudnary, but it's
been months. I actually don't remember. I've forgotten the procedure.
And if I try to do it completely from scratch and don't provide you with the proper format,
it'll be a problem. So, I'm going to pause the video for a moment so I
can see my old workflow that I created. There's a lot of private stuff in there
, so I'll have to pause it. Let's continue.
Why is this taking so long? Let me check it out in the meantime. Okay, it's done.
My iPhone's battery is very low. I don't know why it's not charging.
Why is it at 10% charge?
So what's your main challenge, man? I don't have any challenges whatsoever.
Next, next, let's do it quickly.
Next, images, next, next, get started.
Okay? Here should be our API. Add-on marketplace. So look, here's
the EPI for installing Cloudnary, etc., upload images, and
transform index. Well, there are some things listed at the code level.
I don't want to do it at the code level, I'll just do NSC.
Okay, so here's a settings option. There should be something in the settings, I'm just
figuring it out. Okay? Look, here I found the ABI keys. So finally,
I got it. I'll have to create an API key. Okay? The API key is already
there. So, I'll have to delete it too. I'll show you guys. So,
upload presets, auto upload, upload defaults. So, these are all the things. So,
we're going to upload using the API key. Okay, guys, I got it.
Just give me a minute. So guys, I was just checking my old workflow here.
I used a different API here too. I didn't use Cloudinary's.
Even if I did use Cloudinary's, I can't find it. So let's
create one from a swatch. So first of all, I know this API will work, and we have this
reference. So let's copy it. So let's go to the chat
we were talking about, Chat GPD, and say there, I
'm using this particular reference. So check the Get End version of ours, and which one was it? This one was,
I guess, build. So now I'll ask him
to help me create an end workflow.
So first, help me create
ah, Cloudinary Cloudinary
STPS HTTP node. Okay? So now, look, let me give you a little more clarity here
so you can understand. So, first of all,
I should close these unnecessary websites that are open.
So, okay, let me explain the API to you first. What
does our API look like? Now, what is an API? What does API mean? Simple Application
Programming Interface. What does it do? So, let's suppose
we have it. You've gone to a hotel. Let's suppose this is a very common example that
anyone who explains it to you will give it to you. You've gone to a hotel. Now, in a hotel, you need to order something
. You're standing at a table, and you have a menu. Now,
what do you actually have in front of you? It's not in front of you.
In the back end, the things that work on the back end are your, let's say, kitchen.
Okay? Now, you don't have access to the kitchen. Okay? Now, what do you do? You
don't have access to the kitchen. Now, you wouldn't go to the kitchen and say, "I
want this particular dish, I want this food." So, what happens in between? There's a waiter in between.
Okay? What happens in between? There's a waiter. You place your order,
and the waiter gives it to the kitchen, saying, "Yes, I want this order. I want it
for this person." He then picks it up and delivers it. So, what can you understand from this example
? The API helps connect two people. There's you, and
after you, there's another user. I wouldn't say "second user." It's better. There
's another platform you want to connect to. That means, if you
want to request a particular item, who do you request it from? The waiter. And the waiter
will bring it back from here. So, what is N10? In between, N10 provides you with this very thing, so you can
You can connect the things in between. But how does N10 provide that? N10
is a platform. N10 is a floor. Now, let's assume there's a floor where all three exist
. But the waiter here is an ABI call. Okay? We
'll use ABI calls. So, to understand this better, let's assume
we have documentation for every platform, like the one we
're using now: Cloudery. So, we have a proper
platform for Cloudery. So, we'll have documentation for that as well. So, what does documentation
do? It helps us learn how to use the API. So, we
won't read this documentation ourselves, but rather copy it.
We'll go to Chat GPD, and I'll write, "Now, help me create an end
workflow." So first, help me create a Cloudinary HTTP node and REST. I've
created it, and I'm receiving a binary file. Okay?
I've written that. Now, after that, read the complete
upload documentation of
Cloudinary and tell me
the next steps. Okay? So, you're going to understand things at a very deep level.
I'm telling you something great, you'll enjoy it, friend.
You're going to enjoy what we call fun. Today, it might seem like you're learning hard, and
luckily, I'll have to stop this video. I know, because this is a very long video,
and I can't skip the gym. It's 132 am. Cloudinary upload: how it works.
REST API. So, if you want to use the REST API, you have to post. So, let's see what
all we have to do. So, what are the settings I mentioned?
Okay. Now, let's come here. We've clicked the plus button here
. What do you have to do here? Just search for http. The http node actually
helps you make requests from another website. If
you click on the http request, you can request anything, like, "
Please upload this image." So how do I say that? I'll
say it through this. So, first of all, who do I want to send it to? What will the URL be? So, first of all,
I need to know the URL. So, what did it tell me? I'll check that.
Whatever information it told me, first of all, I have to send a post request.
Okay? Let's send a post. The method will be ours. There are multiple methods here. I have to
send a post. What does "get" mean? I have to get the information from there. "post"
means I have to post there. I mean, I want to upload an image. So,
I'll use "post." So what do we have here? The file
is binary. bla bla bla. So, first it says, go to Settings. Go to Upload. At a
New Upload Preset. Set it to unassigned for easier direct uploads. Okay?
So your work flows step by step. Create an upload preset recommended in your Cloudnary
console. Okay? So let's go to Cloudnary. Cloudnary. Now here,
our console is saying upload, I guess. So, add an upload
preset. Okay? We're on the upload preset. Let's name the preset here
. NA Direct Upload. Okay? Here it's
sign, unsign, sign, unsign. So what do we have to do ?
Set the upload preset to unassign. Okay, let's unsign it. As a set folder, which is a folder
destination, is optional? Allowed formats: JPG, PAG, WEBP, okay. We're not giving an
asset folder. Auto-generated. Okay,
generated display name. Okay, everything is okay. I guess, let's save it according to me
Okay? Upload Defaults, Upload Presets.
So, we've created an upload preset. Where did you go? Well, we went to the settings
as mentioned above, which are on the bottom left. In settings
, we went to upload. We did this. We left out the rest: file name, false, unique file name, file name,
display name. We left out all of that. Allowed formats, max file
size, this: allow uploading without needing to, generally, signatures, manually upload, set up
NAT and credentials. Add Cloudnary using your Cloudnary API key, API
secret. This allows you to authenticate when using Cloudnary Notes and HTTPS
Notes. So, okay. Here, we
have to add our Cloudnary credentials, the ABI key, and the secret. So, okay, we'll create that too
. Okay? HTTP request node upload to Cloudnary. So,
we have to upload to Cloudnary. So, what about that? So, here, he created this for me.
I've given it. Copying it creates a term you
can use. I can copy and paste these directly one by one. But what do I
do? Now I tell it to provide me
a curl URL
for settings
. Okay, so I tell it to give me a curl URL. What's the term? A curl
URL. Look, you can actually learn this from the video itself. There's nothing special about it.
You have to write the curl URL. So, the curl URL should be given to me in a code node
. You can see this. It gave me the curl URL. Now I'll copy it.
After copying, what do I do directly here? Here
you get an option called "Import this URL." Okay? This is your curl.
I'll paste it here and click the import button.
And as soon as I click the import button, you can see that the URLs appear
automatically. By default,
all the things that will be in the send body appear here automatically. I don't have to select a single thing. Okay? Literally,
not a single thing. Now I just need to make the changes here. This
is the simplest method. Even if I don't know, I can do it because I've
done it many times. I've connected many APIs. I mean, you're sitting with this guy
who's done a lot. So trust me, so many gaps
in videos don't come just like that. A lot of things keep going on. That's why problems arise. But now
let's be consistent. So, first write your cloud name. So
what do you have to write? What do you have to replace? That will tell us this.
Okay? So, okay? Let's come here now.
I already did the above. Is there a curl command here too? Upload with
signature. Okay? We don't have a signature. Verify request order
expected response. So this will be the expected response. How?
Okay? So, let's take a look. Your cloud name, your upload preset, image,
page, test file option one unsign upload easiest use this if you created an unsign
upload cloud name and upload preset so I still don't understand
how to do cloud name and upload preset so now guide me what to do after pasting
after using this burn command okay so paste it here now see
what happens? Great question. If this color command works,
this means cloudnary upload is 100% ready. So first confirm curl works. So no
I am able to see my HTP
note on n10 but I have to change the value as well to make it work so from where can
I change the value
value. So let's go. Let's check it. What happens.
Complete success step nine. You have to hit enter once again.
Okay? So binary property name upload preset value cloud name in url
binary property name ok abc icon go to your htbt
nos binary property data this is all ok upload preset if you typed your upload
preset that will fail you must replace it with your real preset name snapko unsign
so what is the name of our preset this is the name of our preset ok let's copy it
cloud name your cloud name my cloud 1 2
3 where to find where to find cloud name
so let's write the name of the cloud. Method one cloudnary dashboard log in to cloudnary.
ok? console open dashboard home like this account details cloudnary name abi
secret key. ok? so what is our cloudinary name?
oh guess settings
is this ours? I'm not sure. But hope so it should be.
I'll send a screenshot of this. Now I'll send a screenshot of this. You can see
that it's being recorded, so you can see my face as well. It
looks like it's being recorded, so here to click. Now, I mean, I have to ask in this way. You
think for yourself that it's not that things are easy, but I
'm showing you the entire procedure so that you can learn. Look, I'm going to make a long video. You don't
have to skip anything. You can skip and watch the video back and forth. Okay, but I'm
going to make it long so that a lot of people can understand because people actually want to build a business
. If they actually want to learn something, it will be very helpful for them.
Click Home top left. Okay? Find Account Details box.
Home left. Click Home. This is Dashboard. Okay? We went to Home.
What happens after we go to Home? This is Home.
Account on this page. Look at the boss that says something like Account Details cloud in name.
API Key Secret Cloud Name Cloud Name DG This might already be your
cloud name based on your screenshot Looks like this Okay, this is telling me Okay, so
this could be it, so let's take this. So let's copy and paste this exactly
. A D Z Whatever is saying Copy Cloud Name ABI Key Secret
So okay, we come to Na10, this should be your cloud name, so
let's paste it. Okay? It's pasted. So Form Data Upload Preset Upload
Preset Value. So what is our Upload Preset value?
Let's check that too.
Let's go to Settings. Let's go to Upload.
So what is its name unassigned?
Okay.
Form Data Folder snapcut dot upload. I guess this is the folder name. The folder is not ours
. It doesn't exist. So if we want to create a folder, okay,
let's create a folder once
. What is our folder? Snapkut Uploads
snap cut snapcut
uploads Okay. Go to edit and save the Snapkut uploads.
I guess the rest should be fine. What will be the input file? N10 file.
So in our file, in the input data field, you have to write exactly your input
image. So, you have to copy this and insert it in the binary image. So whatever
is written here, you have to enter the same here. Paste it and see if something happens
or not. Go to the execute step, friend, something has happened. Okay? My screen
may have paused in the middle, but something has happened. Let
's refresh here, but this shouldn't be revealed anywhere. Check that.
All my things have been revealed
while creating this tutorial. And there's no problem because this account
is my fake one. So if I go to assets here, it
should appear in assets. I can also do security, though I
haven't secured it, but here, guys, this is it. This
is the tutorial. This is what experience says, this is what confidence says. I
mean, have you ever seen a person so self-absorbed? I've done it. Guys, it's
very simple, it's not a problem. You can find it very easily. And if you
need this NET workflow, or download all these things, you
can tell me; I'll give it to you in the comments section. Okay? So, this is the way you
do it. It was very simple. Now I'll tell him, "Now this is working 110%,
guys." So first, how do I hide my video?
A screenshot of my video will also appear. But let me take a screenshot and upload it
Let's upload it here in the chat GPT and say,
"Now this is working, but how do I make it secure
because this is not using any API?" Now, look at what an API is? An API key
is a secret API key so that no one can use it. So, to make sure of that,
we use the API. So, let's take a look. So, first of all,
congratulations, it's working for you. So, uploading images
will do our work. So, we should get something in return for uploading images. What are we getting
? We're getting a link to the image. By the way, we can see that we're getting a URL
. By the way, if I select this URL, right-click, and choose "
Go to this URL," you can see if this URL is working or not.
So, here you can see that my URL
is working 110%. My image has already loaded and uploaded. Okay
? Our procedure is complete. This is how things are built.
So, let's take a look at the procedure for security. Because
security is also very important. So what is he saying here? Right now,
this is working without an API key. This means it's using an unsigned upload preset which is
public. Anyone can abuse it if they get the endpoint. That means anyone can abuse it
if they get the endpoint. So, we don't want to keep it public. We
have to make it private. So, yes, we must lock this down before production. I will
explain in simple terms and then give you the exact setup. First upload
is preset and direct upload. Assign unassign public ah goal kya hai
humara? This is whatever it is. So first we
will have to generate the Cloudnary API. Security ka na thoda sa aakhti me hum log dekhte hain.
Thoda changes kar lenge security ka or do it now.
Uploading to SD will be a bit more complicated. So I
prefer to do it last. Okay? We
have everything. We'll discuss everything in this chat. Okay?
For now, let's keep it as it is. We can secure the rest
by reading it, and you can do it too. Okay? Everyone has to do this. Now, after
uploading, the next procedure is to connect the background remover API
. For that, we first select this node.
There's a rename option here. Let's rename it here. So, let's do it here.
image to cloud. Okay? Upload image to cloud.
So, we've uploaded it to the cloud. Click on the plus sign. And here, we
'll send a separate http request. So, we've taken the code for the http request. Now,
all the things like posts, etc., will remain in the same gate. But here, let's say, "
What was the name of this website?" ClipDrop, ClipDrop API.
Okay, ClipDrop API. So, we've got this image,
so let's give it a link. In the method, we'll see, "Get," so we'll change the "Get" method, etc.
So, first, we'll do the same. Let's copy it and see how to do it. Here,
we'll ask, "
Leave this security
concern for now and help me
use this ABI after
words." So,
here, let's write, "Read the documentation
properly and then directly provide me with a curl
URL." With the curl URL,
all the settings and so on will come directly to us, so we won't
have to manually set them ourselves. Provide my curl URL and
also guide me on how to use it.
Man, I'm getting so tired of sitting around. I've been sitting around for so long,
and on top of that, there's such a long tutorial. I'm feeling bad. I need to sleep.
Let's finish this quickly. ClipDrop: Remove Background: How It Works." Is the endpoint correct
? It's giving us the endpoint and so on. All the API keys, etc., will be placed here. So,
for example, how it works: send a post with an image file. Include your API key
in the header. ClipDrop returns the image with the background removed. If you want a webpage
instead of a page ad.
Okay. Okay
. I guess ours is ready. So, we're going to make a curl request. Working example:
Your API key. ClipDrop will have an API key. There will be inputs and outputs. So,
we need these things. So, let's go directly to this workflow. Import
curl. Paste the URL and import it. So, what is C? Our endpoint
is our API key. We need to enter the ABI key here. So, this
is our header where we'll put the ABI key. So, form data and it and binary file image.
What is the name of the image file? So, does it accept binary files? "My friend, it seems our
upload effort has been wasted. Well, nothing was wasted. I'll explain later
. If it had accepted this URL in this case, it would have been a problem. So
let me ask it once
. This one, not this one. This API only accepts
binary files, and it also accepts a URL. Okay, let's check this .
Clip Drop removes background image URLs. It only accepts binary
files. Okay, okay, if they are binary files, then no, we
'll use this for the next procedure. We'll remove our upload from here
. We'll hit delete. We'll keep this for the next procedure. Okay
? Let's save it aside for now. Okay? This is our work. Good. So
now let's connect Clip Drop directly. By connecting directly,
we put our file here. Here's our output
. Okay? And it's a binary file, image file. So, we'll copy this and
paste the file name of the binary file here." So all these
things are working. We just need the API key. So it is very simple for the API key.
Whatever we have to go here, there will definitely be an option somewhere. This sign in
option will be useful. According to me, let
's click on the sign in button
. Use your email. Instead of using the official email,
I use email only.
Let's create an account with this email ID. Paste it. Sign up.
Check your email. Okay. We have received the email.
So this gives us around 100 credits.
It doesn't give much. So, we'll use the 100 credits.
So, sign in received your request to sign in, sign in
to Clipboard API. Then we click on this link.
Sign in to Clipboard API.
After clicking, it should appear "I guess."
Okay? Verified. Okay? Verified. So here it says "Claim my 100
free credits." So let's click on "Claim." So after clicking on "Claim,"
you'll receive an SMS to verify your account.
Okay? So it's
also verifying our phone number for the API key. Then there's "Purchase more credits." So, man, look, the phone number thing
is problematic. The phone number will be visible here. Let me
do it quickly and see what happens. And this is a fake email, and it's someone else's email
ID. So I don't want it to be revealed. But still, let's do it. So, okay, guys,
I entered my phone number and verified it. So, it's here. The phone
number isn't visible anywhere. So now it's okay. So, if
we click on "Purchase More Credits," let me click it once and see. "Phone, okay, guys." So,
after clicking, the phone number isn't showing up. So, if you want 100 credits,
how much will it cost? You'll have to pay 4670. You'll have to pay this much for 1000 credits. That's quite
a lot. Okay? But they're charging a lot for the credits.
Uncoup one credit cleanup. Anyway, if I were to do it for real,
I wouldn't use this API. There are other APIs I know of. But since we're working on it, let's
use this one. Otherwise, you can research which API will
be more affordable. It's quite expensive. It's too costly. So, let's click on "Reveal API" here
. And I hope this change should happen. So there's a revoke
option. I can revoke if I want. But this API has just
been revealed. For now, this API will work. So, when this video goes live, it
will change. We'll finish it tomorrow. So, let's copy this.
What options do we have after copying it
? Sometimes it goes blank. Let's go here and
paste the API key here. Okay, the edit and work flow we created has been so long,
my mind suddenly goes blank. So, the name of the API is ok.
We'll click on the execute step once. But for that, first, we need to
input the image. Okay? It's a binary file. Let's do the execute step. Let
's see what happens.
Why am I asking you to upload an image?
Okay?
Choose file.
Okay. Let's do the chat with GPD.
Submit.
Okay. It's been submitted. So, it's executing now. Let's wait
for it to execute. Background removed. Okay. So here both the input
and output files are in binary. And in JSON, should we upload an image and
provide a link to it, at least not a binary file
. So, the output.png file is a view. So you can see that
the background has been removed, it's fine. So, look, the background is removed nicely. So,
after the background is removed, we need a link to display. So, now
we'll take this link here and, as a simple matter, for the output ,
we'll rename the data here. The input data field name
is, let's copy and paste it to output. Now
, this will be uploaded to the cloud. So, let's go to the execute step to
upload it to the cloud. Then you can see that it's uploaded. So,
after the upload, we'll right-click on our link, the URL
. And you can see that our
background has been removed properly. So it is 100% working. Now what do we have to do? We
have to personalize this website accordingly. Our API is working and
we are getting the response. So first of all , publish
this NN workflow . Here you will see a publish button. You
will click on the publish button. If you want to give a name to its version, then write the name of the version i.e.
upload and remove check. Then publish it.
So after publishing, everything is okay now. So it is published here.
After submitting the form, we will remove this form submission. After submitting the form, we will remove it.
We'll give it to you and integrate it into our website.
We'll get responses from there. Now, I'm thinking of shooting a separate video for this. It got late last night
. But we'll do it right now. Sometimes we get excited like that. Okay.
If we do it, we'll do it today. Let's finish it completely. I know
I won't be able to do it, but even then, what will we say here on Snapc? We'll
tell the tray, now after the user has uploaded
the image and clicked on the remove background button.
Friend, this versal opens. I'm worried. Click on the remove background button. Then make
sure to click on the remove background button. Then make sure to make sure to make sure what will happen?
Make sure to see, it's blank again. Make sure to
send the image in binary format. Okay?
It needs to be in binary format. Binary format to this particular web. Okay? So,
we'll send the data to this particular web. And look, at the last level, we
'll also take care of security. How can you make it secure? Security: How to
ensure your website has proper overall security? We 'll discuss that too
. We'll make changes. For example, we've got API keys. How to store them
? What are the best practices? We'll discuss those things as well. So,
I think the video could last about four hours. Okay? Let's see how long it
takes. So, here's a particular webbook. Send the image in binary format to this particular
webbook. So, what will be the Vbook? So, I'll explain what a webbook is. So,
now we'll create our own API. For example, right now, I'm sending it. Now,
understand what I'm doing with the data? Now, if we
understand the process, we're building the back end of Na10 using Na10. Okay? Now, what are we
doing here? What were we doing with the data? Whatever we had in Na10,
someone was filling out the front form. We
were sending the data from the form to another place, which was our "Let's Suppose Clip Drop." Okay? Clip Drop is where
we're removing the background. Now,
I had a URL for this Clip Drop. Okay? Was there a URL or not? You tell me. This URL was here
. Let me copy it here. So, you can see that it
had a URL. Now, what am I doing with this URL? I'm sending a POST request,
saying, "Here's my image. Please process it." So, what does it do with this image? This
API point processes it. Okay? And sends me a response back.
Okay? I'll send it the image, and then it sends me a response. Now, it
sends me a response. So, I'm sending it to this. So, what is this? I
'm using an API. What am I using? I'm using Clip Drop's API.
I could create a similar API myself. So we
will also create an API. Using what? Using N10. How
can you create an API using N10? Using Webook. So there is a node called Wbook in which you
create Weweb. So you should understand this way that this is what we are going to do. So now
we will go here and first deactivate the form here. Let's
delete it with this button. Let's keep it somewhere on the side
. What will we do now? We'll go to the plus button and search for "Webook."
This will help us create the API endpoint, and the second
one will help us respond.
This is the endpoint from where people can send requests, and here we can respond.
So, we'll click on "Webook." After clicking on "Webook," the first thing we'll do is set the request
method to "http" and set the path to something nice, like "remove
background." So, I'll put this. This is
the test URL that comes up at the beginning, Vivek Mishra 74, whatever it is, app.N80 cloud. What do I do?
I'll copy it into the production URL. Now, after copying it, I'll
get all the binary data here. So, I'll paste it here. Okay? So,
I've pasted it here. So, after pasting, I
should get a response here. I'll send it. Now, watch it
process the entire process and finally, it integrates like this. People are coming here too
. It's crawling and checking out NN on its own. So, it's thinking. So,
it's doing whatever it takes. Let's just do it. Let's come here now. So, here.
Whatever comes, we have to respond to it. Like this is a post. Okay? I
will connect it here. Now the image will come to us here. So we will do it here.
Write the name of the web.
Image request received
from Snap Cut. Okay? We received the request from Snap Cut. Now after that
what will we do in the last? We removed the background through API. It
was uploaded on CloudD. Image URL and what will we do in the next process
? We will respond. So we click on respond here.
Response: OK, so Response to WebK, so in Response to WebK, your first incoming item here
is "My Field." You have to select it and enter json. Simply, you have to enter json.
Now, here it says "My Field." So, instead of "My Field," I
'll write "A." Let's say "URL," okay. I'll write "URL." And here,
I'll dynamically fetch the value. So, what value will be the value here?
This will be your URL. So, I'll drag and drop it from here. So, if I
drag and drop it here, where my cursor is, exactly,
if I drop it here, it will be dynamically fetched. So, you
can see that the URL will automatically appear in the results. "json dot
url" will appear here automatically. So, here I've applied code that
will work dynamically. Meaning, the URL will be different each time. So,
how will it change automatically? So, it will happen like this. So this is how you can map it. So if I
look at it at the full level, it looks something like this. So it's a little bit wrong.
Let's copy this from here and delete it. These two quotes
should always come in between them. Okay? Remember this. This double
quotation mark will come in between these quotes. Okay? So it should be arranged this way. This should be the structure. Or,
if you're having trouble, you can tell AI Tool that this is the problem. If it's not solving,
it will fix it. So now, I 'll copy this
same structure once in the output . I'll say this here.
Now, in the chat, I'll say, "The N10 will send you the output in this
format. In this
JSON format, if you write this, then process it accordingly." Okay? Process it
accordingly, I'll write this and hit Enter. Okay? Then it will create it accordingly
. So what do I do once? Here you can see that we've set this setting
. Now, what's the next most important setting after this? You understand that.
What did we just do? We confirmed that we're receiving an image request.
As soon as we receive it, what's next? It will send it to the ClipDrop API, telling it
to remove the image. Now, just like I'm creating a workflow on the back end,
they also have a workflow. So, they process it on their end and then
respond to us. After responding, I send it to CloudNary.
Once the upload is complete, CloudNary responds to me, saying it's uploaded
successfully. Then, the next step is this weboc, this
node, where we do what? We respond. So, before responding, we need to tell it
when we'll respond. So, you have to declare it in the first node itself
. Below you get the option to respond immediately.
Immediately means yes brother, we have received it. This is what immediate means. So
what do we have to do? We have to use the Resound to WebK node. How
are we going to respond? We will respond through the Resound WebK node that we installed last. So
you select the third option which will do this work for you. By the way, Na10
is a detailed topic in itself. Creating this API. If you
want a complete and detailed course on all these things, which is not available on the entire YouTube
, just comment and your brother will come and bring it. Okay, such a tutorial in which people literally get interested.
I mean, I have used it so much, what can I say, I have used almost every node,
Slack, etc., Telegram. I have automated so many things in my business,
re-hiring, wiring, offer letter, I have done a lot of things. Okay,
so now let's come to remove background using response, web node.
Okay, everything is set, friend, we will publish it once.
Okay, final work flow
and BG, okay, let's publish it. Now let's see
what happens. So here
we have Okay, so this website has also been made live. I have started it now. Okay, once.
Let's try removing it and start removing backgrounds.
So let's go to Uploads. So now, let's see what we're
doing. As soon as this starts, first, let's make it full screen
and play the executions here.
In the executions, you'll see the entire history of when it was executed. So, this
workflow has been executed four times. So, you're seeing this because this
was a test execution. It didn't happen in real life. So, now
we have to look at the production itself. There, you'll see all these lab things, like funnels, etc., whatever they say, they don't
call it funnel, I don't know what they say, but whatever their chemistry symbol
is, it won't appear. So, let's go to Upload Files. So, after going to Upload Files,
go to Downloads and see my other images. Let's look at another image.
Let's do this guy's. Or whose? Whose?
Let's do ours or someone else's. It
's very confusing. Is there anything a little complicated with this? Let's do it with Buddha.
So here we have our Buddha. So this is our original. This
is our result. Look, the UI can change at any time. Right now it's just functionality. So
if we need to remove the background in this case, we can do it later.
Let's click on Remove Background. So it's uploading. So why did it fail? Failed to process image, please
try again. Syntax failed to execute json to response. So let's add to chat. So,
my friend, our execution must have been completed. But here, maybe let's refresh it once
. There's an error here. What's the error? Let's check it once.
There's some error. Is it from our task?
Look at this, there's an error. It's coming from clip drop. The item has no binary field.
Check that binary field, where you specified the input parameter. Okay, I understand
what the mistake is now. Now look at the name it's coming in. It's coming in the file name. This
is a mistake. Look at how to debug in the editor. Learn how to debug.
I'll teach you how to debug. You have to debug using Na10. So here,
let's click on Debug in Editor. So, after going to Debug in Editor, there
's a clip drop here. Now, you can see it's coming in the file name. And
what am I sending? Your input image. So, we'll create the file with this name. Okay? So, let
's not execute it now. So, let's leave it as it is. Let's publish the file
Workflow Fixed 0.1:
Let's publish it. Okay? The rest, I guess, should work
. This time at least. So, let's click the retry button once.
It should be done now. Just make sure we don't waste credits. I
have 100 credits. That's enough to create this tutorial. Uploading is still showing. So
let's go to Execution. So if it's running, it means the process is underway. Okay, guys,
what should I say? What should I show you? It's done. We uploaded the image. The image
has been removed. There's just a download button. We clicked on the download button.
Clicking on the download button isn't downloading, man.
I 've redirected to the cloud. What is this, bro? What is this? So let's go back.
And what's happening when we go back? It's going completely blank. Is it going black
? Okay? Now what should I call this? Look, there's one thing. Now, understand carefully
the concept concept times. Okay? What's here? Now, if I
refresh a page, this file gets deleted. Okay? So, I want to store it in local storage
. Whatever history I have. I have a history tab for
every image I've uploaded. So now what I want is please also create
one history tab as well to view all
the images with all the image
backgrounds removed.
Okay? So please also create one history tab as well to view all the image
backgrounds removed and
and when clicking on the download
button the image is not downloading automatically
instead it is
redirecting me to the URL fix this to download the
image automatically okay automatically the image will
be downloaded now store
every response on local
storage as well so that even after I have
refreshed this screen I can access
the image and also check my previous
uploads through
the history tab so store tags also locally okay so let me write this
. Now look there is a concept called local storage. So local storage is used until
While I'm setting this up, let me introduce you to local storage
. For example, I'll paste this. So, in local storage, whenever you
go to a website, right-click and inspect, there
's a local storage. If I go here, there's an application. If I
go to the application, there's a local storage. For example, you can see
what's being stored in local storage. Right now, by doing this on Razor, there are a few things that
I entered in the prom. So, by default, it's storing only this much. Now, I
want it to store more. Every website stores this. It's
not just this one. There's session storage. Is anyone using session storage
? So, session storage, I guess, is using one. Okay? So, this is how
we collect the storage for multiple sessions. So,
there's local storage, there's session storage. So, this is what it creates. Okay? So, this
is stored locally within our system. Whenever we need to use the data, we
're not using a database right now. We still need to integrate the database. For that,
we'll create a super base. It will have authentication. Users will
be created, etc. Then, the deployment will begin. There's still a lot of processing left.
I mean, the video will be quite large, and I know I won't
be able to make it in one sitting. It will take several sittings because it's quite late at night. I have to sleep
. I'm tempted to finish it completely.
But let's get things done. So now we'll update the to-do list. So,
only two of the six procedures have been completed. So, should I mention the database as well? So, look,
mainly, only a few things are left. This is almost done. So,
the tasks we're going to perform now will mostly be changes at the front-end level
. Okay? We'll make changes on the front end. Then we
'll integrate the database. After that, we
'll create our user authentication. User authentication. Then, after user authentication, we'll make front
-end changes
. Or I'll write, "Payment integration, payment
, and dividing pre-paid tiers
accordingly." We'll have credits.
How about credit allocation? We'll do all those things.
So, okay, our website is done.
So, let's copy the URL.
It's 800. We've opened this second development server. 8081.
Okay? Look, the history is visible here. If I go to History, "Start
Removing Backgrounds," there's no history yet. So,
let's skip prying, etc., and come to Features.
Click on "Start Removing Backgrounds." Upload Files.
Okay. This time, let's upload our own image in Upload Files.
Let's go to Show All and
upload any image. This is my image.
Let's remove its background. So let's click on Remove Background. Let's see, guys, what's going on
? Snapc ai
is taking time.
The process failed. Why did it fail?
It's actually running. Why did this process fail? Look,
. It succeeded. So what's the problem here? We've also received a URL
. If I check what URL we got?
If I go and check, we see the URL is correct. Okay
. The URL, so we have an OK report for the URL. Then what's the problem?
What's the problem? So, if I ever encounter a problem, it's simple. If I right-click here
and click Inspect.
So why did the process fail? So, it must have sent some error to the console.
Processing Image Quota Exceeded Failed to Execute Set Item on Storage Setting the
Value Snapc Exceeded Quota Processing Image. So look here copy console, if any
issue comes then copy console and send this such screenshot simple. Okay? Send this
such screenshot anytime. This will most probably solve it.
I am getting this issue even if
the response
I have this even
my enben verb flow was executed successfully.
Okay? So it is coming. Let's paste. Here is the console
if you need any
here is the console locked. Okay? So let's put it in once and see. So
look friend, you are getting to know quite a few procedures for testing that
There are problems. Okay? And I actually know what all the things are.
I mean, I must have put a lot of hours into this. 200, 300 hours at least
. There have been a lot of problems in this AI-based development.
I've built very complex things. So what
are the current future flags? I see the issue: the local storage quota is being exceeded because you're
storing full base64 previews of images. Let me fix this by limiting the number of
history items stored. That's what we're doing: this base64 store
history item store. Okay, perfect. I have local storage.
Here I say, a for output. For output, you can
store the direct URL that we're getting online. Okay, so
I'll write this here. Now, look, if I don't copy and paste it into the console. Okay
? What would happen if I didn't copy and paste directly into the console? It
wouldn't be able to identify the issue, and the AI wouldn't be able to solve it. You know, that's why most people's
problems aren't solved and they can't use the AI properly.
That's the main reason. So, you have to work on these things. So, here I've also written
separately that it can also use direct URLs. Now I know
how things work, how it connects. So I wrote it down. Now
you don't know what you'll say? Ask the AI what could be an alternative to this?
Tell me two or three alternatives. What would be the best strategy? So, after knowing that,
you just have to put it properly. I'll update the code to store only the direct
URLs and remove the large base64 original preview from local storage
to avoid quota issues. Okay? So, I gave it a great idea. It also
knows. So, we'll store direct URLs and such.
Okay. I guess we're all set
to process your image. Please try again.
Okay, enter. Once that's done, let me check this too
Why did it freeze? Sometimes it can happen to you that it freezes.
What, generally? Okay? Let's check this one
. The application is now much more efficient with local storage. So, guys,
let's process the image one more time to see if it can
process it properly. So, okay, I
'll run this one now. Let's click on Background. Hopefully, it
works this time. There are no problems. This is the main challenge.
And after running for so long, it should be of some use.
It's showing Successful here. Okay, guys, our background has been removed. So,
download the page, process another image. I'll click on Process Another Image. So, here
we go again, Process Another Image. History. Go to history and see. Look,
I see this is my image. Even if I refresh it, it won't
go away. Boom, you can show it this way. Now, if I click on download, it
's downloaded. If I want to delete it, I can delete it. So,
let's go to download. Now, this is its name by chat gpd. This name also
needs to be renamed. By the way, we can also change the name I'm sending. It's
coming back as the same name as it was sent. So, there's no problem. That's correct,
friend. I mean, it's coming back as the same name as it was sent. It's not something random.
So, that's correct. The background has been removed. So, guys, let's see, we've actually
created a background remover. The only delay
is due to real-life changes, so if I want to share it, it can be shared. I just
have to push to git get up. So, okay, guys, I'll record a separate video for the next session
. Let's keep it that way for now. And you
'll find the combine right after this video. So, there won't be anything new for you. So, see you
with a new setup. Okay?
So, guys, let's move on. It's a new day, a new beginning. So, I told you
how to create this workflow and all that. And finally, we
removed the background here, which was 100% functional. But now we need to figure out
how to handle authorization and all that. So, if I
talk about it, we're done with it. Then we generated the PROM and generated the website.
What were the previsits? I told you about it. Note: We've done all that
. This is a quick GH cheat sheet. And on Ghup, guys,
the tutorial is up while I'm recording this video. If I were to show you, okay?
If I were to show you the studio here, it's already gotten a decent number of views. It
's been a day. Around 35 views. So this is Gib's video. You
'll find the link in the description. Be sure to go and watch it.
After watching Gib, you can come here. I've already explained about Git, but right now the main thing
is that we'll push to Git. Our main target will be to push to Git
. So right now, we'll do it with the cursor, not the trace. We
'll use the cursor throughout the video because you should learn new tools. It's almost the same, but
I'll tell you what those things are. So what we're doing now
is clicking the plus button here on a new terminal. This new terminal opens normally,
snapc.ai. Clicking on it opens the integrated terminal. So, it's on
the integrated terminal. Now, if I check the gate status here,
you can see that many things haven't been added. Now we're going to add this
and actually push it to Git. So, you can see how to do it. It
's very simple. It's not a big deal to do things on it. So, on Gh,
we cloned from Gh here. First, we've seen
how to clone from Git. How to run it. Now,
how will you actually push back to Git? So, first of all, let's go to Gitup because we want
to make it publicly available. So, the process we're going to look at right now is the
deployment process. Okay? What are you looking at?
Deployment. Right now, we have things left. Okay? The back end is left. Our data back
end is complete. The database is left, and the payment integration is left. Mainly, these two
things are left. After that, our things are almost sorted out. So, now we
'll come here. And we'll do a few things here. We
'll do a deployment. For deployment, we are going to use Get and Versal. Okay?
We are going to use GitHub and Versal. So what is Versal? Here
we will go to Versal. We will search for Versal. So you
will find something like this in Versal. If you click on this site, it will ask you to sign up etc., so
you can sign up here. After signing up, a dashboard like this will appear,
you will get the option of Add New. After going to Add New, you have to go to Project and here
your Gib project will be there, like Snapkartai Studio, we
will import it, but you can see that the last one is written j 28, so at this time I guess
I had pushed whatever changes were there, so if we open Get, get github.com, then
here I had told you that repos are visible here. So here, if
you're having even the slightest difficulty understanding Ghub, guys, I told you
to go and watch the previous video about Ghub, then you'll get clarity if you're
having even the slightest difficulty, because it's a 1 hour 20 minute video. So,
I've explained in-depth in that, in case you have any difficulties. Otherwise, you can easily follow it, and you can
figure it out from this video. So, what do we do here?
We had our Snap Snapc AI Studio. Let's click on it. And after clicking on it,
you can see here that I made changes four days ago. It's been four days since I recorded.
Now I'm recording this part again. So, what do we do now?
Now we click on Commits. There are three commits. So,
after going to Commits, you can see that it has imported some of its templates.
That's why Jan One 2025 is showing first. So you can see the template is New Style
Vite React Shen, so it's using a template, that's why it looks like this here
. So what we're going to do now is go back here.
The last commit was on January 28th, so we're going to commit here. Now look at the scene
. If we come to the Git Up guide here. I've already told you
how to check the version. All this initialization, etc., we're
not creating a new file. We're using an existing file. So you don't need to understand this
. If you want to understand, watch the Git video. You'll understand. What is Git Up?
So here, for a single file, get added filename, and for all files, get added. So, it
's written as bl bl bl. So, don't go into this process. You'll find it in the documentation.
You can follow it easily. And you can even call it in chat. Okay? If
I don't want to do it in these cases, I'll tell you about it in chat. I'll tell you about the chat later.
I'll show you. I'm not showing you right now. I'm teaching you. Okay? What do you
have to do? Simply, you type git status, and by doing git status, you'll see many red
files appear. Okay? Now, you can see these red files
are visible to you. What do you do with this? I'll just add a space and press
enter. You'll see it will turn completely green. Now, it won't
turn green automatically. You'll have to type git status to see it. What is its status? git status.
So, you can see it's completely green. Okay? Okay? So, you have to make it completely green like this
. Where do you run the command? This is the fourth stage where you
get the exact command to enter git status. This is your command in the terminal. Then
you can type git add this dot this. Then what do you do after that? Git
commit. Commit your changes. That means naming your changes. So we
're going to name it, in short. So here we go. So here
you can see the Snapka AI front end. So this is a message. A
message of changes. What do we do with it? What's its format? Gid space
commit space hyphen. Okay? What do we call this? Hyphen, which is this dash minus
sign, is hyphen em without any space. Then you have to put a space after that. Then the code
will start with double quotes. And then you write, "I
'll write here Na10 Na10 back end integrated
successfully." Okay? I'll do that. The double quotes
are closed. That's exactly what you have to enter. Take a screenshot. And otherwise, I've also provided a Google Doc here
. Okay? Proper here is the Google DC where
I've written the full command, "Get Commit" inside the V and underscore. You
can type it here. It says version one here, but you can replace it. Now, all
you have to do is press enter. You'll see that all the commits have been made.
Now, when I do git status, it'll tell me to push. You can see that I use git push
to publish. So, what I'll do is enter the same git push. And after git push,
you'll see that if you refresh here and refresh, a new commit will be created with today's date,
which is January 31st and back, and integrated successfully. That's all you have to do
. It's very simple. Okay? If you're having trouble with the process, I
'm giving you a video. I'm giving you the getup video. You can watch that video. In case you have any doubts or
want to learn more in-depth, you can skip any procedure and watch it.
Otherwise, this video is more than enough. If you're having trouble, still, I've told you
to go to chat and tell him to push this to me on Git. You just
type this. AI will do it. Okay? That's all you have to do. So the front and back end are
successfully integrated. Now what do we do? Deploy it.
I'll create a shareable link that you can also use. If I share it with you,
you'll be able to access it. What's the point right now? For example, this is a local host. I
can't share it. It's not publicly shareable. If I copy this,
let's say this is my project, its port number is 8080, so it opens. But
if its port number is 3000, or something like 380, and I open it, it opens like this
. It will open exactly the same way in yours if I share it with you. It
's opening in mine because it's running locally. Now what do I do? I
have to make this public. So where do I go? Go to Versus. And from here, I'll
deploy. So here you can see how long ago my last
changes to the Git repo were made. And in which repo? They were made in Snapcat AI Studio
. So I'll click the Import button here. After clicking the Import button,
all you have to do is click Deploy, and the deployment process
will begin. So, it's currently being deployed. You'll see it here as well. If I
refresh it, you'll see zeros from ones. So what
's happening here? Versal Pending: Versal is deploying your app. You'll see this
once you connect. So first of all, when you sign up in Versal, it
will ask you to connect to Gib. So, make sure you
connect to Gh. You have to authorize Gh, and after authorizing, look, our
website is ready. Now I'll make some changes to it and push it. I'll show you
how. So, again, I'll click on the Visit Website button here. So, you'll see.
You can see our Snapcat AI tutorial here. It's already here. It's very simple.
Remove backgrounds in seconds. Start removing backgrounds, view pricing,
all that. So we can refine it a bit more. But let's move on
. Okay? The background remover is doing its job. So
let's try it here again and remove the background. So
let's use the same image or a different one. There are a lot of images.
Let's try this image once and see what
happens. Remove background.
Let's see what response we get. It
's not too slow, of course. It's quite fast. The
response is there. You can see that the background has been removed properly.
That's all you have to do, and I'll click on the download page here. There
was an error downloading the image. Why is this error happening? Let's inspect it once
. After inspecting it, we'll see
a resolution here on Cloudnary. Okay? This image is our image link, which
is being saved on Cloudnary. So, here
we see an error: downloading image type failed to fetch a new promise. So, I don't know what the problem is.
I'll click on the download page again. This problem is coming up: a versal.app slush upload. I guess
something was loaded over https, but requested an insecure resource. So, once we
copy the console and ask the AI here:
why I have deployed in the website, but
I am unable to download it. Help me fix this issue. Let's
do this console log. So, here I say,
first explain me without
making any changes in the code. Instead of writing this, I can do another process.
Here, instead of the agent, I have the option to ask. I'll ask
. Similarly, if you're using Tray, you'll need to use Chat instead of Builder
. I mentioned Chat Builder here. First, explain me. I'm
using Cursor right now, so I've hit Ask. So, this is where you can switch
. First, explain me without creating an in the code.
Okay? So, here, instead of Grad, I put Auto. Models are selected here,
basically. So, here, I put Auto and hit Enter. I have
Premium Cursor. If you don't have Premium, you can just use Tray. But
for those who can afford Premium, this will be very helpful. Explain the issue
locating where Cloudinary URLs are built into the code base. So, we don't know what to
change. So, okay.
So, it's reading. So, this is how you solve it. Always remember to right-click
and click the Inspect button. And open the console here, and any issues that
arise will appear here. Otherwise, you won't be able to solve it. If you tell it, "I
'm clicking the download button, but the download isn't happening," what
will it do automatically? It will hallucinate. That is, it will automatically think, "This could be the problem, that
could be the problem." But in reality, the problem will be something else. So, this
is the best way to debug any problem. So, you
're not implementing things in the real world, nor are you solving problems in the real world. You're
just learning and giving commands to AI. For this, at least a like is necessary.
What needs to change conceptually? You have two places to fix it. Back and not
the best place in the workflow that processes the image and talks to CloudNary. Make
sure you use and return HTTPS URLs. If CloudNary doesn't return a URL
, use SecureURL and send it to the web.cs response in the dataURL
and configure the integration. So, it always returns an HTTPS URL
when the front end receives HTTPS, and the existing FetchURL is the front
end's safety net. Where you are, okay? So, in short, the download is because the
page is HTTPS, but the image URL is HTTP, and the browser blocks it
. Okay. So, there's a security issue here. So, let's tell you what it's saying
. If you don't understand this English,
okay? So, let's come here and take a look at our
response. We'll go to Executions. After going to Executions, this
was just executed. We'll click Copy to Editor. Let's debug it
. So, let's see what the response we just received looks like.
We have this. There are two URLs here. One is http
and one is https, the secure URL. What was I using? I was using this URL.
I wanted to use the secure URL. So, I can also type "c secure underscore URL" directly here.
I've just written the code. Okay? You
just have to do this, or you can drag and drop it if you're having problems.
You just drag and drop it. This will appear as the secure URL, and you can put it here
. So I've put it. Okay? This is our secure URL. Where the https
is coming. Now everything will hopefully be fixed. So you see, this is
turning out to be a really interesting tutorial. I mean, so many problems are coming up, I'm happy myself
. I mean, it's sad when problems arise. But I'm happy because you're
learning, man. Imagine you've got such a tutorial, I mean, it
's a God-level tutorial. I mean, to be honest, you can just pick it up and check it yourself anywhere,
like on YouTube or something. You won't find anything like this. Okay? So we've published it
. Okay? Now what do I do again? I'll refresh it.
After refreshing, it'll show up in the history.
slash upload.
Okay? Here, it starts removing the background. And by the way, there
's another problem here. When I go back here, as if I'm in uploads,
it opens. Okay? And if I copy and
paste it directly here, you can see it says "not found." So this
is a problem with Versal. When you deploy to Versal, I've
encountered this problem before. I've fixed it. And I'll also say here that there's
some issue with routing. What is routing? Routing basically means
going from one page to another or opening a link directly. So, if I'm
opening this URL directly, right? If I'm using this, if I'm
opening this URL directly, which is already deployed on
Versal, then I need to provide complete information about its deployment on Versal.
Now, take a screenshot and submit it here. Doing
this,
please
check the above screen shot and fix it. Internally, it's working, but if someone
directly clicks on a link, it's not worth it. So, basically, the problem
I mentioned is that if I directly
click on slash upload or anything else, it results in a 404 Not Found error. Okay? So,
this is a major problem we need to solve. So, I've explained this. Otherwise
, the remove background feature should work. And now I'll also show you how to push to GetUp
. So let's do that once. Until then, we
'll move on. So, I've encountered another problem. I've been using it for so long, so
I can't access ClipDrop. Okay? That's mine. Now, I don't know
how many credits I have, but I still have it. I must have 80, 90. So, I
've revealed all the APIs I used. You can use them
, but please don't use them. Okay? As long as you use them after the tutorial,
it won't matter. It's only about 100 credits. So, okay, I
don't have access to the account, but the APIs are working properly, which
I've taught you. Now, the main things that come after the API
are described here: deployment. Now, we'll focus on database and payment integration. So,
what do you need for payment integration? You need Razer Pay. There are many payment
options you can integrate. Razer Pay Cash Free Pay uses
Stripe, PayPal, Ina, PhoneP, CC AEN, and many other payment gateways. Payment
gateways are payment providers. Imagine you
're posting your bank account details on your website. Now, if you
provide your bank account details, consider whether this is a proper way to collect anything. You
provide your bank account details, and they will make the payment. Then you verify them, and then tell them, "Yes,
you've made the purchase." Now, we'll give you access. Then we'll send you an email confirming the purchase.
It's a time-consuming and complex process. But
payment gateways simplify this very process. That's exactly what payment gateways do, like Razer Pay Cash, etc.
We'll use Razer Pay for this video. So, I'm on reserp.com.
Simply search for Razer Pay. Search for Razer Pay and you'll find this website.
Go to this website.
Once you're there, you simply sign up or log in
. Now, let's see what Razer Pay will tell you when you use it for the first time.
Where did our doc for a first-time user
go? Here it is. Okay? Now, when you use it for the first time, understand
what the general charges are. All payment gateways charge around 2%
plus GST. They charge 2% plus GST, and they also charge 18%. So,
net, you'll have to pay around 2.36%. So,
what are the required documents? You can provide your personal PAN card, or
you'll need to provide your business PAN card and GST number.
You can create a Reserve account at both the personal level and the business level. After that,
some common documentation is required, such as a website link. There will be a live link,
a privacy policy, refunds and cancellations, a contact us page, a shipping
and delivery page, and terms and conditions. We'll
create all these pages as well. In some cases, they can also ask for a purchase invoice. For example, if you have a
physical product, ours is digital, so no one will ask for it. But
they can ask for a purchase invoice if you're selling a physical product. And
what's the time required for approval? Look, it's approved instantly.
You can accept temporary payments up to ₹15,000 whenever possible. This is available in some gateways
. You can collect a little bit in Razor Pay once it's approved
. But I don't think so in Razor Pay. So, I just did it for a client
. The payment there wasn't through Razor Pay, but cash is done for free. This
15,000 is available only with some payment providers. Remember,
cashless transactions are available with some payment providers. If you want to use cashless transactions instead of Razor Pay, they
provide cashless transactions after submitting instant documents, etc.
Right? This cashless transaction will be available. You
can also do it from here, which currently charges 1.65%. Now get India's best payment gateway
pricing. So, they're offering it very cheaply right now. Right? You can see that
they've significantly reduced their prices in percentage terms. So you can use them.
So, let's move on. I was telling you what happens next. What happens after that?
It takes one to two days for final approval, and in some cases, it can
take 7 to 10 days. So, you need approval for the payment gateway because the RBI
has very strict guidelines that not everyone can accept payments
because of the rampant fraud in the market. For now, we