filmov
tv
Run OpenAI’s Whisper on Cloudflare for Free using Workers AI [Speech to Text]
Показать описание
#cloudflare #whisper #openai #speechtotext #machinelearning #workersai
In this video, I will show you How to run OpenAI’s Whisper on Cloudflare using Workers AI.
Before we begin, make sure you hit subscribe and tap the bell icon to get daily tech videos.
Workers AI is a new beta feature of Cloudflare that allows you to run popular AI models as workers. You can access them over the Rest API and process the data. It supports OpenAI’s whisper as well and in this video I will show you how to do that and access it over API.
Let’s get started.
Log in to your Cloudflare account and then go to the AI section and launch Workers AI.
Here you will now see the list of models that it supports. OpenAI’s Whisper is listed here as well.
Now, let’s just deploy it. Open the model templates and then find speech to text.
Give your worker a name and then scroll down to deploy it. It will take a few seconds and when it’s done, you will see the URL of the deployed worker.
Now, go to the website dashboard and then copy your account ID and save it somewhere.
Next, you now need to generate an API token. For that, go to the get your API token section.
Click Create Token and then choose the Workers AI template.
Leave everything else here as default and click continue to summary.
Copy the generated API token and then save it somewhere as well.
Go to the folder where you have the audio file you want to transcribe. Use Shift and Right click on this folder and then select open in terminal option.
Now, you need to build the API call URL. We will use cURL here but you can use some other programming languages such as Python and JavaScript.
Replace account ID and API token that we copied earlier in this cURL command. You can copy it from the description of this video.
Enter the name of the audio file at the end of the cURL command like this.
Finally, copy paste this entire command in the Terminal.
Hit enter and wait for a few seconds.
You will now get the final transcribed text. Copy it and then use it anywhere you like.
You can now use the Whisper API on cloudflare like with this any audio file.
This is it.
This way, you can now easily deploy OpenAI’s whisper model on Cloudflare for free.
If you found this video helpful then check out more tech videos on our channel. Thanks for watching!
In this video, I will show you How to run OpenAI’s Whisper on Cloudflare using Workers AI.
Before we begin, make sure you hit subscribe and tap the bell icon to get daily tech videos.
Workers AI is a new beta feature of Cloudflare that allows you to run popular AI models as workers. You can access them over the Rest API and process the data. It supports OpenAI’s whisper as well and in this video I will show you how to do that and access it over API.
Let’s get started.
Log in to your Cloudflare account and then go to the AI section and launch Workers AI.
Here you will now see the list of models that it supports. OpenAI’s Whisper is listed here as well.
Now, let’s just deploy it. Open the model templates and then find speech to text.
Give your worker a name and then scroll down to deploy it. It will take a few seconds and when it’s done, you will see the URL of the deployed worker.
Now, go to the website dashboard and then copy your account ID and save it somewhere.
Next, you now need to generate an API token. For that, go to the get your API token section.
Click Create Token and then choose the Workers AI template.
Leave everything else here as default and click continue to summary.
Copy the generated API token and then save it somewhere as well.
Go to the folder where you have the audio file you want to transcribe. Use Shift and Right click on this folder and then select open in terminal option.
Now, you need to build the API call URL. We will use cURL here but you can use some other programming languages such as Python and JavaScript.
Replace account ID and API token that we copied earlier in this cURL command. You can copy it from the description of this video.
Enter the name of the audio file at the end of the cURL command like this.
Finally, copy paste this entire command in the Terminal.
Hit enter and wait for a few seconds.
You will now get the final transcribed text. Copy it and then use it anywhere you like.
You can now use the Whisper API on cloudflare like with this any audio file.
This is it.
This way, you can now easily deploy OpenAI’s whisper model on Cloudflare for free.
If you found this video helpful then check out more tech videos on our channel. Thanks for watching!
Комментарии