wan-speech-to-video:flowデフォルトWan Speech-to-Video API — 接続と支払いの方法
Flow経由のWan 2.2 A14B Speech-to-Video Turbo — 話すキャラクターの動画。prompt、image_url、audio_urlが必要です。常に16 fps。num_frames(40–120、4の倍数)で長さを設定します。num_frames − 3フレームが描画され、80 → 4.81秒、最大120 → 7.31秒です。クリップより長い音声はカットされます。出力動画の1秒あたりの料金。
チャネル比較
過去7日間
| チャネル | 価格 |
|---|---|
Flow wan-speech-to-video:flowデフォルト | $0.133333から / 秒 |
必要な結果を作成
wan-speech-to-video:flowWan Speech-to-Videoとは
Flow経由のWan 2.2 A14B Speech-to-Video Turbo — 話すキャラクターの動画。prompt、image_url、audio_urlが必要です。常に16 fps。num_frames(40–120、4の倍数)で長さを設定します。num_frames − 3フレームが描画され、80 → 4.81秒、最大120 → 7.31秒です。クリップより長い音声はカットされます。出力動画の1秒あたりの料金。
契約の概要
- 入力
- text, image, audio
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金: 1秒あたり
- 入力: テキスト、画像、音声
- 設定可能なオプション3つ
- メディア生成用のAPIキー1つ
用途
- ソーシャルメディア用クリップ
- プロモーションおよびタイトルシーケンス
- 静止画のアニメーション化
- ストーリーボードおよびアニマティクス
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- text, image, 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":"wan-speech-to-video:flow","prompt":"a beautiful landscape","opts":{"image_url":"https://example.com/image_url.png","audio_url":"https://example.com/audio_url.mp3","resolution":"480p"}}'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": "wan-speech-to-video:flow",
"prompt": "a beautiful landscape",
"opts": {
"image_url": "https://example.com/image_url.png",
"audio_url": "https://example.com/audio_url.mp3",
"resolution": "480p"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でWan Speech-to-Videoにリクエストする際のパラメータ。
prompt必須image_urlaudio_urlresolutionnum_framesframes_per_secondnegative_promptnum_inference_stepsguidance_scaleshiftimage_file_idimage_base64audio_file_idaudio_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
image_url | URL | Public image URL | — | — |
audio_url | URL | Public audio URL | — | — |
resolution | option selection | 480p (default) · 580p · 720p | 480p | 480p: $0.133333, 580p: $0.20, 720p: $0.266667 |
num_frames | text / number | any value | — | Included in the base price |
frames_per_second | text / number | any value | — | Included in the base price |
negative_prompt | text / number | any value | — | Included in the base price |
num_inference_steps | text / number | any value | — | Included in the base price |
guidance_scale | text / number | any value | — | Included in the base price |
shift | text / number | any value | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_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です。
Wan Speech-to-Videoの価格
Wan Speech-to-Videoの料金: から $0.133333 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Resolution — 480p。 このリクエストの料金は$0.133333です。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Flowwan-speech-to-video:flow$0.133333から / 秒正確な価格
| 解像度 | 480p | 580p | 720p |
|---|---|---|---|
| Flow | $0.133333 / 秒 | $0.20 / 秒 | $0.266667 / 秒 |
生成動画1秒あたりの価格です。請求額は、この価格 × 結果の実際の長さです。
すべての組み合わせ(JSON): /api/media/price-table?model=wan-speech-to-video%3Aflow
README
Wan Speech-to-Videoの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Wan Speech-to-Video
公開モデル: wan-speech-to-video:flow
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `image_url` (URL): Public image URL; デフォルト: —
- `audio_url` (URL): Public audio URL; デフォルト: —
- `resolution` (option selection): 480p (default) · 580p · 720p; デフォルト: 480p
- `num_frames` (text / number): any value; デフォルト: —
- `frames_per_second` (text / number): any value; デフォルト: —
- `negative_prompt` (text / number): any value; デフォルト: —
- `num_inference_steps` (text / number): any value; デフォルト: —
- `guidance_scale` (text / number): any value; デフォルト: —
- `shift` (text / number): any value; デフォルト: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `image_base64` (text): Alternative to image_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; デフォルト: —
## 公開バリアント
- `wan-speech-to-video:flow`: FlowWan Speech-to-Video APIに関するよくある質問
Wan Speech-to-Videoの料金はいくらですか?
Wan Speech-to-Videoの料金はから $0.133333 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。