π Add to Chrome β Itβs Free - YouTube Summarizer
Category: N/A
No summary available.
00:00
in this video I will show you with a real practical example step by step how to build and sell an API online without writing any single line of code and the best part it's totally free so today you
00:16
will start a business online without any investment and I will show you how to do that starting from the idea building publishing and selling not only that in the bonus section I will show you how to
00:32
double your income and turn these apis into online tools to have two income streams think about this video as a full course on building a real business with apis online if you are ready let's get
00:48
started first just in case you are new here and you don't know what is an API it's simply a piece of software that connects applications together and today it's a very hot and trendy topic simply because apis power both developers and
01:06
automation systems and automation today is one of the best and Hot Topics this is why you have a great opportunity to start building apis and sell them to everyone building automations today now usually when you want to build an API
01:23
you will see some codes like this one here it's one of my apis by the way not only coding you will need some technical skills to host the API online get a server manage it and so on we have a lot
01:38
of technical details out there and it will cost you at least at least like $10 to $20 to get started but today I will show you how to get started with 0 so step number one we need a no code
01:54
tool to build our API with I will pick me.com it's one of the best no code automation tools out there it helps you build almost anything you want easily it's simple to learn it's fully customizable and they have a free plan
02:11
to get started not only that I have parted with make and today they are providing you access to the Pro Plan totally for free for 30 days so you can test anything you want build a business
02:27
without paying anything whether with a free plan or the free Pro Plan with a link in the description below so go grab it sign up and start totally for free so after you sign up and log in you will be
02:42
in your dashboard like this one simply click on create a new scenario I will start with a very basic example to help anyone understand the idea first then we move into a real live example so the first step is to add a web who hooks
03:00
module that triggers when we receive data it's like having something listening to user requests like an API you will see now with the example things will become simple and clear let's create a web hook just give it a name
03:16
for example my API web hook any name you want and click on Save and now you will see a URL is generated just copy this URL let's try it and let's open a new tab open the URL and you can see
03:34
accepted so this web Hook is up and running and listening to our requests let's save now the next step we want to simulate a real API first like generating something and returning the result to the user so what I will do
03:51
simply is add another web hook that will return the response to the user so we have the first one listening and the second one will return the response in the body I will return simply this is a sample response click
04:09
on Save and let's save the scenario and I will go here and enable immediate run so this scenario will be enabled and listening always to new requests so click on Save perfect save
04:28
again and now let's let's go back to our tab our browser run and you can see now we have this is a sample response instead of accepted so this is a very basic structure on how to build the backend API using web hooks inside make
04:45
so one is listening to requests and the second is returning data to the user so now in between we can create any scenario you want any workflow you want and return the result back to the user I hope you got the idea for now it's very
05:01
simple let's now start with a real example so an API is like any other product you want to sell it should solve a specific problem so in our case we are going to solve a problem for marketers which is generating tweets with AI but
05:20
not any tweets we are going to help content creators and X users generate tweets based on their own thoughts and their own content plus a special templat they can use when they use our API so we
05:36
are selling something special for Content creators so let's start in between here we are going to add a new module I will select open AI so we can generate tweets using AI simply in the connection select your API key if you
05:54
don't have one just add it with this button then select create a chat completion select the model I will go with GPT 40 it's that simple and simply in the messages here I will add the first message the system message I will
06:11
tell it that tweet must be maxed 280 chars characters and let's go here to user and with a simple prompt now to understand the concept first generate a
06:30
viral tweet about and we are going to add a topic here the topic will be the user input we will see how to do this right now so let's save and let's go back to our web hook here open it click on edit and then show advanced settings
06:48
you will see have something called data structure just click add and let's create a new data structure and let's call it tweet generator parameters for example whatever and now click on add item and you will pass the
07:05
topic as a parameter like this here and it's a required parameter and let's say it can be multi-line for example anything and click on save save save now the web ho can accept input from the
07:20
user you will see right now now again to the open AI module open it and in the prompt let's wait a little bit in the prompt simply here select the topic from the web hook so now the user can pass the topic through the web hook to the
07:38
open AI API to generate based on his own input perfect let's save open your browser again let's enter the URL of the web hook and oops we get a problem we have the topic parameter which is
07:54
required perfect so simply to pass it add a question mark say topic is equal for example AI tools any topic you want enter and we got the response oops this
08:11
is a sample response why this happened simply because we need to update the web hook response here and set it to take our up AI module message from here the message content perfect save let's now try again
08:30
I will refresh enter let's wait a little bit and perfect we got our tweet in the browser here so our API here is working perfectly so the user provides an input we generate a tweet based on the input
08:46
and returns it back with the web hook response perfect let's go a bit more advanced and turn this API we build into a more realistic and a real world API that is is really powerful and maybe
09:01
people will love to buy from you by upgrading it to take two inputs a user input plus a YouTube video ID so the user can transform a YouTube video into
09:17
several tweets let's see how we can do this first we will need an API to read the YouTube video transcript we have this one search API IO it also provides a free plan you can get started with and they have this YouTube transcript
09:34
endpoint so you can extract any transcript from any YouTube video with this simple endo and this is an example here you can see to get the transcript so I will go again here and in the web hook section I will edit again and click
09:53
on show Advanced and then edit my data to add another parameter which is the video ID it's required and here instead of topic I will say user input so the
10:10
user can customize or add some custom instructions to the open AI model anyway click on save save save now the web hook accepts two parameters video ID and user input The
10:28
Next Step is we are going to add here a module to read from the search API to read the transcript so simply add a module we don't have something specific for this API so we are going to add the
10:44
HTTP buil-in module which which allows us to read anything from any API so simply go here and click make a request and here we have the URL so I will go here again I will will grab this URL
11:02
here this example URL and paste it here but instead of this video ID here I will pass the video ID from the web hook and make sure to pass the API key here your API key in my case I can get it from the
11:19
dashboard and copy and simply go here and paste so this is my API key and now click on Save now let's run this scenario once I will go to the web hook
11:34
and I will enter user input anything simple tweet and then we say end and pass the video ID and let's get one from YouTube like this one here we
11:53
got the ID let's pass it here enter it's loading and if you go go here you will see the scenario is working and we see the results so if you open the result of this module you will see the input and the output we have data and we have the
12:12
transcri you see the transcripts the full transcript in Json format so we can easily integrate in our open AI module now in order to read this output easily we are going to parse it into Json
12:27
format so here add another module and search for Json and select por Json and simply go here select data and now if you run again this scenario and Trigger it let's go back you will
12:44
see now it's working this one is loading we got the Json you can see we have transcripts containing all the data perfect now let's open again the open AI module to pass the video transcript let's try this
13:02
and now instead of saying generate I will say transform the following YouTube transcript into three viral tweets transcripts and simply pass that
13:20
transcript array and in the roll I will say for example consider user input when when generating and here is the user input and let's pass it very basic
13:38
prompts just to show you the idea now to help you understand the concept you can play with the prompts optimize them as we learn in the prompt Jing courses but for now let's keep things simple for everyone to understand let's save the scenario and let's go now here and run
13:56
the hook let's wait a little bit and you can see now we got three tweets based on our YouTube video Perfect now one last tip usually we return Json with apis so developers can use them easily their
14:13
applications and even those building automation workflows can use the data easily from a structured output so here in the open AI module in the system prompt we can say the output must be
14:28
only a valid Json like this and you can pass the Json structure you want and if you don't know anything about Json you can simply open for example any AI model
14:45
like clo or Char GPT whatever and tell it what you are building I'm building a tweet generator API that returns two three tweets I want an exam example Json
15:01
response that has only the list of tweets and it provides you with the Json you can see now it's somehow complex let's keep it simple make it simple by keeping only the Tweet text and you
15:21
can see now we have the tweets let's copy this example and paste it here and instead of this text I will simply say tweet one tweet two and tweet three let's save and test this save the
15:37
scenario let's open the browser again run hope it works and perfect we got the Json so our API now is ready let's see how we can sell it online again for free so again open your browser and go to
15:55
Rapid ai.com this is like a Marketplace place where you can publish your API totally for free and sell it sign up if you don't have an account I will sign into to my account now and if you go here to my profile you will see I
16:10
published a lot of apis here and I'm selling them on the marketplace but for you now go to the studio if you are new and select add an API project and I will say simply testing make API anything the category for example business and click
16:28
project description generate tweets at API project here you can add the logo to your API it will appearal in the marketplace description and so on your website URL if you have one I don't want to waste time on this
16:43
right now I explained all this in detail in my API course if you're interested you can check it in the description below but for now we need to focus on the core work which is making this API work our API work on rapid API so here
16:59
we have the base URL please Focus very well click add URL and simply get the base URL this one only okay the base URL paste it here and click on Save then go to definitions to create our end points
17:16
here click on create a rest endp point and let's say generate a tweets and this will generate tweets based on YouTube videos and now for the URL here simply let's copy the
17:34
web hook without the inputs like this and paste it here perfect and now we need to add our parameters so the first one is the user input and it's required and the second one is the video ID it's
17:50
that simple set to required again and let's save so we have now the end point perfect let's view our API in the hub while you are creating it it's totally private nobody will see this except you and when you are ready to sell you can
18:06
publish it I will show you in a little bit how to do this but for now let's test the API so you can see here we have the playground and we have here the parameters we have the user input and the video ID let's say here for example
18:21
add emoies and for the video ID I will grab it from here again the one we t said before so paste and let's try this test end point let's wait a little
18:37
bit and perfect we got the response from the API this is the row response and our headers and the text perfect so after you are done with the API you can go here to the documentation you can go here and set your pricing and then in
18:54
the general section you go down here and select icon firm to publish this API and you will see it in the marketplace to start selling it just two tips before we move on to the bonus section here in the monetization when you set your pricing always consider two important factors
19:12
your competitors if you have one on the marketplace and second make sure to calculate your token cost and any apis you are using like this one here the search API for transcripts when pricing
19:27
so not to have your expenses more than the price you set for your API calls as I mentioned if you want to learn more about this I have full course on building and selling apis you can find on my website I will leave the link description below now it's time for the
19:43
bonus part how we can turn this system this API we built and double our income by creating a user interface or online tools on top of these apis like this one the tube digest I built on top of an API
19:59
you can see you can turn any YouTube video into detailed summaries and educational content in seconds you can see here we have this simple UI built on top of the API and the second one is Define wise which is a simple visual
20:15
dictionary for kids and by the way both are free you can test them right now if you want and see how Simple and Clean are these uis so how we can build user interfaces on top of our apis so maybe you can sell it online as a service or turn into
20:32
an online tool or a microsof business please Focus I'll be revealing exactly how I do this because it's somehow a special technique I discovered lately that I'll be sharing with you right now if you go in to tube digest and go and
20:47
say wp-admin you will see it's a WordPress website so I build these uis on top of Wordpress to save a lot of time Des with user management with databases with API endpoints with security all this is
21:05
handled with WordPress so I can focus only on creating the uis you can see this is the dashboard and the idea is very simple I add this Snippets plugin and I generate the code for the front end you can see here this is the this is
21:21
the snippet for the front and code and here I'm using a JavaScript library called Alpine JS and for styling I use Tailwind this is why you see this simple clean user interface with this
21:37
combination Alpine JS plus tailwind and the secret is I discovered this JavaScript library recently and I have never coded with it before I have no idea about it what I do is simply use AI to generate the full codes for me I just
21:52
copy and paste in the Snippets I mentioned last week my secret setup on development which is VSS code with client extension here and clo Sonet for the API provider and Tropic which is a
22:08
perfect combination to develop anything you want with AI without writing your the code yourself and if you want to learn more about building SAS on WordPress and how I monetize this system if you go for example to promoter kit my
22:23
other website and if you log in you see we have here tokens so so people can buy tokens to use my tools on promoter kit if you want to learn more about this technique monetizing WordPress as a SAS
22:39
business you can check this video here I explained this in detail how to integrate the CR system inside WordPress and how to build the user interfaces go now watch it and if you learn something new today don't forget smash the like button and see you in the upcoming video