Gemini Omni1.2 フラッシュ
Teks ke VideoGambar ke VideoReferensi ke videoDari $0.023 / S
Gemini Omni 1.2 Flashは、ネイティブオーディオ、より強力なリファレンス一貫性、会話の洗練機能を備え、最大15秒のビデオを作成および編集します。
Masukan
Mode
Lengkapi kolom yang wajib diisi untuk melihat harga.
Text To Video · 360p · 5s
Keluaran
Menganggur| Durasi | Resolusi | Jenis | Harga |
|---|---|---|---|
| output second | 360p | Gambar ke Video | $0.023 / s |
| Referensi ke video | $0.023 / s | ||
| Teks ke Video | $0.023 / s | ||
| 720p | Gambar ke Video | $0.07 / s | |
| Gambar ke Video | $0.0552 / s | ||
| Referensi ke video | $0.07 / s | ||
| Referensi ke video | $0.0552 / s | ||
| Teks ke Video | $0.07 / s | ||
| Teks ke Video | $0.0552 / s | ||
| 1080p | Gambar ke Video | $0.104 / s | |
| Gambar ke Video | $0.1464 / s | ||
| Gambar ke Video | $0.0918 / s | ||
| Referensi ke video | $0.104 / s | ||
| Referensi ke video | $0.1464 / s | ||
| Referensi ke video | $0.0918 / s | ||
| Teks ke Video | $0.104 / s | ||
| Teks ke Video | $0.1464 / s | ||
| Teks ke Video | $0.0918 / s | ||
| 4K | Gambar ke Video | $0.209 / s | |
| Gambar ke Video | $0.3294 / s | ||
| Referensi ke video | $0.209 / s | ||
| Referensi ke video | $0.3294 / s | ||
| Teks ke Video | $0.209 / s | ||
| Teks ke Video | $0.3294 / s |
* Biaya sebenarnya didasarkan pada hasil akhir.
Titik akhir
POST
https://pollo.ai/api/platform/v1/generation/google/gemini-omni-1-2-flash/videoMode
Autentikasi
Sertakan kunci API Anda di header permintaan x-api-key.
x-api-key: YOUR_API_KEYLihat Kunci APIKirim Tugas
Buat tugas pembuatan model.
Meminta
curl -X POST 'https://pollo.ai/api/platform/v1/generation/google/gemini-omni-1-2-flash/video' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"input": {
"prompt": "A close-up of raindrops rippling across a still pond in slow motion, natural daylight",
"aspectRatio": "16:9",
"duration": 5,
"resolution": "360p"
}
}'Respons (200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"status": "pending"
}Periksa Status
Lakukan polling pada endpoint status tugas hingga proses pembuatan selesai.
Permintaan HTTP
GET /api/platform/v1/generation/{taskId}/status HTTP/1.1
Host: pollo.ai
x-api-key: YOUR_API_KEYRespons (200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"credit": 12,
"costUsd": 0.12,
"generations": [
{
"id": "generation_01",
"createdDate": "2026-07-13T07:00:00.000Z",
"updatedDate": "2026-07-13T07:00:12.000Z",
"status": "succeeded",
"failMsg": null,
"url": "https://example.com/output.mp4",
"mediaType": "video"
}
]
}Webhook
Secara opsional, sertakan webhookUrl untuk menerima panggilan balik ketika tugas berhasil atau gagal.
Kolom permintaan opsional
{
"input": {
"prompt": "A close-up of raindrops rippling across a still pond in slow motion, natural daylight",
"aspectRatio": "16:9",
"duration": 5,
"resolution": "360p"
},
"webhookUrl": "https://example.com/webhooks/pollo"
}Skema
Kolom input untuk endpoint dan mode yang dipilih.
| Bidang | Jenis | Diperlukan | Deskripsi |
|---|---|---|---|
| prompt | string | Ya | Text prompt describing the content to generate. |
| aspectRatio | string | TIDAK | Output aspect ratio, as width:height (e.g. 16:9). |
| duration | integer | TIDAK | The duration of the generated video, in seconds. |
| resolution | string | TIDAK | Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive. |
Kesalahan
Kode respons API publik umum.
- 400
- Masukan atau batasan model tidak valid
- 401
- Kunci API hilang atau tidak valid
- 403
- Kunci API tidak memiliki akses
- 404
- Model atau tugas tidak ditemukan
モデルのドキュメントは近日公開予定です。