scripts/createVideo.ts | createVideo | heygen | Generate an avatar or image video from a script or audio; returns a video_id to poll with getVideo. |
scripts/createCinematicVideo.ts | createCinematicVideo | heygen | Generate a short (4–15s) cinematic clip from a prompt and 1–3 avatar looks. |
scripts/getVideo.ts | getVideo | heygen | Poll a video's status and, once complete, get its result URLs (video, thumbnail, captions, share page). |
scripts/listVideos.ts | listVideos | heygen | List videos in the account, filterable by folder or title. |
scripts/deleteVideo.ts | deleteVideo | heygen | Permanently delete a video and its files. |
scripts/generateSpeech.ts | generateSpeech | heygen | Synthesize speech audio from text (TTS) using a starfish-compatible voice. |
scripts/listVoices.ts | listVoices | heygen | List voices; filter by type, engine, language, or gender. Resolver for voice_id. |
scripts/designVoice.ts | designVoice | heygen | Generate candidate voices from a natural-language description. |
scripts/cloneVoice.ts | cloneVoice | heygen | Clone a voice from a reference audio file; poll readiness with getVoice. |
scripts/getVoice.ts | getVoice | heygen | Get one voice's details and clone/training status by id. |
scripts/listAvatarLooks.ts | listAvatarLooks | heygen | List avatar looks. Resolver for avatar_id (a look id is the avatar_id). |
scripts/listAvatarGroups.ts | listAvatarGroups | heygen | List avatar groups (each holds one or more looks). |
scripts/getAvatarLook.ts | getAvatarLook | heygen | Get one avatar look's details by look id. |
scripts/getAvatarGroup.ts | getAvatarGroup | heygen | Get one avatar group's details by group id. |
scripts/createAvatar.ts | createAvatar | heygen | Start asynchronous avatar creation from a prompt or media URLs. |
scripts/updateAvatarLook.ts | updateAvatarLook | heygen | Rename an avatar look. |
scripts/translateVideo.ts | translateVideo | heygen | Translate a video into one or more languages; returns one id per language. |
scripts/getVideoTranslation.ts | getVideoTranslation | heygen | Poll a video-translation job and get the translated video URL. |
scripts/listVideoTranslations.ts | listVideoTranslations | heygen | List video-translation jobs. |
scripts/listTranslationLanguages.ts | listTranslationLanguages | heygen | List the languages supported for video translation. |
scripts/createLipsync.ts | createLipsync | heygen | Replace the audio on a video and re-animate the speaker's lips to match. |
scripts/getLipsync.ts | getLipsync | heygen | Poll a lipsync job and get the output video URL. |
scripts/listLipsyncs.ts | listLipsyncs | heygen | List lipsync jobs. |
scripts/createVideoAgentVideo.ts | createVideoAgentVideo | heygen | Start a Video Agent session that plans and generates a video from a prompt. |
scripts/getVideoAgentSession.ts | getVideoAgentSession | heygen | Get a Video Agent session's status, resulting video_id, and messages. |
scripts/sendVideoAgentMessage.ts | sendVideoAgentMessage | heygen | Send a follow-up or revision to a chat-mode Video Agent session. |
scripts/listVideoAgentSessions.ts | listVideoAgentSessions | heygen | List Video Agent sessions. |
scripts/getCurrentUser.ts | getCurrentUser | heygen | Get the account's profile and remaining credit balance. |