AI and media
AI agents that use HeyGen
UtilitySpaces gives an AI agent scoped access to HeyGen through its own encrypted connection, not your password. The agent can call 4 named HeyGen tools, and the one that writes waits for a person's approval unless an admin has set the connection to run without asking. Every call is written to a hash-chained audit log with its arguments and its result.
What an agent can do in HeyGen
Generate avatar videos with HeyGen and track their rendering status. An agent calls these by name, and matching is exact.
| Tool | What it does | Waits for approval by default |
|---|---|---|
| List avatars | List avatars available to the account, with their avatar ids. | No — read only |
| List voices | List voices available to the account, with their voice ids. | No — read only |
| Create video | Start an avatar video render (billed run). Returns a video id — poll get_video_status for the finished file. | Yes — it writes |
| Get video status | Get a video's rendering status and download URL. | No — read only |
3 read tools, 1 write tool. Generated from the connector catalogue the product runs on, so it cannot list a tool that does not exist.
What teams hand an agent in HeyGen
Video teams hand an agent the avatar pipeline in HeyGen: List avatars and List voices for the ids a render needs, Create video to start one, and Get video status for the download URL when it is done. Rendering is a billed write, so it waits for a person to approve it unless an admin has set this connection to run without asking.
- Look up the avatar and voice ids a project should use instead of copying them from the dashboard.
- Start an avatar video render from a script and post the download URL when it is ready (billed; after a person approves it)
- Report which renders are still processing when the team asks where the videos are.
What waits for a person
Reads run on their own. These do not — each one waits in Approvals for an owner or admin unless an admin has set this connection to run writes without asking, and every call toHeyGen, approved, rejected or unattended, is logged.
- Create video POST
What connecting HeyGen takes
HeyGen uses an API key you create in HeyGen and paste in once. A workspace admin sets the connection up; the fields are:
- API Key
Credentials are encrypted and bound to your workspace, never read back, and every outbound call passes one guarded fetch — the connector security posture sets out exactly how, and the security page covers the platform around it.
Where HeyGen fits
Give an agent HeyGen work by writing a message in the inbox, or put its tools in a scheduled flow. What the run cost is on the cost breakdown.
Other ai and media integrations: AnythingLLM, AssemblyAI, D-ID. Or see every application agents can connect to.
See it doing your actual work
Open a demo workspace, connect one app, and give an agent a real job. No card, no sales call.
We reply to every message within one business day.