JUMP TOOverviewAuthenticationErrorsLimitsAvatarsList avatarsgetList Avatars V2getvoicesList voicesgetList Voices V2getVideoCreate an Avatar Video V2postRetrieve a videogetAdd caption to the videopostRetrieve the caption videogetDelete a videodeleteCreate a WebM videopost(deprecated) Create a videopostpersonalized videoAdd ContactposttemplatesList Templates V2getGet Template V2getGenerate from Template V2post(deprecated) Generate from templatepost(deprecated) Retrieve a templategetAssetsUpload assetpostvideo translateList supported languagesgetVideo TranslatepostVideo Translate statusgetWEBHOOKList webhook endpointsgetAdd a webhook endpointpostUpdate a webhook endpointpatchDelete a webhook endpointdeleteList available webhook eventsgetAI CapabilitiesTalking PhotoList talking photosgetUpload talking photopostDelete a talking photo V2deleteSTREAMING aVATARSStreaming Avatars OverviewNew sessionpostStart sessionpostList sessionsgetSubmit ice informationpostRepeat textpostClose sessionpostUserGet remaining quota V2getIFRAMEiFrame OverviewCreate Tokenpostiframe JS SDKPowered by Repeat textpost https://api.heygen.com/v1/streaming.tasksend a text to drive avatar to speakRequest Body FieldTypeDescriptionsession_idstringThe ID of the session to which the task is to be sent.textstringThe text of the task. Response Body FieldTypeDescriptionduration_msfloathow long the avatar speaks for the input text