The pricing for this service is as follows:
Feature |
Pricing |
Text translation |
$20 for first 1 million characters a month |
Language detection |
$20 for first 1 million characters a month |
You can read more about pricing here: https://cloud.google.com/translate#cloud-translation-api-pricing. Now that we have the basics of the Cloud Translation API and understand the pricing model, let's get started with a hands-on exploration. Before we get started, we need to set up the required authentication and authorization. In the next section, we are going to look at that.
When working with any Google Cloud AI service, we need to have either an API key or a service account key set up. Before we set up the API key or a service account, we need to have a Google Cloud project. If you already have a project, you can skip that section. Please refer to Setting up an authentication section from Chapter 2, Setting Up a Smart Forum App.