List Voices
text_to_speech.list_voices
ActionGoogle Cloudconnection required
Calls the Text-to-Speech API GET /v1/voices.
List the voices available, optionally filtered by language.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Text-to-Speech
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
language_code Filter by BCP-47 code (e.g. en-US). Empty lists all. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
count | number | — |
voices[].name | string | — |
voices[].language_codes | array | — |
voices[].ssml_gender | string | — |
voices[].natural_sample_rate_hertz | number | — |
{
"count": 0,
"ok": false,
"voices": [
{
"language_codes": [],
"name": "",
"natural_sample_rate_hertz": 0,
"ssml_gender": ""
}
]
}Related Google Text-to-Speech nodes
See List Voices run in a workflow.
In a technical demo we add the Google Text-to-Speech connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.