Quick Start
Get started with HeyGen API.
Welcome to HeyGen! 👋
This guide shows you how to build videos programmatically with AI avatars and voices, translate them into other languages, or even power real-time streaming avatars for interactive use cases, and more.
Getting Started with HeyGen APIs
This Quick Start guide is designed to give you just enough orientation to start experimenting. It covers:
- How to configure HeyGen authentication
- How to use the HeyGen Postman collection
- Links to advanced guides and recipes.
Note:The HeyGen API is available as a standalone service, separate from the HeyGen App.
- Your HeyGen App plan - Free, Creator, Team, or Enterprise - controls what you can access in the HeyGen web application.
- All HeyGen App users automatically receive Free Trial API access, which includes Video Generation, Video Translation, and Interactive Avatar endpoints.
- For higher usage, the API offers three paid subscription tiers: Pro, Scale, and Enterprise.
For more information on pricing and usage, please refer to our limits page.
Step 1: Obtain your API Key
-
Register or sign in to your HeyGen account. This is the first step to make professional avatar videos by leveraging HeyGen's powerful AI capabilities.
-
Go to Settings > Subscriptions & API > HeyGen API > API token.
You will use this key in all API requests.
Caution
Keep your API token secure. Do not expose it in client-side code. Store it in environment variables or a secrets manager.
Every request to the HeyGen API must be authenticated with an API key. You need to include the key in the request header as X-API-KEY.
Note:
For more information on:
- Use of API key, see the Authentication page.
- Usage quotas, request limits, and subscription tiers, see the Limits page.
Step 2: Try the API in docs, Postman, or your client
You can run HeyGen API requests in several ways:
- Directly in the API docs: Each endpoint in the HeyGen API Reference guide offers an interactive console to the right, where you can enter your API key and try requests immediately.
- Postman Collection: Import the official HeyGen Postman Collection to explore request templates you can fill in with your own values and run instantly.
- Your own terminal or client: Send requests from your terminal or any HTTP client.
Step 3: Explore the Use Cases
| Recipe | Description |
|---|---|
| Create an Avatar Video (V2) | Create an avatar video using selected avatars and voices |
| Generate Video from Template | Generate a video from an existing template by updating text, image, or voice variables. |
| Translate Video in Any Language | Translate existing videos into one or more target languages using the HeyGen Video Translate API. |
| Proofread Video Captions | Fetch, proofread, download, and generate translated video captions seamlessly. |
Explore our developer guides
Now that you’ve completed the Quick Start, explore more specialized guides to deepen your understanding of HeyGen APIs and integrations.
Create Avatar Videos (V2)
Generate videos with AI avatars using text or audio inputs.
Generate Video from Template
Automate video creation with pre-built templates. Includes V2 and V3 versions.
Personalized Video
Personalize avatar videos for users dynamically.
HeyGen’s Webhook Events
Receive video updates in real-time with webhooks.
Video Translate API
Translate avatar videos into multiple languages.
Photo Avatars API
Generate videos using still photo avatars.
Video Avatars API
Generate avatars using custom video footage (Enterprise-only)
Streaming API Overview
Stream and interact with avatars in real time.
Streaming Avatar SDK
Build interactive real-time avatar experiences with the Streaming Avatar SDK.
Zapier Integration
Automate workflows by connecting HeyGen to thousands of other apps with Zapier.
Integrations Workflow
Automate personalized video creation and delivery with Gmail, HubSpot and Zapier
Bulk Video Translation
Translate multiple videos efficiently using batch APIs.
HeyGen OAuth
Securely authenticate users to access HeyGen APIs.
HeyGen MCP Server
Integrate HeyGen with external systems using MCP.
Updated 2 days ago
