Full schema: POST /v3/voices/speech.
This endpoint synthesizes voices from the voice catalog on the Starfish engine: stock voices, designed voices, and HeyGen instant clones. For a professional HeyGen Voice clone, use HeyGen Voice Speech.
Quick example
Pick a Starfish-compatible voice withGET /v3/voices?engine=starfish (see Browse Voices), then pass its voice_id:
Response
text takes 1–5,000 characters. Optional fields: speed (0.5–2.0, default 1.0), language (base code such as en, auto-detected when omitted), and locale (BCP-47 tag such as pt-BR, which overrides language). Keep input_type at its default text; <break> tags work directly in plain text.
Adding pauses
Insert<break> where you want a pause, with the time in seconds:
<break> is the only markup to include; wrapping the script in other tags such as <speak> can add spoken artifacts. Check support_pause on the voice in GET /v3/voices first. The same tag works in script text passed to POST /v3/videos.
