LogoHypereal AI
ModelsCoding LLMLimitedAgentPricingDocsEnterpriseAffiliate
Start Building
Hypereal AI
  • Models
  • Coding LLM
  • Products
  • GPU Cloud
  • Rent GPU
  • Train Models
  • ComfyUI as API
  • Deploy Any Model
  • Stable Diffusion API
  • Hypereal SDK
  • Agent
  • Pricing
  • Docs
  • Enterprise
  • Affiliate
Back to Blog
TutorialGemini

How to Use Gemini Omni Video via API

Generate 720P text-to-video or image-guided clips with Gemini Omni Flash for $0.17 per clip — no subscription required

Hypereal AI TeamHypereal AI Team
4 min read
May 22, 2026
Last updated: May 23, 2026
How to Use Gemini Omni Video via API

Gemini Omni Flash is Google's affordable video model, available on Hypereal through a simple REST API. It generates 720P video clips from a text prompt, or from a prompt plus 1-3 image references — no subscription needed, and no special client library required.

Key specs:

  • Resolution: 720P
  • Durations: 6 seconds or 10 seconds
  • Aspect ratios: 16:9 (landscape) or 9:16 (portrait)
  • Image input: optional image_urls array with 1-3 uploaded or public image URLs
  • No audio — video only
  • Price: $0.1725 per clip (flat, pay-as-you-go)

New accounts receive free credits, so you can test the endpoint before spending anything.

Step 1: Create a free Hypereal account and API key

Sign up at hypereal.cloud, open the dashboard, and go to Manage API Keys to create your key.

Store it as an environment variable:

export HYPEREAL_API_KEY="ck_..."

Step 2: Generate your first video

Send a POST request to the video generation endpoint with your prompt and parameters:

curl -X POST https://hypereal.cloud/api/v1/videos/generate \
  -H "Authorization: Bearer $HYPEREAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini_omni_flash",
    "prompt": "a white cube rotating on a black background, clean product demo",
    "duration": 6,
    "aspect_ratio": "16:9",
    "resolution": "720P",
    "image_urls": [
      "https://your-cdn.com/product-reference.png"
    ]
  }'

The API returns a job ID and a poll URL:

{
  "jobId": "job_abc123",
  "pollUrl": "https://hypereal.cloud/api/v1/jobs/job_abc123"
}

Video generation is asynchronous. Save the pollUrl and use it in the next step to retrieve the result.

Step 3: Parameters — duration, resolution, and aspect ratio

Parameter Allowed values Notes
model gemini_omni_flash Required
prompt any string Describe what happens in the video
duration 6 or 10 Seconds; defaults to 6
resolution 720P Only supported resolution
aspect_ratio 16:9 or 9:16 Landscape or portrait
image_urls 1-3 image URLs Optional uploaded or public image URLs for image-guided video

Use 16:9 for product demos, scenes, and landscape shots. Use 9:16 for mobile-first or social vertical clips.

For local images, upload the file first and pass the returned URL in image_urls. Direct base64 image payloads are not supported for Gemini Omni Flash video.

Step 4: Poll for the result

The generation typically completes within 30–90 seconds. Poll the job URL until status is "completed":

curl https://hypereal.cloud/api/v1/jobs/job_abc123 \
  -H "Authorization: Bearer $HYPEREAL_API_KEY"

Response when done:

{
  "jobId": "job_abc123",
  "status": "completed",
  "output": {
    "url": "https://cdn.hypereal.cloud/videos/job_abc123.mp4"
  }
}

The url field contains a direct link to the generated MP4 file. Download it or embed it directly.

A simple polling loop in Node.js:

const delay = ms => new Promise(r => setTimeout(r, ms));

async function waitForVideo(jobId, apiKey) {
  const pollUrl = `https://hypereal.cloud/api/v1/jobs/${jobId}`;
  while (true) {
    const res = await fetch(pollUrl, {
      headers: { Authorization: `Bearer ${apiKey}` },
    });
    const data = await res.json();
    if (data.status === 'completed') return data.output.url;
    if (data.status === 'failed') throw new Error('Generation failed');
    await delay(5000);
  }
}

Pricing

Model Price per clip Duration options Resolution
gemini_omni_flash $0.1725 6 s or 10 s 720P

Billing is pay-as-you-go — you are charged per clip, not per second. A 10-second clip costs the same as a 6-second clip. There is no monthly subscription required to use this model.

Free trial credits are enough to generate your first few clips. Top up general credits from the dashboard when you need more volume.

When to use Gemini Omni Flash

Gemini Omni Flash is a good fit when you need:

  • Short product or concept demos — 6-second clips work well for landing pages and ads
  • Image-guided motion — attach product, character, or style references with image_urls
  • Prototyping — at $0.17/clip it is affordable to iterate on a prompt without committing to a premium model
  • Vertical social content — the 9:16 mode is ready for Reels and Shorts without any cropping
  • Batch pipelines — the flat-rate pricing makes cost estimation straightforward for automated workflows

For longer clips or scenes requiring audio, look at the Veo 3.1 endpoints on Hypereal. For Gemini Omni Flash, the sweet spot is fast, affordable 720P clips at volume.

Related Posts

How to Use Gemini 3.5 Thinking and Fast API for Free

How to Use Gemini 3.5 Thinking and Fast API for Free

3 min read

How to Use ChatGPT Image Editor With No Restrictions

How to Use ChatGPT Image Editor With No Restrictions

7 min read

How to Use the GPT Image 2 API for 50% Off

How to Use the GPT Image 2 API for 50% Off

4 min read

On this page

  • Step 1: Create a free Hypereal account and API key
  • Step 2: Generate your first video
  • Step 3: Parameters — duration, resolution, and aspect ratio
  • Step 4: Poll for the result
  • Pricing
  • When to use Gemini Omni Flash
Desktop agent

Download Hypereal Agent

Run a local AI media workspace for image generation, video prompts, model selection, credit tracking, and saved artifacts.

MacWindows
v0.1.1Requires a hypereal.cloud API keyRelease manifest
Hypereal Agent desktop app screenshot

Start Building Today

Start building now
Logo
Hypereal AIExplore Curiosity
TwitterGitHubLinkedInYouTubeEmail
Infrastructure
  • Rent GPU
  • Train Models
  • ComfyUI as API
  • Deploy Any Model
  • Explore Catalog
  • Infrastructure Docs
  • GPU Logs
  • Pricing
LLM API
  • Hypereal SDK
  • Enterprise API
  • Coding Credits
  • All LLM Models
  • Claude Opus 4.7
  • Claude Sonnet 4.6
  • GPT-5.5
  • Claude Haiku 4.5
  • GPT-5.5 Pro
  • GPT-5.3 Codex
  • Gemini 3.1 Pro Preview
  • Gemini 3.5 Thinking
  • Gemini 3.5 Fast
  • DeepSeek V4 Pro
  • Kimi K2.6
  • GLM-5.1
AI API
  • AI API Overview
  • Seedance 2.0 API
  • Kling 3.0 API
  • Veo 3.1 API
  • FLUX API
  • GPT Image 2 API
  • vs WaveSpeed
  • vs fal.ai
  • vs Replicate
  • vs KIE.ai
  • Higgsfield Alternative
  • OpenRouter Alternative
Video Models
  • Google Veo 3.1 API
  • Kling 3.0 API
  • Kling O3 Pro API
  • Seedance 2.0 API
  • HappyHorse 1.0 API
  • WAN 2.7 API
  • WAN Video API
  • Grok Video API
  • Hunyuan Video API
  • PixVerse V6 API
  • Pika Video API
  • Luma Dream Machine API
  • MiniMax Video API
  • Vidu Video API
Image Models
  • NanoBanana 2 API
  • FLUX 2 API
  • GPT Image 1 API
  • Grok Image API
  • SeeDream V5 API
  • Imagen 4 API
  • Ideogram API
  • Recraft API
  • DALL-E 3 API
  • Stable Diffusion API
  • Gemini Image API
Tools
  • Face Swap API
  • Video Face Swap API
  • Virtual Try-On API
  • Image Upscaler API
  • Video Upscaler API
  • AI Talking Avatar API
  • Lip Sync API
  • OmniHuman Avatar API
  • Tripo3D H3.1 API
  • ElevenLabs TTS API
  • Fish Audio TTS API
  • Whisper STT API
  • Lyria Music API
Generators
  • Hypereal Agent
  • AI Image Generator
  • AI Video Generator
  • AI Avatar Generator
  • AI Audio Generator
  • AI 3D Generator
  • AI Tools
  • Image Upscaler
  • Video Upscaler
Collections
  • Best Video Models
  • Best Image Models
  • Seedance 2.0
  • WAN 2.7
  • Qwen Image 2
  • Grok AI
  • Seedance 1.5
  • Motion Control
  • Content Detection
  • Object Detection
Company
  • About
  • Docs
  • Hypereal SDK
  • Cookbook
  • Blog
  • Changelog
  • Contact
  • FAQ
  • Tips & Tutorials
  • Roadmap
  • Enterprise
  • Affiliate Program
  • Platform
  • Developer Program
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Pricing
  • All Models
  • Sitemap
  • Status
All systems normal
•Built from California with Love ❤️
© Copyright 2026. All Rights Reserved.