promptreq.HeyGen Avatar V API — how to connect and pay
HeyGen Avatar V — the newest talking-avatar engine: a ready-made HeyGen avatar speaks your voice-over with more natural motion and lip-sync than Avatar IV. Requires avatar (a ready-made HeyGen avatar name, e.g. “Ann Doctor Standing”) and audio_url; the clip is as long as the audio (up to 5 minutes). 720p / 1080p / 4K. Priced per second of output video.
Build the result you need
heygen-avatar-v:flowThis model only publishes its minimum price in the catalog.
What is HeyGen Avatar V
HeyGen Avatar V — the newest talking-avatar engine: a ready-made HeyGen avatar speaks your voice-over with more natural motion and lip-sync than Avatar IV. Requires avatar (a ready-made HeyGen avatar name, e.g. “Ann Doctor Standing”) and audio_url; the clip is as long as the audio (up to 5 minutes). 720p / 1080p / 4K. Priced per second of output video.
Contract at a glance
- Input
- text, audio
- Output
- video
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 600 s
Strengths
- Pricing: per second
- Inputs: text, audio
- 3 configurable options
- One API key for media generation
Where it is used
- Social media clips
- Promos and title sequences
- Still-image animation
- Storyboards and animatics
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- text, audio
- Output
- video
- Polling
- every 3 s · up to 600 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"heygen-avatar-v:flow","opts":{"avatar":"example","audio_url":"https://example.com/audio_url.mp3","resolution":"720p","aspect_ratio":"auto"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "heygen-avatar-v:flow",
"opts": {
"avatar": "example",
"audio_url": "https://example.com/audio_url.mp3",
"resolution": "720p",
"aspect_ratio": "auto"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to HeyGen Avatar V via the GetVibe API.
audio_urlavatarreq.resolutionaspect_ratioaudio_file_idaudio_base64| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
audio_url | URL | Public audio URL | — | — |
avatarreq. | text / number | any value | — | Included in the base price |
resolution | option selection | 720p (default) · 1080p · 4K | 720p | Included in the base price |
aspect_ratio | option selection | Auto (default) · 16:9 · 9:16 · 4:5 · 5:4 · 1:1 | Auto | Included in the base price |
audio_file_id | text | Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
audio_base64 | text | Alternative to audio_url: the file inline, as base64 or a data: URI | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of HeyGen Avatar V
The cost of HeyGen Avatar V: from $0.142857 per second. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Resolution — 720p, Frame format — Auto. That request costs $0.142857.
README
The machine-readable contract for HeyGen Avatar V contains the request schema, operations, limits, polling and response examples.
# HeyGen Avatar V
Public model: heygen-avatar-v:flow
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `audio_url` (URL): Public audio URL; default: —
- `avatar` (text / number): any value; default: —
- `resolution` (option selection): 720p (default) · 1080p · 4K; default: 720p
- `aspect_ratio` (option selection): Auto (default) · 16:9 · 9:16 · 4:5 · 5:4 · 1:1; default: Auto
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; default: —
## Public variants
- `heygen-avatar-v:flow`: defaultFAQ about the HeyGen Avatar V API
How much does HeyGen Avatar V cost?
The price of HeyGen Avatar V: from $0.142857 per second. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.
Connect HeyGen Avatar V right now
Sign up in a minute, pay per use, ready-made code above.
Get API key