Text to Speech

media · A376 · starter-package 7.0.1

Synthesizes speech from text.

Use

Create a run-scoped audio resource from bounded text using the configured provider voice and output format.

Provider setup

Set Provider endpoint to a compatible service. This block sends the connected input to that service and checks the response before continuing.

Connect Provider credential from an earlier credential block only when the service requires sign-in. Never enter a secret token in Provider endpoint or another normal text field.

For media blocks, connect a media output from an earlier successful block in the same workflow run. The provider receives the media and basic file information, but never its local path. Connect the result to any later block that accepts that media type.

Inputs

  • text — Text: text; required; default none.
  • voice — Voice: text; optional; default default.
  • format — Format: text; optional; default wav; options: wav, mp3.
  • providerEndpoint — Provider endpoint: text; validated URL text; required; default none.
  • providerCredential — Provider credential: text; optional; default none; accepted output: Credential.
  • timeoutMs — Timeout (ms): number; optional; default 60000; minimum 1000; maximum 300000.

Outputs

  • audio — Audio: text; checked before the workflow continues.
  • durationMs — Duration (ms): number; checked before the workflow continues.
  • mimeType — MIME type: text; checked before the workflow continues.

Settings

Connected input takes precedence over the corresponding saved setting.

IDSettingControlDefaultBounds/options
textTexttextnone—
voiceVoicetextdefault—
formatFormatselectwavoptions: wav, mp3
providerEndpointProvider endpointtextnone—
timeoutMsTimeout (ms)number60000minimum 1000; maximum 300000

Error handling

  • Invalid or missing input stops before a network request and names the affected input or setting.
  • If connected media or credentials are no longer available, the message tells you which connection to replace.
  • Connection, timeout, sign-in, unsupported action, provider, response-size, and invalid-response failures have separate clear messages and recovery steps.
  • A successful HTTP response still stops the workflow when required output is missing, has the wrong data type, is too large, or cannot be used by the next block.
  • Provider response bodies, credentials, local paths, and internal implementation details are not shown in user-facing errors.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
textTexttextareaEmpty text—
voiceVoicetextdefault—
formatFormatselectwavoptions: wav, mp3
providerEndpointProvider endpointtextEmpty text—
timeoutMsTimeout (ms)number60000—