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.

About 10 minutes Google Cloud account Audex on Android

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

  1. 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
  2. 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
  3. 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
  4. 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

  1. 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.

  2. 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.

  3. 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.

  4. 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:

  1. 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.

  2. 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
The key was mistyped, deleted or has expired. Copy it again from APIs & Services → Credentials, paste it in full and tap Save.
Turn on the Cloud Text-to-Speech API for this key's project
The API is switched off in the project the key belongs to. Open the API page in that project (step 3), press Enable, wait a minute, then tap Check key.
Turn on billing for this key's Google Cloud project
Google needs a billing account on the project before cloud voices work. Link one under Billing (step 2), then tap Check key.
This key is limited to other Google APIs
Open the key in Credentials and add Cloud Text-to-Speech API under Select API restrictions, then press Save.
This key is limited to certain apps or websites
Open the key and set Application restrictions to None. Keep the API restriction from step 4, which is what keeps the key safe.
Too many requests, or a quota is used up
Wait a minute and try again. If it keeps happening, check Quotas for the Cloud Text-to-Speech API in Google Cloud Console.

Still stuck? Email [email protected]. A real person reads every message.