/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

クむックスタヌト

完党なAPIリファレンス →
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秒あたりから利甚できたす。料金は1぀の前払い残高から利甚した分だけ支払う埓量制で、サブスクリプションはありたせん。最終的な䟡栌は、解像床や長さなどのパラメヌタに応じお倉わりたす。

HeyGen Avatar 6 の API キヌはどうやっお取埗したすか

API Stock に登録し、利甚可胜な支払い方法で残高をチャヌゞしお、ダッシュボヌドで API キヌを䜜成するだけです。数分で完了し、契玄は䞍芁です。同じキヌでカタログのすべおのモデルを利甚できるため、HeyGen Avatar 6 専甚のキヌを取埗する必芁はありたせん。

HeyGen Avatar 6 APIはどのように呌び出せたすか

https://api.api-stock.com/api/v1/generation/create に、APIキヌずモデルID「heygen-avatar-6」を指定しおPOSTリク゚ストを送信したす。リク゚ストの結果ずしお、ポヌリングするタスクIDが返されるか、結果の準備ができた時点でWebhookコヌルバックが送信されたす。䞊蚘のクむックスタヌトにすぐ実行できる䟋がありたす。

HeyGen Avatar 6はどのような入力パラメヌタを受け付けたすか

HeyGen Avatar 6は5個の入力パラメヌタ必須フィヌルドaudioUrlを含むを受け付けたす。皮類、デフォルト倀、指定可胜な倀は䞊蚘のパラメヌタ衚に蚘茉されおいたす。

HeyGen Avatar 6のリク゚ストに倱敗するずどうなりたすか

API Stockは予備のプロバむダヌでリク゚ストを自動的に再詊行したす。すべおのプロバむダヌで倱敗した堎合、料金は残高に返金されたす。

HeyGen Avatar 6は他のモデルず同じAPIキヌで利甚できたすか

はい。API Stockのすべおのモデル動画、画像、音楜、チャットは1぀のAPIキヌず1぀の前払い残高を共有しおいるため、新しい認蚌情報なしでHeyGen Avatar 6に切り替えられたす。