lipsync-2-pro:flowデフォルトLipsync 2 PRO API — 接続と支払いの方法
Lipsync-2-pro — 既存の動画を新しい音声にリップシンクします。video_urlとaudio_urlが必要です。sync_mode=cut_off(デフォルト)の場合、出力の長さはmin(video, audio)です。出力動画の秒単位で課金されます。
チャネル比較
過去7日間
| チャネル | 価格 |
|---|---|
Flow lipsync-2-pro:flowデフォルト | $0.119から / 秒 |
必要な結果を作成
lipsync-2-pro:flowこのモデルはカタログに最低価格のみ掲載されています。
Lipsync 2 PROとは
Lipsync-2-pro — 既存の動画を新しい音声にリップシンクします。video_urlとaudio_urlが必要です。sync_mode=cut_off(デフォルト)の場合、出力の長さはmin(video, audio)です。出力動画の秒単位で課金されます。
契約の概要
- 入力
- video, audio
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金:秒単位
- 入力:動画、音声
- 設定可能なオプション:5個
- メディア生成用の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":"lipsync-2-pro:flow","opts":{"video_url":"https://example.com/video_url.mp4","audio_url":"https://example.com/audio_url.mp3","sync_mode":"cut_off"}}'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": "lipsync-2-pro:flow",
"opts": {
"video_url": "https://example.com/video_url.mp4",
"audio_url": "https://example.com/audio_url.mp3",
"sync_mode": "cut_off"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でLipsync 2 PROにリクエストする際のパラメータ。
video_urlaudio_urlsync_modevideo_file_idvideo_base64audio_file_idaudio_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
video_url | URL | Public video URL | — | — |
audio_url | URL | Public audio URL | — | — |
sync_mode | option selection | Cut to the shorter (length = min) (default) · Loop the video (length = audio) · Ping-pong the video (length = audio) · Stretch the video (length = audio) · Pad with silence (length = max) | Cut to the shorter (length = min) | 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です。
Lipsync 2 PROの価格
Lipsync 2 PROの料金: から $0.119 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: When lengths differ — Cut to the shorter (length = min)。 このリクエストの料金は$0.119です。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Flowlipsync-2-pro:flow$0.119から / 秒正確な価格
| 価格 | 価格 |
|---|---|
| Flow | $0.119 / 秒 |
生成動画1秒あたりの価格です。請求額は、この価格 × 結果の実際の長さです。
すべての組み合わせ(JSON): /api/media/price-table?model=lipsync-2-pro%3Aflow
README
Lipsync 2 PROの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Lipsync 2 PRO
公開モデル: lipsync-2-pro:flow
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `video_url` (URL): Public video URL; デフォルト: —
- `audio_url` (URL): Public audio URL; デフォルト: —
- `sync_mode` (option selection): Cut to the shorter (length = min) (default) · Loop the video (length = audio) · Ping-pong the video (length = audio) · Stretch the video (length = audio) · Pad with silence (length = max); デフォルト: Cut to the shorter (length = min)
- `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; デフォルト: —
## 公開バリアント
- `lipsync-2-pro:flow`: FlowLipsync 2 PRO APIに関するよくある質問
Lipsync 2 PROの料金はいくらですか?
Lipsync 2 PROの料金はから $0.119 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。