Skip to main content

Video model

Avatar Iv

heygen/avatar-iv

heygen/avatar-iv is a video generation model from Heygen you can call on the OceanToken API.

Price card, similar models and questions answered: Avatar Iv on oceantoken.ai.

At a glance

Model IDheygen/avatar-iv
TypeVideo
PublisherHeygen
PriceOn oceantoken.ai
Endpoint/v1/videos
API shapeOpenAI-compatible
In the catalog since2026-08-24

API

POST /v1/videos. Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.

Download this spec (JSON) · llms.txt for AI assistants

The call starts a job: poll GET /v1/videos/{video_id}, then download GET /v1/videos/{video_id}/content.

Talking photo

curl https://api.oceantoken.ai/v1/videos \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"model": "heygen/avatar-iv",
"prompt": "Hi, thanks for watching.",
"duration": 5,
"resolution": "720p",
"frame_images": [
{
"type": "image_url",
"frame_type": "first_frame",
"image_url": {
"url": "https://example.com/first-frame.jpg"
}
}
]
}'
# then poll GET https://api.oceantoken.ai/v1/videos/{id} until "status" is "completed"

Request parameters

Only what this model takes. Anything else in the request is left out before it reaches the model.

ParameterTypeDescription
model
required
stringThis model's ID.
prompt
required
stringWhat happens in the clip.
durationinteger
4 to 10
default 5
Length in whole seconds. seconds is accepted too. -1 lets the model choose.
resolutionstring
720p, 1080p
Output resolution; lower is faster and cheaper.
aspect_ratiostring
16:9, 9:16, 1:1
Output aspect ratio.
frame_images
required
array
up to 1 items
The first frame: {"type": "image_url", "frame_type": "first_frame", "image_url": {"url": ...}}.

Response

FieldTypeDescription
idstringThe job's ID; poll it.
statusstring
queued, in_progress, completed, failed
Where the job is.
secondsstringLength of the clip.
sizestring or nullThe size the request asked for (width x height), not measured from the file; null when the request named a resolution instead.
content_urlstringOnce completed: the MP4, valid for 24 hours.
errorobjectOn a failed job: code and message.
Example response
{
"id": "video_...",
"object": "video",
"status": "completed",
"model": "heygen/avatar-iv",
"seconds": "5",
"size": null,
"created_at": 1792000000,
"completed_at": 1792000095,
"content_url": "https://...",
"error": null
}

More examples and how errors and billing work: Video.

Compared with similar models

Video models on OceanToken in the same price range as heygen/avatar-iv. Compare their prices on oceantoken.ai.

ModelPublisherContext
Avatar Iv
heygen/avatar-iv
Heygen—
Wan 3.0
alibaba/wan-3.0
Alibaba—
Hailuo 3 Max
minimax/hailuo-3-max
MiniMax—
Seedance 2.0 Mini Upscaled
bytedance/seedance-2.0-mini-upscaled
ByteDance—

Use it

Create an account Price on oceantoken.ai

The facts on this page were read from the live OceanToken catalog on 2026-12-02 (UTC), when the documentation was built. Prices are published on oceantoken.ai.