gemini-omni-flash-1-2デフォルト最安Gemini Omni Flash 1.2 API — 接続と支払いの方法
Gemini Omni 1.2 Flash(Google)— テキスト、最初と最後のフレーム、またはリファレンスから最大15秒の動画を生成。360p/720p/1080p/4K、16:9または9:16。ネイティブ音声:音声、音楽、効果音が自動生成される。音声入力は受け付けない。解像度ごとの出力秒数単位で課金。
チャネル比較
過去7日間
gemini-omni-flash-1-2:white| チャネル | 価格 |
|---|---|
Pixel gemini-omni-flash-1-2デフォルト最安 | $0.025714から / 秒 |
White gemini-omni-flash-1-2:white | $0.028571から / 秒 |
必要な結果を作成
gemini-omni-flash-1-2Gemini Omni Flash 1.2とは
Gemini Omni 1.2 Flash(Google)— テキスト、最初と最後のフレーム、またはリファレンスから最大15秒の動画を生成。360p/720p/1080p/4K、16:9または9:16。ネイティブ音声:音声、音楽、効果音が自動生成される。音声入力は受け付けない。解像度ごとの出力秒数単位で課金。
契約の概要
- 入力
- text, image
- 出力
- video
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大600秒
強み
- 料金:秒単位
- 入力:テキスト、画像
- 設定可能なオプション:7個
- メディア生成用のAPIキー1つ
用途
- ソーシャルメディア向けクリップ
- プロモーションおよびタイトルシーケンス
- 静止画のアニメーション化
- 絵コンテおよびアニマティクス
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- text, image
- 出力
- 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":"gemini-omni-flash-1-2","prompt":"a beautiful landscape","opts":{"input":"text-to-video","aspect_ratio":"16:9","duration":"5","resolution":"720p"}}'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": "gemini-omni-flash-1-2",
"prompt": "a beautiful landscape",
"opts": {
"input": "text-to-video",
"aspect_ratio": "16:9",
"duration": "5",
"resolution": "720p"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でGemini Omni Flash 1.2にリクエストする際のパラメータ。
prompt必須image_urlinputaspect_ratiodurationresolutionlast_frame_urlcharacter_idsimage_file_idimage_base64last_frame_file_idimage_urls必須input_file_ids| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
image_url | URL | Public image URL | — | — |
input | option selection | Text → video (default) · Image → video · Reference → video | テキスト → 動画 | Included in the base price |
aspect_ratio | option selection | 16:9 (default) · 9:16 | 16:9 | Included in the base price |
duration | option selection | 3 · 4 · 5 (default) · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 | 5 | 3: $0.057857/s, 4: $0.057857/s, 5: $0.057857/s, 6: $0.057857/s, 7: $0.057857/s, 8: $0.057857/s, 9: $0.057857/s, 10: $0.057857/s, 11: $0.057857/s, 12: $0.057857/s, 13: $0.057857/s, 14: $0.057857/s, 15: $0.057857/s |
resolution | option selection | 360p · 720p (default) · 1080p · 4K | 720p | 360p: $0.025714/s, 720p: $0.057857/s, 1080p: $0.064286/s, 4K: $0.141429/s |
last_frame_url | text / number | any value | — | Included in the base price |
character_ids | Array<strings>, 1–2 items | 1–2 items | — | 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 |
last_frame_file_id | text | Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_urls必須 | Array<URLs>, 1–10 items | Public HTTP(S) URLs | required | Included in the base price |
input_file_ids | Array<strings> | List of values | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Gemini Omni Flash 1.2の価格
Gemini Omni Flash 1.2の料金: から $0.025714 per second。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
デフォルトのリクエストにかかる料金
パラメーターを指定しない場合、リクエストには次の値が使用されます: Duration — 5, Resolution — 720p, Source material — Text → video, Frame format — 16:9。 このリクエストの料金は$0.289286です。
「$0.025714から」は最も安価なパラメーターセットを指しており、デフォルトのリクエストの料金ではありません。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Pixelgemini-omni-flash-1-2$0.025714から / 秒正確な価格
| 解像度 | 360p | 720p | 1080p | 4K |
|---|---|---|---|---|
| Pixel | $0.025714 / 秒 | $0.057857 / 秒 | $0.064286 / 秒 | $0.141428–$0.141429 / 秒 |
すべての組み合わせ(JSON): /api/media/price-table?model=gemini-omni-flash-1-2
Whitegemini-omni-flash-1-2:white$0.028571から / 秒正確な価格
| 解像度 | 360p | 720p | 1080p | 4K |
|---|---|---|---|---|
| White | $0.028571–$0.028572 / 秒 | $0.085714 / 秒 | $0.129143 / 秒 | $0.258286 / 秒 |
すべての組み合わせ(JSON): /api/media/price-table?model=gemini-omni-flash-1-2%3Awhite
README
Gemini Omni Flash 1.2の機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Gemini Omni Flash 1.2
公開モデル: gemini-omni-flash-1-2
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `image_url` (URL): Public image URL; デフォルト: —
- `input` (option selection): Text → video (default) · Image → video · Reference → video; デフォルト: Text → video
- `aspect_ratio` (option selection): 16:9 (default) · 9:16; デフォルト: 16:9
- `duration` (option selection): 3 · 4 · 5 (default) · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15; デフォルト: 5
- `resolution` (option selection): 360p · 720p (default) · 1080p · 4K; デフォルト: 720p
- `last_frame_url` (text / number): any value; デフォルト: —
- `character_ids` (Array<strings>, 1–2 items): 1–2 items; デフォルト: —
- `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; デフォルト: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `image_urls` (Array<URLs>, 1–10 items): Public HTTP(S) URLs; デフォルト: required
- `input_file_ids` (Array<strings>): List of values; デフォルト: —
## 公開バリアント
- `gemini-omni-flash-1-2`: Pixel
- `gemini-omni-flash-1-2:white`: WhiteGemini Omni Flash 1.2 APIに関するよくある質問
Gemini Omni Flash 1.2の料金はいくらですか?
Gemini Omni Flash 1.2の料金はから $0.025714 per secondです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。