HeyGen MCP by usefulapi

v1.1.1
io.usefulapi/heygen Checked 3 days ago Published 2 days ago

Check credits, browse avatars and voices, render and read talking-avatar videos in HeyGen.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

heygen_get_user Get account

Show the HeyGen account behind the API key: profile, plan tier and credit balance. Call this first to check the key and the balance. HeyGen API: GET /v3/users/me.

heygen_list_videos List videos

List the videos in the workspace with their status and title. Filter by folder or title. Use next_token for the next page. HeyGen API: GET /v3/videos.

ParameterTypeDescription
folder_idstringOnly videos in this folder.
limitintegerItems per page (max 100).
titlestringOnly videos whose title matches.
tokenstringPagination token: next_token from the previous page.

heygen_get_video Get video

Get one video: status, video_url when completed, failure_message when failed. Poll this after heygen_create_avatar_video while the status is pending or processing; stop at completed or failed. HeyGen API: GET /v3/videos/{video_id}.

ParameterTypeDescription
video_id *stringVideo id, from heygen_list_videos or heygen_create_avatar_video.

heygen_create_avatar_video Create avatar video

Start rendering a talking-avatar video from a text script (no audio upload). This spends credits on the account and cannot be undone. The render is asynchronous: it returns video_id, then poll heygen_get_video. Get avatar_id from heygen_list_avatar_looks and engine_type from heygen_get_voice_capabilities. HeyGen API: POST /v3/videos (type avatar).

ParameterTypeDescription
avatar_id *stringAvatar look id (from heygen_list_avatar_looks).
engine_type *stringSpeech engine. Required with a script. List valid values with heygen_get_voice_capabilities.
script *stringText the avatar speaks. Max 5,000 characters.
aspect_ratiostringDefault 16:9.
callback_urlstringHTTPS URL that receives a POST when the video is ready.
engine_modelstringModel of the engine, only where the engine has models (see heygen_get_voice_capabilities).
folder_idstringFolder to store the video in.
localestringAccent, for example en-US. Omit for the original accent. Mockingbird needs a regional locale.
resolutionstringDefault 720p. The account plan sets the maximum.
speednumberSpeech speed, 0.5 to 1.5.
titlestringTitle shown in the HeyGen dashboard.
voice_idstringVoice id (from heygen_list_voices). Omit to use the avatar's default voice.

heygen_list_avatar_groups List avatar groups

List avatar groups: public HeyGen avatars or the workspace's own private avatars. Use next_token for the next page. HeyGen API: GET /v3/avatars.

ParameterTypeDescription
limitintegerItems per page (max 50).
ownershipstringpublic = HeyGen library, private = your workspace.
tokenstringPagination token: next_token from the previous page.

heygen_list_avatar_looks List avatar looks

List avatar looks: the ids you pass as avatar_id to heygen_create_avatar_video. Filter by group, type or ownership. HeyGen API: GET /v3/avatars/looks.

ParameterTypeDescription
avatar_typestring
group_idstringOnly looks in this avatar group (from heygen_list_avatar_groups).
limitintegerItems per page (max 50).
ownershipstring
tokenstringPagination token: next_token from the previous page.

heygen_list_voices List voices

List text-to-speech voices: public HeyGen voices or the workspace's private voices. Filter by language, gender or search text. Use the voice_id in heygen_create_avatar_video. HeyGen API: GET /v3/models/audio/voices.

ParameterTypeDescription
agestringPublic only. Comma-separated: young, middle_aged, old.
genderstringPublic only.
languagestringPublic only. Language code, for example en. Matches voices whose native language is this.
limitintegerItems per page (max 100).
localestringPublic only. Regional locale, for example es-MX. Needs language.
querystringPublic only. Free text matched to voice names and descriptions.
tagsstringPublic only. Comma-separated tags, for example Calm,Deep (max 25).
tokenstringPagination token: next_token from the previous page.
typestringpublic = HeyGen voices (the filters below apply only to these); private = your workspace voices.

heygen_get_voice_capabilities Get voice capabilities

List the speech engines and models each language and accent supports. Use it to pick engine_type and engine_model for heygen_create_avatar_video. HeyGen API: GET /v3/videos/voice-capabilities.

heygen_list_templates List templates

List the workspace's video templates. Use next_token for the next page. HeyGen API: GET /v3/templates.

ParameterTypeDescription
limitintegerItems per page (max 100).
tokenstringPagination token: next_token from the previous page.

heygen_get_template Get template

Get one template by id. HeyGen API: GET /v3/templates/{template_id}.

ParameterTypeDescription
template_id *stringTemplate id, from heygen_list_templates.