/VIDEO/heygen-avatar-6
동영상
HeyGen

HeyGen Avatar 6 API

Create a lip-synced video from a portrait or an animated character reference video and a speech audio track. Supports 1080p and 2K.

  • 이미지를 동영상으로
  • Video to video

최저가

$0.15

출력 1초당

5개 파라미터 · 2개 가격 옵션

HeyGen Avatar 6 API 가격

옵션초당 가격
1080p$0.15
2K$0.21
1curl -X POST https://api.api-stock.com/api/v1/generation/create \
2 -H "Authorization: Bearer $API_STOCK_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "heygen-avatar-6",
6 "input": {
7 "audioUrl": "https://example.com/speech.mp3",
8 "resolution": "1080p",
9 "imageUrls": [
10 "https://example.com/portrait.jpg"
11 ]
12 }
13 }'

매개변수

이름유형필수기본값설명
audioUrlstring예—Public URL of the speech audio (2–60 seconds, maximum 15 MB). Video length follows the audio. Billing rounds the audio duration up to whole seconds.
resolutionstring아니요1080pOutput resolution다음 중 하나: 1080p, 2K
promptstring아니요—Optional direction for the avatar's gestures, expression and posture.
videoUrlstring아니요—Public URL of an animated or illustrated character video, at least 2 seconds long and up to 50 MB. Providing videoUrl selects video-to-video mode. The output follows the video's aspect ratio.
imageUrlsstring[]아니요—Public URL of one portrait image, required when videoUrl is omitted. In image-to-video mode the output follows the portrait's aspect ratio. With videoUrl, you may supply an image of the same character.

자주 묻는 질문

HeyGen Avatar 6의 비용은 얼마인가요?

HeyGen Avatar 6의 API Stock API 사용 가격은 $0.15 출력 1초당부터 시작합니다. 단일 선불 잔액에서 사용량에 따라 지불하며, 구독은 필요하지 않습니다. 최종 가격은 해상도나 길이와 같은 매개변수에 따라 달라집니다.

HeyGen Avatar 6의 API 키는 어떻게 발급받나요?

API Stock에 가입하고 사용 가능한 결제 수단으로 잔액을 충전한 뒤 대시보드에서 API 키를 생성하면 됩니다. 몇 분이면 끝나고 계약도 필요 없습니다. 동일한 키로 카탈로그의 모든 모델을 사용할 수 있으므로 HeyGen Avatar 6용 키를 따로 발급받을 필요는 없습니다.

HeyGen Avatar 6 API는 어떻게 호출하나요?

API 키와 모델 ID "heygen-avatar-6"를 사용해 https://api.api-stock.com/api/v1/generation/create로 POST 요청을 보내세요. 요청하면 폴링할 작업 ID가 반환되며, 결과가 준비되면 웹훅 콜백을 받을 수도 있습니다. 바로 실행할 수 있는 예제는 위의 빠른 시작에 있습니다.

HeyGen Avatar 6은(는) 어떤 입력 매개변수를 지원하나요?

HeyGen Avatar 6은(는) 5개의 입력 매개변수를 지원합니다 (필수 필드 audioUrl 포함). 해당 유형, 기본값 및 허용되는 값은 위의 매개변수 표에 나와 있습니다.

HeyGen Avatar 6 요청이 실패하면 어떻게 되나요?

API Stock는 예비 제공업체를 통해 요청을 자동으로 재시도합니다. 모든 제공업체에서 실패하면 청구 금액이 잔액으로 환불됩니다.

다른 모델과 동일한 API 키로 HeyGen Avatar 6을(를) 사용할 수 있나요?

예. API Stock의 모든 모델(비디오, 이미지, 음악, 채팅)은 하나의 API 키와 하나의 선불 잔액을 공유하므로, 새 인증 정보 없이 HeyGen Avatar 6으로 전환할 수 있습니다.