Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates complete videos from a text prompt using HeyGen's Video Agent, handling script, avatars, voiceover and captions.
16% 80%+64 ptsof test cases passed
Passed 20 of 25 test cases with the skill, and 4 of 25 without it.
3 of 3 safety checks passed
Not used yet
Generate complete videos from a text prompt. Describe what you want and the AI handles script writing, avatar selection, visuals, voiceover, pacing, and captions automatically.
All requests require the X-Api-Key header. Set the HEYGEN_API_KEY environment variable.
curl -X POST "https://api.heygen.com/v1/video_agent/generate" \
-H "X-Api-Key: $HEYGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Create a 60-second product demo video."}'
If HeyGen MCP tools are available (mcp__heygen__*), prefer them over direct HTTP API calls — they handle authentication and request formatting automatically.
| Task | MCP Tool | Fallback (Direct API) |
|---|---|---|
| Generate video from prompt | mcp__heygen__generate_video_agent | POST /v1/video_agent/generate |
| Check video status / get URL | mcp__heygen__get_video | GET /v2/videos/{video_id} |
| List account videos | mcp__heygen__list_videos | GET /v2/videos |
| Delete a video | mcp__heygen__delete_video | DELETE /v2/videos/{video_id} |
If no HeyGen MCP tools are available, use direct HTTP API calls as documented in the reference files.
Always use prompt-optimizer.md guidelines to structure prompts with scenes, timing, and visual styles.
With MCP tools:
mcp__heygen__generate_video_agent with prompt and config (duration_sec, orientation, avatar_id)mcp__heygen__get_video with the returned video_id to poll status and get the download URLWithout MCP tools (direct API):
POST /v1/video_agent/generate — see video-agent.mdSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.