
Aligns mouth movement in an existing video to an uploaded audio track or to text spoken by one of fourteen built-in voices.
Aligns mouth movement in an existing video to an uploaded audio track or to text spoken by one of fourteen built-in voices.
pixverse-lipsync/v1/videos/generationspixverse/lipsyncEmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。
Pixverse Lip Sync は POST /v1/videos/generations で動作します。リクエストはすぐに job_id を返すので、ジョブが完了するまで GET /v1/jobs/{job_id} をポーリングし、結果から出力 URL を読み取ってください。 EmpirioLabs ダッシュボードで API キーを取得してください。
curl https://api.empiriolabs.ai/v1/videos/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "pixverse-lipsync",
"prompt": "Describe what you want Pixverse Lip Sync to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/videos/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "pixverse-lipsync",
"prompt": "Describe what you want Pixverse Lip Sync 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)EmpirioLabs 上の Pixverse Lip Sync API が対応するリクエストパラメーターです。フィールドを省略した場合はデフォルト値が適用されます。
| パラメータ | タイプ | デフォルト | 範囲 / 値 | 説明 |
|---|---|---|---|---|
| lip_sync_tts_content | string | - | - | The line to speak. Used when no audio file is attached. Billed in 15-character blocks. |
| lip_sync_tts_speaker_id | enum | Auto | Auto, Emily, James, Isabella, Liam, Chloe, Adrian, Harper, Av... | Voice used for the spoken line. Auto picks one to suit the clip. Ignored when an audio file is attached. |
| video | string | - | - | Source video URL. Required. |
| audio | string | - | - | Audio URL to lip sync to. Takes precedence over the spoken text. |
Aligns mouth movement in an existing video to speech, either from an audio file you supply or from text spoken by a built-in voice.
EmpirioLabs では Pixverse Lip Sync は従量課金です: Speech $0.08 per second。このページのライブ料金表は常に API の請求額と一致します。
Pixverse Lip Sync は api.empiriolabs.ai 上の POST /v1/videos/generations で提供され、標準的な Bearer トークン認証を使用します。
はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで Pixverse Lip Sync をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。
EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。