HeyGen Video 1.0 API 레퍼런스
텍스트로 소리가 포함된 5~15초 클립 생성, 사진으로 최대 2K 생성, 또는 여러 참고 자료를 섞어 생성
PopNow API 키 하나로 내 코드에서 HeyGen Video 1.0을(를) 호출할 수 있습니다. 보낼 모델 ID, 이 모델이 받는 모든 입력 필드, 요청 한 번에 드는 비용(USD), 터미널에 붙여 넣으면 바로 실행되는 요청을 정리했습니다.
파라미터 설명은 모델의 입력 schema에서 가져오므로 영어로만 제공됩니다.
한눈에 보기
- 제작사
- HeyGen
- 결과물
- 영상
- 최저가
- $0.028 USD 결과물 1초당
요금은 USD로 표시되며 PopNow 잔액에서 차감됩니다. 작업 접수 시 최대 요금을 예약하고 완료 후 실제 사용량으로 정산하며 나머지는 반환합니다. 실패한 작업에는 과금하지 않습니다. 실행 전 정확한 견적은 POST /api/v1/jobs/quote로 확인하세요.
영상 만들기
heygen/video-1/text-to-video
요금
| 옵션 | USD |
|---|---|
480p | $0.028 결과물 1초당 |
768p | $0.051 결과물 1초당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 32,000자 | Describe the subject, setting, action, camera and the sound you want, up to 32,000 characters. Put spoken lines in double quotes. |
aspect_ratio선택 | string | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 | Frame shape: 16:9 (default), 9:16, 1:1, 4:3, 3:4 or 21:9. |
resolution선택 | string | 768p | 480p, 768p | Output size class: 480p or 768p (default). 480p costs less per second. |
duration_seconds선택 | integer | 5 | 5~15 | Clip length in whole seconds, 5 to 15. Billed per requested second. |
prompt_optimization_mode선택 | string | disabled | disabled, turbo, quality | Optional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free. |
seed선택 | integer | — | 0~2147483647 | Optional random seed for one-change-at-a-time comparisons. Omit it for a random result. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
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"
}
}'응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"이미지로 영상 만들기
heygen/video-1/image-to-video
요금
| 옵션 | USD |
|---|---|
480p | $0.028 결과물 1초당 |
768p | $0.051 결과물 1초당 |
1080p | $0.135 결과물 1초당 |
2k | $0.135 결과물 1초당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 32,000자 | Describe what happens after the opening frame: motion, camera, spoken lines in double quotes and the sound, up to 32,000 characters. |
image_url필수 | string (uri) | — | — | Opening frame. The clip starts exactly on this picture and keeps its proportions at every resolution. |
resolution선택 | string | 768p | 480p, 768p, 1080p, 2k | Output size class: 480p, 768p (default), 1080p or 2k. 1080p and 2k share a higher per-second rate. |
duration_seconds선택 | integer | 5 | 5~15 | Clip length in whole seconds, 5 to 15. Billed per requested second. |
prompt_optimization_mode선택 | string | disabled | disabled, turbo, quality | Optional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free. |
seed선택 | integer | — | 0~2147483647 | Optional random seed for one-change-at-a-time comparisons. Omit it for a random result. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
예제의 image_url에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.
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"
}
}'응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"레퍼런스로 영상 만들기
heygen/video-1/reference-to-video
요금
| 옵션 | USD |
|---|---|
480p | $0.096 결과물 1초당 |
768p | $0.135 결과물 1초당 |
파라미터
| 필드 | 타입 | 기본값 | 허용 값 | 설명 |
|---|---|---|---|---|
prompt필수 | string | — | 최대 32,000자 | Describe 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_urls선택 | array<string (uri)> | — | 최대 9개 | Up 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_urls선택 | array<string (uri)> | — | 최대 3개 | Up 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_urls선택 | array<string (uri)> | — | 최대 3개 | Up to three voice or sound clips, named <Audio 1> and so on. Needs at least one picture or video beside it. Free. |
aspect_ratio선택 | string | 16:9 | 16:9, 9:16 | Frame shape: 16:9 (default) or 9:16. |
resolution선택 | string | 768p | 480p, 768p | Output size class: 480p or 768p (default). 480p costs less per second. |
duration_seconds선택 | integer | 5 | 5~15 | Clip length in whole seconds, 5 to 15. Billed per requested second. |
prompt_optimization_mode선택 | string | disabled | disabled, turbo, quality | Optional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free. |
seed선택 | integer | — | 0~2147483647 | Optional random seed for one-change-at-a-time comparisons. Omit it for a random result. |
요청 예제
이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.
예제의 reference_image_urls에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.
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"
}
}'응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
