/VIDEO/heygen-avatar-6-turbo
動画
HeyGen

HeyGen Avatar 6 Turbo 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.075

出力1秒あたり

5パラメータ・2料金オプション

HeyGen Avatar 6 Turbo API の料金

オプション秒あたりの価格
1080p$0.075
2K$0.13

クイックスタート

完全な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-turbo",
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 Turbo の料金はいくらですか?

HeyGen Avatar 6 TurboはAPI Stock API経由で$0.075 出力1秒あたりから利用できます。料金は1つの前払い残高から利用した分だけ支払う従量制で、サブスクリプションはありません。最終的な価格は、解像度や長さなどのパラメータに応じて変わります。

HeyGen Avatar 6 Turbo の API キーはどうやって取得しますか?

API Stock に登録し、利用可能な支払い方法で残高をチャージして、ダッシュボードで API キーを作成するだけです。数分で完了し、契約は不要です。同じキーでカタログのすべてのモデルを利用できるため、HeyGen Avatar 6 Turbo 専用のキーを取得する必要はありません。

HeyGen Avatar 6 Turbo APIはどのように呼び出せますか?

https://api.api-stock.com/api/v1/generation/create に、APIキーとモデルID「heygen-avatar-6-turbo」を指定してPOSTリクエストを送信します。リクエストの結果として、ポーリングするタスクIDが返されるか、結果の準備ができた時点でWebhookコールバックが送信されます。上記のクイックスタートにすぐ実行できる例があります。

HeyGen Avatar 6 Turboはどのような入力パラメータを受け付けますか?

HeyGen Avatar 6 Turboは5個の入力パラメータ(必須フィールドaudioUrlを含む)を受け付けます。種類、デフォルト値、指定可能な値は上記のパラメータ表に記載されています。

HeyGen Avatar 6 Turboのリクエストに失敗するとどうなりますか?

API Stockは予備のプロバイダーでリクエストを自動的に再試行します。すべてのプロバイダーで失敗した場合、料金は残高に返金されます。

HeyGen Avatar 6 Turboは他のモデルと同じAPIキーで利用できますか?

はい。API Stockのすべてのモデル(動画、画像、音楽、チャット)は1つのAPIキーと1つの前払い残高を共有しているため、新しい認証情報なしでHeyGen Avatar 6 Turboに切り替えられます。