In order to use the Speech API, you need to register it first. In this video, walk through the process of provisioning the Speech API in Azure.
- [Instructor] Now with our basic project structure set up, it's time to write some code. And, just like the vision API and, for that matter, anyone of these cog services APIs, well you have to provision yourself access to these services. The services are hosted by Microsoft, but you need to get a key so you can call them. So, we saw Vision API. You saw how that was done. Similarly, you can go to the Speech API and it tells you the various possibilities in here. I won't be able to show each one of these, but you get the idea.
All of you know this is an introductory course, so you'll get the idea of how to be able to use this API. So, you can click this try cog services for free button. That's one way of doing it. Go to speech and get API key. While that'll certainly work for deaf purposes, the keys that you'll get from here are throttled, so I'm going to show you a more enterprise way of doing this which is through the Azure portal. Now, as I mentioned earlier that the vision API and the speech API, and, for that matter, all of these APIs, have a lot of possibilities.
Like, as you can see here, as I said, I won't be able to demonstrate every single one of them in this introductory course, but there will be more courses that'll go in depth talking about each one of these in the future. Okay, so let's go into the Azure portal. I've already logged in. You're going to need an Azure subscription to be able to do it. Click on new and search for speech. And, go ahead and click on the Bing Speech API.
Choose to create. You can choose to read this if you wish. And, I'm going to call it my speech API. And I'll just go with a free tier. This is equivalent of what you'd get if you were to just click on the get API key. But, the idea is that now I can, you know, provision from here and then change it over to a paid version very easily. I'll just put this in an existing resource group that I have and click on the create button.
Now, this'll take a few seconds to provision, so be patient. And, once this is provisioned, you can click on this go to resource button or you can find it under all resources. Go ahead and click on MySpeechAPI. And, here, go to overview. And the bits of information that you will need is this end point. Okay. So, take that end point, copy paste it. And this access keys. So, click on this access keys button and go ahead and copy paste these two access keys and you're going to need them in code very soon.
Now, don't try to use my access keys. Number one, then you'd be using my Azure subscription. But, by the time this course ships, I am going to delete these keys anyway. So, you need to make sure that you use access keys from your Azure subscription, not mine. Okay, so again, get this endpoint, get these two keys, and I'll see you in Core.
- Exploring the possibilities of the Vision API
- Submitting an image to the Vision API for processing
- Asking the Vision API to recognize faces
- Working with the Speech API
- Writing speech-to-text code
- Working with the Language API
- Getting languages for translation
- Language Understanding (LUIS) concepts