Pixverse Avatar API

Turns a single portrait into a talking avatar video, driven by an uploaded audio track or by text spoken with a built-in voice.

PixVerseビデオ生成独自エンドポイント

Pixverse Avatar について

Turns a single portrait into a talking avatar video, driven by an uploaded audio track or by text spoken with a built-in voice.

lipsyncimage to videoaudio inaudio sync

Pixverse Avatar の仕様

モデルID
pixverse-avatar
プロバイダー
PixVerse
カテゴリ
ビデオ生成
リリース
-
入力
テキスト画像音声
出力
動画
エンドポイント
POST/v1/videos/generations
代替モデルID
pixverse/avatar

Pixverse Avatar API の料金

EmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。

タイプ
仕様
料金
360p
per second
$0.10
540p
per second
$0.20
720p
per second
$0.30
1080p
per second
$0.40
料金ページ全体で比較

Pixverse Avatar API の呼び出し方

Pixverse Avatar は POST /v1/videos/generations で動作します。リクエストはすぐに job_id を返すので、ジョブが完了するまで GET /v1/jobs/{job_id} をポーリングし、結果から出力 URL を読み取ってください。 EmpirioLabs ダッシュボードで API キーを取得してください。

cURL: ジョブを送信
curl https://api.empiriolabs.ai/v1/videos/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "pixverse-avatar",
    "prompt": "Describe what you want Pixverse Avatar to generate."
  }'
cURL: 結果をポーリング
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/videos/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "pixverse-avatar",
        "prompt": "Describe what you want Pixverse Avatar to generate.",
    },
)
job = response.json()

# Generation runs as an async job. Poll until it completes.
import time
while True:
    status = requests.get(
        f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
        headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    ).json()
    if status.get("status") in ("completed", "failed"):
        print(status)
        break
    time.sleep(5)
Pixverse Avatar API の完全リファレンス

Pixverse Avatar API のパラメーター

EmpirioLabs 上の Pixverse Avatar API が対応するリクエストパラメーターです。フィールドを省略した場合はデフォルト値が適用されます。

パラメータタイプデフォルト範囲 / 値説明
lip_sync_tts_contentstring--The line for the avatar to speak. Used when no audio file is attached. Billed in 15-character blocks.
lip_sync_tts_speaker_idenumAutoAuto, Emily, James, Isabella, Liam, Chloe, Adrian, Harper, Av...Voice used for the spoken line. Auto picks one to suit the portrait. Ignored when an audio file is attached.
resolutionenum720p360p, 540p, 720p, 1080pOutput resolution. Higher resolutions bill at a higher per-second rate.
promptstring--Optional direction for delivery or framing.
imagestring--Portrait image URL. Required.
audiostring--Audio URL for the avatar to perform. Takes precedence over the spoken text.

知っておくと便利

Turns a single portrait image into a talking avatar video, driven either by an audio file you supply or by text spoken with a built-in voice.

Inputs

  • image: the portrait to animate. Use a clear, front-facing subject.
  • audio: the speech to perform, or lip_sync_tts_content with lip_sync_tts_speaker_id to have the model speak your text. Fourteen named voices are available plus Auto.
  • prompt is optional and can describe delivery or framing.

出力

  • 360p, 540p, 720p and 1080p.

Billing

  • Billed per second of speech at the rate for the output resolution. Text-to-speech input is metered in 15-character blocks at the same rate, so the charge tracks the length of the script.

Input limits

  • Image: PNG, JPEG or WebP, up to 20MB and 10000px on the long edge.
  • Audio: MP3, WAV, M4A or AAC.

Pixverse Avatar API: よくある質問

Pixverse Avatar API の料金はいくらですか?

EmpirioLabs では Pixverse Avatar は従量課金です: 360p $0.10 per second; 540p $0.20 per second; 720p $0.30 per second。このページのライブ料金表は常に API の請求額と一致します。

Pixverse Avatar はどのエンドポイントを使いますか?

Pixverse Avatar は api.empiriolabs.ai 上の POST /v1/videos/generations で提供され、標準的な Bearer トークン認証を使用します。

統合する前にブラウザで Pixverse Avatar を試せますか?

はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで Pixverse Avatar をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。

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

EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。

より良いエンドポイントを使う準備はできていますか?

ご自身のモデルを当社のスタックに展開したい方は、ぜひご価格をご覧ください。