PopNowAPI Docs
Main content

HeyGen Video 1.0 API reference

5–15-second clips from text with sound, from a photo up to 2K, or from mixed references

Call HeyGen Video 1.0 from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.

At a glance

Made by
HeyGen
Output
Video
From
$0.028 USD per second of output

Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.

Create Video

heygen/video-1/text-to-video

Price

OptionUSD
480p$0.028 per second of output
768p$0.051 per second of output

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring—up to 32,000 charactersDescribe the subject, setting, action, camera and the sound you want, up to 32,000 characters. Put spoken lines in double quotes.
aspect_ratioOptionalstring16:916:9, 9:16, 1:1, 4:3, 3:4, 21:9Frame shape: 16:9 (default), 9:16, 1:1, 4:3, 3:4 or 21:9.
resolutionOptionalstring768p480p, 768pOutput size class: 480p or 768p (default). 480p costs less per second.
duration_secondsOptionalinteger55 to 15Clip length in whole seconds, 5 to 15. Billed per requested second.
prompt_optimization_modeOptionalstringdisableddisabled, turbo, qualityOptional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free.
seedOptionalinteger—0 to 2147483647Optional random seed for one-change-at-a-time comparisons. Omit it for a random result.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "heygen/video-1/text-to-video",
  "input": {
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Image to Video

heygen/video-1/image-to-video

Price

OptionUSD
480p$0.028 per second of output
768p$0.051 per second of output
1080p$0.135 per second of output
2k$0.135 per second of output

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring—up to 32,000 charactersDescribe what happens after the opening frame: motion, camera, spoken lines in double quotes and the sound, up to 32,000 characters.
image_urlRequiredstring (uri)——Opening frame. The clip starts exactly on this picture and keeps its proportions at every resolution.
resolutionOptionalstring768p480p, 768p, 1080p, 2kOutput size class: 480p, 768p (default), 1080p or 2k. 1080p and 2k share a higher per-second rate.
duration_secondsOptionalinteger55 to 15Clip length in whole seconds, 5 to 15. Billed per requested second.
prompt_optimization_modeOptionalstringdisableddisabled, turbo, qualityOptional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free.
seedOptionalinteger—0 to 2147483647Optional random seed for one-change-at-a-time comparisons. Omit it for a random result.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

The example uses PopNow sample files in image_url. Replace them with your own public HTTPS links, uploads or saved assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "heygen/video-1/image-to-video",
  "input": {
    "prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Reference to Video

heygen/video-1/reference-to-video

Price

OptionUSD
480p$0.096 per second of output
768p$0.135 per second of output

Parameters

FieldTypeDefaultAllowedWhat it does
promptRequiredstring—up to 32,000 charactersDescribe the new scene and point at each reference with its label: <Picture 1>, <Video 1>, <Audio 1>. Images, videos and audio are numbered separately, in upload order.
reference_image_urlsOptionalarray<string (uri)>—up to 9 itemsUp to nine pictures of people, products or places, named <Picture 1>, <Picture 2> and so on. The first two are included; each further image adds a charge.
reference_video_urlsOptionalarray<string (uri)>—up to 3 itemsUp to three clips for motion or a setting, named <Video 1> and so on, 15 seconds in total. Every uploaded second is billed like an output second.
reference_audio_urlsOptionalarray<string (uri)>—up to 3 itemsUp to three voice or sound clips, named <Audio 1> and so on. Needs at least one picture or video beside it. Free.
aspect_ratioOptionalstring16:916:9, 9:16Frame shape: 16:9 (default) or 9:16.
resolutionOptionalstring768p480p, 768pOutput size class: 480p or 768p (default). 480p costs less per second.
duration_secondsOptionalinteger55 to 15Clip length in whole seconds, 5 to 15. Billed per requested second.
prompt_optimization_modeOptionalstringdisableddisabled, turbo, qualityOptional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free.
seedOptionalinteger—0 to 2147483647Optional random seed for one-change-at-a-time comparisons. Omit it for a random result.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

The example uses PopNow sample files in reference_image_urls. Replace them with your own public HTTPS links, uploads or saved assets.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "heygen/video-1/reference-to-video",
  "input": {
    "prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Next steps

On this page