Skip to content
PActionPlay.htUpdated May 2026

How do I generate speech with Play.ht?

Short answer: Drop the "Play.htPlay.ht Text to Speech" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Text
text
stringRequiredText (required)
Voice
voice
stringRequiredVoice s3 URI or voice id
Engine
voice_engine
optionsOptionalEngine. Options: Play 3.0 Mini, PlayHT 2.0
Format
output_format
optionsOptionalFormat. Options: MP3, WAV, OGG
Speed
speed
stringOptionalSpeed
Sample request
{
"text": "{{trigger.text}}",
"voice": "{{trigger.voice}}",
"voice_engine": "{{trigger.voice_engine}}",
"output_format": "{{trigger.output_format}}",
"speed": "{{trigger.speed}}"
}
Returns
{
"audio": "<binary>"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Play.ht Text to Speech.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Play.ht Text to Speech.

What does the Play.ht Text to Speech action do in Play.ht?
Generates audio from text with chosen voice. Affordable TTS for voice-agent and narration workflows. Competitive alternative to ElevenLabs at SMB pricing.
What inputs does Play.ht Text to Speech require?
Required: Text, Voice. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Play.ht returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Play.ht Text to Speech support batch operations?
Yes. Run Play.ht Text to Speech inside a Loop node to process arrays. Tiny Command handles Play.ht's rate limits automatically so you don't have to throttle manually.
More actions

Other Play.ht actions.

Send play.ht text to speech from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.