Guide
Read your books with Google's cloud voices
Audex reads your books aloud with its own built-in voice, which is free, private and works offline. If you'd like Google's cloud voices instead, you can connect your own Google Cloud account with an API key. This guide sets up the key in Google Cloud Console and adds it to Audex. Plan on about 10 minutes.
What you need
- A Google account to sign in to Google Cloud Console.
- A billing account (a credit card) on your Google Cloud project. Google asks for one even when your use stays within the free monthly amount, and charges beyond it. Check Google's current pricing before you start.
- Audex on your Android phone, with an internet connection while cloud voices read.
Prefer to watch first?
This video walks through every step below, from a new Google Cloud project to a book read aloud in Audex. It uses the same steps and the same labels as this guide.
1. Set up Google Cloud
-
Create a Google Cloud project
Sign in to Google Cloud Console and create a new project. Any name works, for example "Audex voices".
Create a project in Google Cloud Console -
Turn on billing for the project
Link a billing account to the project. If your Google account already has one, Google links it for you, so open Billing and check that your project is linked. Google asks for a billing account even when your use stays within the free monthly amount.
Open Billing -
Enable the Cloud Text-to-Speech API
With your project selected, press Enable. This is the same page Audex's Get an API key from Google Cloud Console link opens.
Enable the Cloud Text-to-Speech API -
Create an API key restricted to Cloud Text-to-Speech
Go to APIs & Services → Credentials, click Create credentials and choose API key. This is the most important step: under Select API restrictions, choose only Cloud Text-to-Speech API and press OK. Leave Application restrictions on None, press Create and copy the key. If the key ever leaked, it couldn't be used for anything else.
Open Credentials
2. Add the key to Audex
-
Paste the key and save it
In Audex, open Settings → Books & voices. Under Cloud voices, turn on Use your own Google Cloud API key, paste the key into Google Cloud TTS API key and tap Save. It's stored encrypted, only on your phone.
-
Wait for Key works
Audex checks the key with Google right away and shows Key works. If something isn't set up yet, it says what to fix, and the answers below explain each message. Check key checks again later without changing the key.
-
Pick a voice
Under each reading language, for example English voice, choose a model (Standard, WaveNet, Neural2, Studio, Polyglot or Chirp 3: HD) and then a voice. Tap play to hear a preview.
-
Play a book
Your books are now read with that voice. To use a different voice for one book, open the book's Voice menu in the player.
Optional: keep an eye on usage
Google bills cloud voices by the number of characters read. Two ways to stay in control:
-
A budget alert in Google Cloud
Under Billing → Budgets & caps, press Create new to make a small budget with email alerts, so you always know what you're using.
-
A monthly cap in Audex
Under Cloud usage this month, Audex counts the characters sent to each model, on your phone only. Tap Set a cap to stop using that model at a limit you choose. There's no cap until you set one, and Google's own figures are the ones you're billed on.
If something isn't working
While a key isn't working, books keep reading with the built-in voice, so you can keep listening.
Google doesn't recognise this key
Turn on the Cloud Text-to-Speech API for this key's project
Turn on billing for this key's Google Cloud project
This key is limited to other Google APIs
This key is limited to certain apps or websites
Too many requests, or a quota is used up
Still stuck? Email [email protected]. A real person reads every message.