PopNowAPI 문서
본문

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선택string16: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.
resolution선택string768p480p, 768pOutput size class: 480p or 768p (default). 480p costs less per second.
duration_seconds선택integer55~15Clip length in whole seconds, 5 to 15. Billed per requested second.
prompt_optimization_mode선택stringdisableddisabled, turbo, qualityOptional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free.
seed선택integer—0~2147483647Optional random seed for one-change-at-a-time comparisons. Omit it for a random result.

요청 예제

이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.

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"
  }
}'

응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.

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"

이미지로 영상 만들기

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선택string768p480p, 768p, 1080p, 2kOutput size class: 480p, 768p (default), 1080p or 2k. 1080p and 2k share a higher per-second rate.
duration_seconds선택integer55~15Clip length in whole seconds, 5 to 15. Billed per requested second.
prompt_optimization_mode선택stringdisableddisabled, turbo, qualityOptional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free.
seed선택integer—0~2147483647Optional random seed for one-change-at-a-time comparisons. Omit it for a random result.

요청 예제

이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.

예제의 image_url에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.

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"
  }
}'

응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.

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"

레퍼런스로 영상 만들기

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선택string16:916:9, 9:16Frame shape: 16:9 (default) or 9:16.
resolution선택string768p480p, 768pOutput size class: 480p or 768p (default). 480p costs less per second.
duration_seconds선택integer55~15Clip length in whole seconds, 5 to 15. Billed per requested second.
prompt_optimization_mode선택stringdisableddisabled, turbo, qualityOptional prompt rewrite before generation: disabled keeps your text as written, turbo is the quick rewrite, quality the more thorough one. Free.
seed선택integer—0~2147483647Optional random seed for one-change-at-a-time comparisons. Omit it for a random result.

요청 예제

이 요청은 그대로 실행됩니다. 빠진 필드는 기본값을 씁니다. 먼저 키를 환경 변수 POPNOW_API_KEY에 넣어 두세요.

예제의 reference_image_urls에는 PopNow 샘플 파일이 들어 있습니다. 직접 가진 공개 HTTPS 링크, 업로드한 파일, 저장한 에셋으로 바꿔 쓰세요.

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"
  }
}'

응답에는 taskId가 바로 들어 있습니다. 결과는 GET /api/v1/jobs/recordInfo로 가져오거나, callBackUrl을 넣어 알림을 받으세요.

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"

다음 단계

이 페이지에서