Skip to main content
Full schema: POST /v3/voices/speech.
Starfish only works with Starfish-compatible voices. Not all HeyGen voices support this engine. Use GET /v3/voices?engine=starfish — see Browse Voices — to get a list of compatible voices before calling this endpoint.

Quick Example

Response

Finding a Compatible Voice

Before calling this endpoint, find a Starfish-compatible voice_id:
See Browse Voices for full filtering and pagination details.

Parameters

Response Fields

SSML Support

For finer control over pronunciation, pauses, and emphasis, set input_type to "ssml". Check the support_pause field on the voice object returned by GET /v3/voices to confirm whether the selected voice supports SSML <break> tags. This also works with POST /v3/videos when generating videos from scripts, letting you control pacing and pauses directly within the narration.\