Generate Voice Audio PreviewAsk AIpost https://api.heygen.com/v2/voices/{voice_id}/previewGenerates a short audio preview with the specified voice and text.Path Paramsvoice_idstringrequiredUnique identifier of the voice to be used for generating preview. Can be retrieved from List All Voices (V2) endpoint.Body Paramstext_typestringDefaults to plainFormat of the text field. Accepts plain or ssml.textstringrequiredText or SSML to be synthesized.voice_idstringrequiredID of the voice to use. Must match the path parameter. Can be retrieved from List All Voices (V2) endpoint.settingsobjectVoice synthesis settings.settings objectwith_timestampsbooleanDefaults to falseIf true, returns word‑level timestamps.truefalsegeneration_type stringGeneration mode. Currently supports only preview.Response 200Audio preview generated successfully - Expand to view the detailed response schema.Updated about 2 months ago