Docs / video / Veo 3.1 Quality
Veo 3.1 Quality online
Varian flagship Veo 3.1 untuk fidelitas visual tertinggi dan audio sinematik.
Rp Rp20.620 / video 8 detik
Rp22.910 −10%
⏱ ±60–900 detik perkiraan waktu
google/veo-3.1-quality model id
Kualitas tertinggiAudio native8 detikPortrait dan landscape
1 · Create a task
Kirim permintaan untuk membuat tugas generasi video. Wajib header Idempotency-Key. Saldo direservasi Rp20.620; task gagal tidak ditagih.
curl -X POST https://getrun.id/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: my-task-001" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3.1-quality",
"input": {
"prompt": "An astronaut walking through a field of bioluminescent flowers at night, sweeping crane shot, cinematic soundscape.",
"duration": 8,
"aspect_ratio": "16:9"
}
}'const res = await fetch('https://getrun.id/v1/tasks', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': 'my-task-001',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "google/veo-3.1-quality",
"input": {
"prompt": "An astronaut walking through a field of bioluminescent flowers at night, sweeping crane shot, cinematic soundscape.",
"duration": 8,
"aspect_ratio": "16:9"
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://getrun.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "google/veo-3.1-quality",
"input": {
"prompt": "An astronaut walking through a field of bioluminescent flowers at night, sweeping crane shot, cinematic soundscape.",
"duration": 8,
"aspect_ratio": "16:9"
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
prompt |
string | Yes | Describe the scene, action, camera movement, dialogue, and audio you want. (max 20000 chars) | An astronaut walking through a field of biolum |
duration |
integer | No | Video duration in seconds. Opsi: 8 |
8 |
aspect_ratio |
string | No | 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": "google/veo-3.1-quality",
"price": {
"currency": "IDR",
"estimated": 20620,
"reserved": 20620,
"final": 20620
},
"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.
