> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# HeyGenTextToSpeechNode - ComfyUI Built-in Node Documentation

> Complete documentation for the HeyGenTextToSpeechNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

Generate speech audio from text using HeyGen's Starfish TTS engine. This node includes HeyGen's most popular voices across 17 languages.

## Inputs

| Parameter         | Description                                                                                                         | Data Type | Required | Range                      |
| ----------------- | ------------------------------------------------------------------------------------------------------------------- | --------- | -------- | -------------------------- |
| `text`            | Text to synthesize (up to 5000 characters). The generated speech must be at least 1 second long.                    | STRING    | Yes      | 1 to 5000 characters       |
| `voice`           | Voice to use (curated from HeyGen's most popular Starfish-compatible voices).                                       | STRING    | Yes      | Multiple options available |
| `custom_voice_id` | Optional HeyGen voice ID. When set, overrides the voice selected above. The voice must support the Starfish engine. | STRING    | No       | Any valid HeyGen voice ID  |
| `speed`           | Speech speed multiplier (default: 1.0).                                                                             | FLOAT     | No       | 0.5 to 2.0 (step: 0.05)    |
| `ssml`            | Treat the text as SSML markup (for pauses, emphasis, and pronunciation control) (default: False).                   | BOOLEAN   | No       | True / False               |
| `seed`            | Not sent to HeyGen; change it to force a re-run (default: 42).                                                      | INT       | No       | 0 to 2147483647            |

## Outputs

| Output Name | Description                                                 | Data Type |
| ----------- | ----------------------------------------------------------- | --------- |
| `AUDIO`     | The synthesized speech audio generated from the input text. | AUDIO     |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/HeyGenTextToSpeechNode/en.md)

***

**Source fingerprint (SHA-256):** `82300626657db8ab16e96ae96b7dfe3291b77bf75efec35971dc772e5123cce7`
