# HeyGen Video API pricing for AI agents

Source: https://corespeed.io/models/heygen-video

HeyGen Video is HeyGen's general video model: it makes a 5 to 30 second scene with its own dialogue, ambience and effects from a prompt, a first frame or references, and keeps a supplied product or person the same. Through CoreSpeed, Claude Code, Codex, Cursor or any MCP agent runs it with no HeyGen account, from one credit balance.

## What it costs, per billed unit

Read from the CoreSpeed catalog for this answer. Rates are in credits, and 1,000 credits are $1.

| Variant | Name in the catalog | Rate | In dollars |
| --- | --- | --- | --- |
| Text to video | HeyGen Video Text to Video | 15 credits per billed second | $0.015 |
| Image to video | HeyGen Video Image to Video | 15 credits per billed second | $0.015 |
| From image, video or audio references | HeyGen Video Reference to Video | 15 credits per billed second | $0.015 |

A run is billed once, after it succeeds: the rate times the units the model reports for that run. Settings such as resolution, length, count or sound change how many units a run counts. A failed, cancelled or expired run costs nothing.

Every model in Video generation, with its rate: https://corespeed.io/catalog/video-generation

## What it does well

- Scenes that stay consistent: objects keep their size, shape and position.
- Literal instruction following, with no dialogue you did not ask for.
- A product's color, form and markings kept from your reference images.

## Facts

- Takes: A prompt of up to 32,000 characters; a first-frame image; or up to 9 images, 3 videos and 3 audio files.
- Length: 5 to 30 seconds; 5 to 15 at the ultraquality setting or with prompt enhancement off.
- Resolution: 480p, 768p, 1080p or 2K.
- Aspect ratio: 21:9, 16:9, 4:3, 1:1, 3:4 or 9:16; at 1080p and 2K, only 16:9 or 9:16.
- Makes: MP4 at 24 frames per second, with stereo AAC sound.

From HeyGen's own page: [HeyGen Video, on HeyGen's site](https://www.heygen.com/models/heygen-video)

## How your agent runs it

Paste this line into Claude Code, Codex or Cursor:

```text
set up https://corespeed.io/SKILL.md (read it raw, e.g. with curl), then make a 5-second 16:9 clip at 768p of a bookseller stacking new arrivals at Pine Street Books with HeyGen Video, and tell me the rate before you run it
```

It starts with the setup line, so it works on a machine without CoreSpeed: the agent fetches https://corespeed.io/SKILL.md, adds the MCP server and signs you in. Then it runs HeyGen Video through the media tools:

1. `media__list_models`: search the catalog for HeyGen Video and pick the variant that fits.
2. `media__get_model`: read the rate and the inputs the model takes, before anything runs.
3. `media__generate`: run it. The file comes back as a link and lands in your Drive for 7 days.

## Questions

### Does HeyGen Video use my HeyGen avatars?

No. It is HeyGen's general video model. It makes a scene with sound from a prompt, an image or references, and takes no avatar.

### What is HeyGen Video built on?

HeyGen says it is built on MiniMax H3 and post-trained by HeyGen.

### Do I need a HeyGen account or API key to use HeyGen Video?

No. CoreSpeed runs HeyGen Video for your agent. You sign in to CoreSpeed once, and each run comes out of your one credit balance.

### Am I charged if a generation fails?

No. A generation is billed once, after it succeeds. Failed, cancelled and expired generations are never charged. How media billing works: https://corespeed.io/docs/media

### Do I have to switch agents?

No. CoreSpeed adds tools to the agent you already use: Claude Code, Codex, Cursor, or another MCP client. Each one signs in once.

All model prices: https://corespeed.io/models (Markdown: https://corespeed.io/models.md)

## Related pages

- [OmniHuman API pricing for AI agents](https://corespeed.io/models/omnihuman): OmniHuman API pricing on CoreSpeed: the rate for 2.0, 1.5 and 1, read live, and how your agent runs it with no ByteDance account.
- [Video generation for AI agents](https://corespeed.io/integrations/video-generation): Give your agent hundreds of text to video and image to video models, with no API keys. It reads the rate first, and long renders finish as jobs.

## Sources

- HeyGen Video, on HeyGen's site: https://www.heygen.com/models/heygen-video
- Media docs: https://corespeed.io/docs/media
- HeyGen Video, in HeyGen's API docs: https://developers.heygen.com/docs/models/heygen-video

Reviewed 2026-11-24.

## Links

- Product overview: https://corespeed.io/ (Markdown: https://corespeed.io/index.md)
- Documentation: https://corespeed.io/docs
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
