Docs / video / Gemini Omni Video
Gemini Omni Video online
Google's multimodal video model — combine text, reference images, audio, and a video clip in one generation, up to 4K.
Rp Mulai Rp5.090 / video
Rp8.980 −43.3%
gemini-omni-video/base model id
1 · Create a task
Kirim permintaan untuk membuat tugas generasi video. Wajib header Idempotency-Key. Saldo direservasi sebesar estimasi; task gagal tidak ditagih.
curl -X POST https://run.getcore.id/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: my-task-001" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-omni-video/base",
"input": {
"prompt": "Add harp sounds synchronized to when I touch each fern leaf. Change the leaf structure to all resemble semi translucent 3d bioluminescent plant life, with bioluminescent fireflies flying around it that react as I play, in sync with the sounds, subtle bokeh depth of field dynamic lighting, relecting off the walls in the room, keeping the room structure the same",
"duration": "8",
"resolution": "720p",
"aspect_ratio": "16:9"
}
}'const res = await fetch('https://run.getcore.id/v1/tasks', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': 'my-task-001',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "gemini-omni-video/base",
"input": {
"prompt": "Add harp sounds synchronized to when I touch each fern leaf. Change the leaf structure to all resemble semi translucent 3d bioluminescent plant life, with bioluminescent fireflies flying around it that react as I play, in sync with the sounds, subtle bokeh depth of field dynamic lighting, relecting off the walls in the room, keeping the room structure the same",
"duration": "8",
"resolution": "720p",
"aspect_ratio": "16:9"
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://run.getcore.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "gemini-omni-video/base",
"input": {
"prompt": "Add harp sounds synchronized to when I touch each fern leaf. Change the leaf structure to all resemble semi translucent 3d bioluminescent plant life, with bioluminescent fireflies flying around it that react as I play, in sync with the sounds, subtle bokeh depth of field dynamic lighting, relecting off the walls in the room, keeping the room structure the same",
"duration": "8",
"resolution": "720p",
"aspect_ratio": "16:9"
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
seed |
integer | No | Random seed. Range: [0, 2147483647]. If not specified, the system generates a seed automatically. Fixing the seed can improve reproducibility, but results may still vary due to the model’s stochasticity. | 0 |
prompt |
string | Yes | Describe the image you want to generate. (max 20000 chars) | Add harp sounds synchronized to when I touch e |
duration |
string | No | Note: when video input is provided, the output duration is determined by the model automatically. This duration parameter will not take effect. Opsi: 4 6 8 10 |
8 |
image_urls |
array | No | Reference images. The base limit is 7; a video uses 2 image slots and each character_id uses 1 image slot. (array of file URLs) | — |
resolution |
string | No | Output video resolution. Valid values: 720P(default), 1080P, 4k. Opsi: 720p 1080p 4k |
720p |
video_list |
array | No | Klip video referensi (maks 1). Tiap item {url, start, ends}; potongan maksimum 10 detik. Dengan video, harga menjadi flat per generation. | — |
aspect_ratio |
string | No | Video ratio Opsi: 16:9 9:16 |
16:9 |
2 · Poll the result
Ambil status tugas hingga selesai — poll tiap 2–5 detik.
Respons saat sukses:
{
"id": "task_9f2c…",
"status": "succeeded",
"model": "gemini-omni-video/base",
"price": {
"currency": "IDR",
"estimated": 5090,
"reserved": 5090,
"final": 5090
},
"output": {
"urls": [
"https://storage.getcore.id/outputs/task_9f2c…/0.mp4"
],
"expires_at": "(7 hari setelah selesai)"
}
}
Status values
| Status | Keterangan |
|---|---|
queued | Tugas sedang diantrikan. |
processing | Sedang diproses. |
succeeded | Berhasil. |
failed | Gagal — lihat error detail, tidak ditagih. |
video/mp4, dilayani dari CDN kami dan berlaku 7 hari — salin ke penyimpananmu sendiri untuk jangka panjang.Best practices
Bila generation gagal, task berstatus failed dengan error.code ternormalisasi (mis. moderation_blocked, upstream_error) dan price.final = 0 — saldo dikembalikan otomatis. Daftar lengkap kode error ada di Error handling. Selalu kirim Idempotency-Key unik per tugas agar retry aman.
Coba tanpa kode: jalankan model ini langsung dari Playground atau lihat di API Market.
