> ## Documentation Index
> Fetch the complete documentation index at: https://www.anything.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HeyGen

> Create AI-powered video content

HeyGen API enables creation of professional AI-generated video content with customizable avatars and voices.

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for a HeyGen account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your HeyGen API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit HeyGen Website">
    Go to [heygen.com](https://heygen.com/) and click "Sign Up"

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/heygen/homepage.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=b69b1675016c4dc284a513e617dacf42" style={{ borderRadius: '0.5rem' }} width="2682" height="1326" data-path="images/heygen/homepage.png" />
  </Step>

  <Step title="Choose Signup Method">
    * Sign up with email/password
    * Or continue with Google authentication

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/heygen/signup.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=a58a4844ed457ea8f69f27f437f557c0" style={{ borderRadius: '0.5rem' }} width="994" height="1366" data-path="images/heygen/signup.png" />
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access API Keys">
    1. Go to your HeyGen dashboard
    2. Navigate to "API Settings"

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/heygen/setting.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=57fc8cdb364a4aeeed02a503eb9677f2" style={{ borderRadius: '0.5rem', width: '80%', maxHeight: '300px', objectFit: 'contain' }} width="508" height="1116" data-path="images/heygen/setting.png" />

    <Warning>
      Free tier has rate limits - monitor your usage
    </Warning>
  </Step>

  <Step title="Create New Key">
    1. Click "Generate API Key"
    2. Name your key (e.g., "Anything Integration")
    3. Copy your API key

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/heygen/apigen.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=8b6a13216d96874ea3a6ce6ce1e854ab" style={{ borderRadius: '0.5rem' }} width="2682" height="1092" data-path="images/heygen/apigen.png" />
  </Step>

  <Step title="Get Avatar ID">
    1. Go to "Avatar Library" in your dashboard
    2. Select the avatar you want to use as a template
    3. Copy the Avatar ID from the URL or settings

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/heygen/avatarid.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=fe9d79cded90423d87430a22abfd939c" style={{ borderRadius: '0.5rem' }} width="1898" height="1304" data-path="images/heygen/avatarid.png" />

    <Warning>
      Be sure to get the Avatar ID and not the Avatar Group ID. Sometimes Avatars have
      different versions and so they are placed in a group.
    </Warning>
  </Step>

  <Step title="Get Voice ID">
    1. Go to "AI Voice Library" in your dashboard
    2. Select the voice you want to use as a template
    3. Copy the Voice ID from the URL or settings

    <img src="https://mintcdn.com/create/h7brMl8OkFSdcGO6/images/heygen/voiceid.png?fit=max&auto=format&n=h7brMl8OkFSdcGO6&q=85&s=100304609d6b2f777eec95a7d4b4d5cc" style={{ borderRadius: '0.5rem' }} width="2654" height="1460" data-path="images/heygen/voiceid.png" />

    <Tip>
      The Voice ID is needed to generate videos with specific voices
    </Tip>
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "HeyGen" from the menu
  </Step>

  <Step title="Add your API key">
    1. Paste your API key into the "HEYGEN\_API\_KEY" field

    <Tip>
      Need a new key? Generate one in your HeyGen dashboard.
    </Tip>
  </Step>

  <Step title="Start creating">
    You can now use prompts with the integration to create AI videos.

    Example prompts:

    * `Generate a video presentation using /HeyGen`
    * `Create an AI spokesperson with /HeyGen`
    * `Build a video message system using /HeyGen`

    <Warning>
      The API limits how often your app can fetch data. If your app loads the same data often, ask the agent to save it locally so it doesn't re-fetch every time.
    </Warning>

    Example prompt for optimization:

    ```
    When using /HeyGen, save the generated videos so my app doesn't have to fetch them again
    ```
  </Step>
</Steps>

<Tip>
  Your HeyGen integration is ready! Use `/HeyGen` in chat to create AI videos.
</Tip>
