Text-to-Speech — StarfishAsk AIpost https://api.heygen.com/v1/audio/text_to_speechGenerate a speech audio file from any text input using a specified voice, powered by HeyGen's Starfish model.Body ParamstextstringrequiredText to synthesize into audio (1–5000 characters)voice_idstringrequiredVoice ID from GET /v1/audio/voicesinput_typestringenum"text" for plain text, "ssml" for SSML markup including break tags for pausestextssmlAllowed:textssmlspeedstringSpeed multiplier (0.5–2.0)languagestringBase language code (e.g. "en", "pt", "zh"). Auto-detected from text when omittedlocalestringBCP-47 locale tag for accent/regional control (e.g. "en-US", "pt-BR"). When provided, language is inferred from the locale if not set explicitlyResponse 200Updated about 2 months ago