Gemini Omni

API Quickstart

Make your first generation in under 5 minutes.

1.Get an API key

API access requires a Pro or Premium plan. Once subscribed, create a key at /api-keys. Copy the key it's only shown once.

2.Submit a generation

cURL
curl -X POST https://googlegeminiomni.com/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-omni-video",
    "prompt": "A sunset over the ocean, cinematic 4K",
    "resolution": "1080P",
    "duration": 8
  }'
Node.js
const res = await fetch('https://googlegeminiomni.com/api/v1/generate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'gemini-omni-video',
    prompt: 'A sunset over the ocean, cinematic 4K',
    resolution: '1080P',
    duration: 8,
  }),
});
const job = await res.json();
console.log(job.id); // e.g., "job_abc123"

Response (202 Accepted)

{"id": "job_abc123", "status": "queued", "creditsQueued": 150}

3.Poll for the result

cURL
curl https://googlegeminiomni.com/api/v1/jobs/job_abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"

# While processing: {"status": "processing"}
# On completion:
# {
#   "status": "done",
#   "resultUrls": ["https://cdn.../output.mp4"],
#   "creditsUsed": 150
# }

Most jobs complete in 30–90 seconds. Poll every 5–10 seconds. For async workflows, use webhooks instead see /docs/webhooks.