mode必須Volcengine Lip Sync API — 接続と支払いの方法
Volcengine Lip Sync — リップシンク(docs.Pixel/market/volcengine/video-to-video-lip-sync)。mode、video_url、audio_urlが必要。秒単位の料金。
必要な結果を作成
volcengine-lipsyncこのモデルはカタログに最低価格のみ掲載されています。
Volcengine Lip Syncとは
Volcengine Lip Sync — リップシンク(docs.Pixel/market/volcengine/video-to-video-lip-sync)。mode、video_url、audio_urlが必要。秒単位の料金。
契約の概要
- 入力
- video, audio
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金:秒単位
- 入力:動画、音声
- 設定可能なオプション:2個
- メディア生成用のAPIキー1つ
用途
- ソーシャルメディア向けクリップ
- プロモーションおよびタイトルシーケンス
- 静止画のアニメーション化
- 絵コンテおよびアニマティクス
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- video, audio
- 出力
- video
- ポーリング
- 3秒ごと · 最大600秒
- 認証
- Authorization: Bearer sk-pv-…
リクエスト例
Bearerヘッダーにキーを渡します。APIはjobIdステータスをポーリングするために使用します。
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"volcengine-lipsync","opts":{"mode":"lite","video_url":"https://example.com/video_url.mp4","audio_url":"https://example.com/audio_url.mp3","separate_vocal":false,"align_audio":true}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "volcengine-lipsync",
"opts": {
"mode": "lite",
"video_url": "https://example.com/video_url.mp4",
"audio_url": "https://example.com/audio_url.mp3",
"separate_vocal": false,
"align_audio": true
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でVolcengine Lip Syncにリクエストする際のパラメータ。
separate_vocalopen_scenedetalign_audiovideo_file_idvideo_base64audio_file_idaudio_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
mode必須 | option selection | lite · basic | required | Included in the base price |
separate_vocal | yes/no | Isolate vocals (suppress background noise) | false | Included in the base price |
open_scenedet | yes/no | Scene segmentation and speaker detection | false | Included in the base price |
align_audio | yes/no | Loop video if audio is longer | true | Included in the base price |
video_file_id | text | Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
video_base64 | text | Alternative to video_url: the file inline, as base64 or a data: URI | — | Included in the base price |
audio_file_id | text | Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
audio_base64 | text | Alternative to audio_url: the file inline, as base64 or a data: URI | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Volcengine Lip Syncの価格
Volcengine Lip Syncの料金: から $35.00 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
README
Volcengine Lip Syncの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Volcengine Lip Sync
公開モデル: volcengine-lipsync
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `mode` (option selection): lite · basic; デフォルト: required
- `separate_vocal` (yes/no): Isolate vocals (suppress background noise); デフォルト: false
- `open_scenedet` (yes/no): Scene segmentation and speaker detection; デフォルト: false
- `align_audio` (yes/no): Loop video if audio is longer; デフォルト: true
- `video_file_id` (text): Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `video_base64` (text): Alternative to video_url: the file inline, as base64 or a data: URI; デフォルト: —
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; デフォルト: —
## 公開バリアント
- `volcengine-lipsync`: デフォルトVolcengine Lip Sync APIに関するよくある質問
Volcengine Lip Syncの料金はいくらですか?
Volcengine Lip Syncの料金はから $35.00 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。