Synthesize Speech
polly.synthesize_speech
ActionAmazon Web Servicesconnection required
Calls the AWS polly API (SigV4).
Turn text into speech audio with Amazon Polly.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon Polly
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, 1 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 |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
text Text to speak. | string | Yes | — | — | — |
voice_id Polly voice, e.g. Joanna, Matthew. | string | No | — | — | — |
output_format mp3 | ogg_vorbis | pcm. | string | No | — | — | — |
engine neural | standard. | string | No | — | — | — |
filename Output filename (default speech.<ext>). | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
file_content The file, base64-encoded. | string | — |
content_encoding | string | base64 |
filename | string | app-main.zip |
content_type | string | application/zip |
size Raw size in bytes (before base64). | number | — |
{
"content_encoding": "base64",
"content_type": "application/zip",
"file_content": "",
"filename": "app-main.zip",
"size": 0
}Notes
- Emits the standard base64 file envelope — wire it into s3.put_object or gcs.put_object with no expression.
Related Amazon Polly nodes
See Synthesize Speech run in a workflow.
In a technical demo we add the Amazon Polly connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.