HeyGen Video API
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.
Rate
15credits
per billed second · about $0.015
By HeyGen · 3 ways to run it · No HeyGen key
Paste this into Claude Code, Codex or Cursor
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 itWhat it costs,per billed unit.
- Text to videoHeyGen Video Text to Video, in the catalog15 creditsper billed second · $0.015
- Image to videoHeyGen Video Image to Video, in the catalog15 creditsper billed second · $0.015
- From image, video or audio referencesHeyGen Video Reference to Video, in the catalog15 creditsper 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. Credits come from one balance: 1,000 credits are $1.
Rates come from the catalog and follow it. Every model in Video generation, with its rate
What itdoes 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.
- 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
Your agentruns it.
Set up once with the line above. Then your agent calls HeyGen Video through CoreSpeed's media tools, with no HeyGen account.
Find it
Your agent searches the catalog for HeyGen Video and picks the variant that fits the job.
media__list_modelsRead the rate and inputs
It reads the rate and the inputs the model takes, before anything runs.
media__get_modelRun it
The video clip comes back as a link and as a file in your Drive for 7 days. A long run finishes as a job.
media__generate