Update google_cloud integration to reflect 3 changes: 1) new UX and pricing for 3 new tiers of TTS voices; 2) new UX; 3) new key download flow (#28785)

* Update google_cloud docs to reflect new UX and pricing for 3 new tiers of TTS voices

* Update for new key creation flow in Google Admin console.
This commit is contained in:
James G. Beldock 2023-09-06 00:21:45 -07:00 committed by GitHub
parent e2b37b108a
commit 57964a21d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,14 +49,19 @@ Basic instruction for all APIs:
6. Set up authentication:
1. Visit [this link](https://console.cloud.google.com/apis/credentials/serviceaccountkey)
2. From the `Service account` list, select `New service account`.
2. From the toolbar above the `Service account` list, select `Create service account`.
3. In the `Service account name` field, enter any name.
If you are requesting a text-to-speech API key:
4. Don't select a value from the Role list. **No role is required to access this service**.
5. Click `Create`. A note appears, warning that this service account has no role.
6. Click `Create without role`. A JSON file that contains your `API key` downloads to your computer.
5. Click `Create`. If a note appears, warning that this service account has no role, you may ignore that.
6. Return to the `Service account` list page and click on the service account you created in step 5 to see the details for this service account.
7. Choose the `Keys` tab within the details view for this service account.
8. In the `Add Key` dropdown, select `Create New Key`.
9. Specify a `JSON` key type and click `Create`.
10. A `[serviceaccountname].json` file will download to your browser.
## Google Cloud text-to-speech
@ -66,10 +71,13 @@ Basic instruction for all APIs:
The Cloud text-to-speech API is priced monthly based on the amount of characters to synthesize into audio sent to the service.
| Feature | Monthly free tier | Paid usage |
| Voice | Monthly free tier | Paid usage |
| ----------------------------- | ------------------------- | --------------------------------- |
| Standard (non-WaveNet) voices | 0 to 4 million characters | $4.00 USD / 1 million characters |
| WaveNet voices | 0 to 1 million characters | $16.00 USD / 1 million characters |
| Neural2 | 0 to 1 million bytes | $16.00 USD / 1 million bytes |
| Polyglot (Preview) | 0 to 1 million bytes | $16.00 USD / 1 million bytes |
| Studio (Preview) | 0 to 100 thousand bytes | $160.00 USD / 1 million bytes |
| Standard | 0 to 4 million characters | $4.00 USD / 1 million characters |
| WaveNet | 0 to 1 million characters | $16.00 USD / 1 million characters |
### Text-to-speech configuration