---
title: "HeyGen Starfish Text-to-Speech API & Playground - Comfy"
description: "HeyGen Starfish Text-to-Speech: Synthesizes speech with a HeyGen voice that supports the Starfish engine. Run it in your browser or call it via API."
canonical: https://comfy.org/hub/models/heygen-starfish-text-to-speech/
lang: en
index: https://comfy.org/llms.txt
---

[Models](https://comfy.org/hub/models/)

Heygen

[Audio & speech](https://comfy.org/hub/models/?useCase=audio)

# HeyGen Starfish Text-to-Speech

Synthesizes speech with a HeyGen voice that supports the Starfish engine.

- Use via API
- [Open in Cloud](https://stagingcloud.comfy.org/)

Cost depends on your settings.

- [audio](https://comfy.org/hub/models/?q=audio)
- [tts](https://comfy.org/hub/models/?q=tts)

## Playground

Input

Speech text

Enter the words to speak, using SSML markup only when that format is selected.

Language

Choose a language, or leave unset to detect it from the speech text.

Locale

Choose a regional pronunciation, or leave unset to use the language. A selected locale overrides Language.

Advanced settings

Text format

Choose plain text or SSML markup for the speech input.

Speech speed

Output

Example

00:00

## Try an example

-

## Call this model from your code

Sends your Playground inputs to Comfy Router.

[API docs (opens in a new tab)](https://docs.comfy.org/development/comfy-router/models#heygen)

1. ### Get an API key

  Needs a paid Cloud plan with credits.

  [Get an API key (opens in a new tab)](https://platform.comfy.org/profile/api-keys?onboarding=models&model=heygen--starfish-tts--audio)
2. ### Install the SDK

  Python 3.10+. Also on npm as @comfyorg/sdk.

  pip install comfy-sdk==0.2.0
3. ### Run it

  Calls Comfy Router at this endpoint with your COMFY_API_KEY.

  POST /v2/models/heygen/starfish

Fill in the Playground inputs to generate a request.
