Voicer introduces you to the Google Cloud Text-to-Speech API. In this quickstart, you set up your get Key File for Google Cloud Platform project and authorization and then request for the Text-to-Speech API to create audio from text.
Creating of the Google Cloud Key File
Everything is ready to begin the process of getting the key file. Visit the Google Cloud Platform project to select or create a new project
Click + Create Project button to create a new Google Cloud Project. Go to Step 4, if you have already created a project.
Set a unique name for your project, or use default project name. And click the Create button. Please note that the name of the project cannot be changed later.
After creating the project visit Project Dashboard page.
Visit the Billing tab to make sure that billing is enabled for your Google Cloud Platform project. Check out Google Cloud resource prices and quotes. You can use a free quote when using Voicer or pay if you use a plugin on a high-load WordPress website.
Link a billing account to your project. Learn how to enable billing in Google Cloud Project.
Set the Budget Alerts to control the use of quotas and debits.
Enable Text-to-Speech API for your project
Cloud Text-to-Speech API has been enabled for your project
To use the API you’ll need the right credentials.
Click What credentials do I need? to proceed. Then click Create credentials -> Service account key
From the Service account list, select New service account. In the Service account name field, enter a name.
Don’t select a value from the Role list. No role is required to access this service.
Click Create. A note appears, warning that this service account has no role.
Click Create without role. A JSON file that contains your key downloads to your computer
After this, the Key File will be generated and saved on your computer. You can find it in your browser’s download folder.
Connecting the key file to the Voicer Plugin
Visit your WordPress website Admin Panel an open the plugin settings. Go to Settings -> Voicer
Click Select Key File and upload your Key File to the WordPress media library.
Click Save Changes for the changes to take effect.