by HeyGen

768p Video

heygen/video-1/reference-to-video
  • Up to 768p
  • 5–15s clips
  • Up to 9 reference images
  • Create Video
  • Image to Video
  • Reference to Video

About HeyGen Video 1.0

HeyGen Video 1.0 is HeyGen's scene-generation model. It makes 5 to 15 second clips from a written brief, from a starting photo, or from a mix of reference images, videos and audio. Clips from text come with a stereo soundtrack at 480p or 768p; a photo can go up to 1080p or 2K.

Call it with the model name heygen/video-1/reference-to-video on POST /jobs/createTask, from $0.48.

Introduction

HeyGen Video 1.0 API for reference to video

HeyGen Video 1.0 combines supplied images, videos, and audio references into a 5–15 second scene at 480p or 768p. The reference endpoint accepts up to 12 items in total and supports 16:9 or 9:16, with reference videos limited to 15 seconds combined.

Call with a person and a product

This proposed request demonstrates token usage; it is not the original test payload. Use text, voices, and likenesses you have permission to use, and never impersonate a real person.

Read the generated task result

Collect data.taskId after submission and retrieve the task through GET /api/v1/jobs/recordInfo?taskId=YOUR_TASK_ID.

{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "job_references_example",
    "state": "queued"
  }
}
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "job_references_example",
    "state": "succeeded",
    "output": {
      "assets": [{"url": "https://example.com/reference-scene.mp4"}]
    }
  }
}

Use the complete task contract for integration details. Review the result for each reference's intended contribution rather than assuming that a successful task preserved every input equally.

Assign a role to every reference

Name each input with its matching token and say what it contributes to the shot. HeyGen's documentation says that numbering follows each media list independently, so an image is addressed with <Picture 1>, a video with <Video 1>, and audio with <Audio 1>.

ParameterUsage and limit
promptDescribe the new scene and refer to the supplied items by token.
reference_audio_urlsAudio clips assigned a role with tokens such as <Audio 1>.
Combined listsUp to 12 reference items across all three media types.
duration_secondsRequested output length of 5–15 seconds.
resolution480p or 768p.
aspect_ratio16:9 or 9:16.
prompt_optimization_modedisabled, turbo, or quality; the latter modes can rewrite the brief.
seedHold fixed to compare one edit, without promising an identical render.

Learn from the two reference tests

The two-image test used both a man and a dropper bottle in a 9:16 result, showing the man holding that bottle. It took about 158 seconds to process, which is a measured run rather than a reference-generation service target.

The mixed-reference test followed its video closely and did not carry over the face from the image. Its inputs were one image, a four-second video, and audio. When a specific photo's person matters, avoid a dominant motion clip; images alone or the image-to-video endpoint give you a more focused starting point to evaluate.

  1. Begin with a portrait and product image if those are the elements that must appear.
  2. Add a video when its motion or scene is actually needed, then check the face again.
  3. Keep the seed and prompt rewrite setting steady while comparing a change.

Troubleshoot and select another endpoint

Check the combined item count, video duration, and output settings before submitting a reference request. Inspect the returned task error for rejected or failed jobs rather than assuming a missing result is an identity issue.

Use image-to-video to animate a particular photo or request native 1080p or 2k output. Use text-to-video when no references are needed. HeyGen Avatar IV addresses talking-photo work, while HeyGen Video Translate is the sibling to review for translation.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · Default: 16:9
duration_secondsNoLength of the generated clip. ≥ 5 · ≤ 15 · Default: 5
promptYesDescribe what you want to make.
prompt_optimization_modeNoHow your prompt gets rewritten: one quick pass, or a more detailed multi-step rewrite. disabled · turbo · quality · Default: disabled
reference_audio_urlsNoAudio to match: a voice, music or a rhythm.
reference_image_urlsNoPictures of the people, outfits or places the result should keep.
reference_video_urlsNoClips whose motion, camera or style the result should follow.
resolutionNoChoose an available output size. 480p · 768p · Default: 768p
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
resolution 480p$0.096
resolution 768p$0.135

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the HeyGen Video 1.0 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model heygen/video-1/reference-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
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: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "heygen/video-1/reference-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "aspect_ratio": "16:9",
    "resolution": "768p",
    "duration_seconds": 5
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

HeyGen Video 1.0 API questions

How much does the HeyGen Video 1.0 API cost?

HeyGen Video 1.0 starts at $0.48 for a 5-second clip with Reference to Video, its lowest-priced task. Prices by option: 480p $0.096 per second, 768p $0.135 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the HeyGen Video 1.0 · Reference to Video API?

Clip length: 5–15 s; Resolutions: 480p · 768p; Aspect ratios: 16:9 · 9:16; Reference audio: 3; Reference images: 9. Requests outside these limits are rejected before anything is charged.

More about HeyGen Video 1.0