flux-3デフォルトFlux 3 API — 接続と支払いの方法
FLUX 3(Black Forest Labs)— 音声同期に対応する動画モデル。テキストから動画、画像から動画、クリップ継続に対応。720p/1080p、5–20秒。解像度とモードによる1秒あたりの料金。Draftは高速なプレビュー描画で、720pのみです。
チャネル比較
過去7日間
| チャネル | 価格 |
|---|---|
キャンバス flux-3デフォルト | $0.08から / 秒 |
必要な結果を作成
flux-3Flux 3とは
FLUX 3(Black Forest Labs)— 音声同期に対応する動画モデル。テキストから動画、画像から動画、クリップ継続に対応。720p/1080p、5–20秒。解像度とモードによる1秒あたりの料金。Draftは高速なプレビュー描画で、720pのみです。
契約の概要
- 入力
- text, image, video
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金: 1秒あたり
- 入力: テキスト、画像、動画
- 設定可能なオプション3つ
- メディア生成用のAPIキー1つ
用途
- ソーシャルメディア用クリップ
- プロモーションおよびタイトルシーケンス
- 静止画のアニメーション化
- ストーリーボードおよびアニマティクス
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- text, image, video
- 出力
- 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":"flux-3","prompt":"a beautiful landscape","opts":{"mode":"text-to-video","duration":"5","quality":"full","resolution":"720p","aspect_ratio":"auto","generate_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": "flux-3",
"prompt": "a beautiful landscape",
"opts": {
"mode": "text-to-video",
"duration": "5",
"quality": "full",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でFlux 3にリクエストする際のパラメータ。
prompt必須image_urlvideo_urlmodedurationqualityresolutionaspect_ratiogenerate_audioimage_file_idimage_base64video_file_idvideo_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
image_url | URL | Public image URL | — | — |
video_url | URL | Public video URL | — | — |
mode | option selection | Text → video (default) · Image → video · Continue a clip | テキスト → 動画 | Text → video: $0.226667/s, Image → video: $0.226667/s, Continue a clip: $0.546667/s |
duration | option selection | 5 (default) · 6 · 8 · 10 · 15 · 20 | 5 | Included in the base price |
quality | option selection | Full (default) · Draft (fast and cheap) | Full | Full: $0.226667/s, Draft (fast and cheap): $0.08/s |
resolution | option selection | 720p (default) · 1080p | 720p | 720p: $0.226667/s, 1080p: $0.386667/s |
aspect_ratio | option selection | Auto (default) · 21:9 · 2:1 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16 | 自動 | Included in the base price |
generate_audio | yes/no | Yes (default) · No | はい | 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 |
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 |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Flux 3の価格
Flux 3の料金: から $0.08 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Resolution and quality — Full, Resolution — 720p, Mode — Text → video, Duration — 5。 このリクエストの料金は$1.133335です。
$0.226667/秒 × 5 秒 = $1.133335
「$0.08から」は最も安価なパラメーターセットを指しており、デフォルトのリクエストの料金ではありません。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
キャンバスflux-3$0.08から / 秒正確な価格
| モード · 品質 \ 解像度 | 720p | 1080p |
|---|---|---|
| テキスト → 動画 · フル | $0.226667 / 秒 | $0.386667 / 秒 |
| テキスト → 動画 · ドラフト(高速・低コスト) | $0.08 / 秒 | — |
| 画像 → 動画 · フル | $0.226667 / 秒 | $0.386667 / 秒 |
| 画像 → 動画 · ドラフト(高速・低コスト) | $0.08 / 秒 | — |
| クリップの続きを生成 · フル | $0.546667 / 秒 | $0.706667 / 秒 |
| クリップの続きを生成 · ドラフト (高速・低コスト) | $0.16 / 秒 | — |
すべての組み合わせ(JSON): /api/media/price-table?model=flux-3
README
Flux 3の機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Flux 3
公開モデル: flux-3
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `image_url` (URL): Public image URL; デフォルト: —
- `video_url` (URL): Public video URL; デフォルト: —
- `mode` (option selection): Text → video (default) · Image → video · Continue a clip; デフォルト: Text → video
- `duration` (option selection): 5 (default) · 6 · 8 · 10 · 15 · 20; デフォルト: 5
- `quality` (option selection): Full (default) · Draft (fast and cheap); デフォルト: Full
- `resolution` (option selection): 720p (default) · 1080p; デフォルト: 720p
- `aspect_ratio` (option selection): Auto (default) · 21:9 · 2:1 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16; デフォルト: Auto
- `generate_audio` (yes/no): Yes (default) · No; デフォルト: Yes
- `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; デフォルト: —
- `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; デフォルト: —
## 公開バリアント
- `flux-3`: CanvasFlux 3 APIに関するよくある質問
Flux 3の料金はいくらですか?
Flux 3の料金はから $0.08 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。