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.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
text
Text to speak.
stringYes———
voice_id
Polly voice, e.g. Joanna, Matthew.
stringNo———
output_format
mp3 | ogg_vorbis | pcm.
stringNo———
engine
neural | standard.
stringNo———
filename
Output filename (default speech.<ext>).
stringNo———

Output

One shape.

result

FieldTypeExample
file_content
The file, base64-encoded.
string—
content_encoding
stringbase64
filename
stringapp-main.zip
content_type
stringapplication/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.