Gemini Omni Flash APINew

$12.00/1M tokens

Video with native audio from text, reference images or a first and last frame, from 360p to 4K.

360p to 4k3 to 15 sFirst and last frameUp to 6 references

Call Gemini Omni Flash

The request below mirrors the Playground tab. Change a setting there and this code follows. You need a key first: create an API key.

curl -X POST https://api.letsfliq.com/v1/videos \
  -H "Authorization: Bearer $FLIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-omni-1.2-flash",
    "prompt": "A chef flips vegetables in a flaming wok, sparks and steam rising in a busy night kitchen",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "seconds": 10
  }'

Parameters

modelstringDefault gemini-omni-1.2-flash
Model ID, same as the official one
promptstring
What to generate.
aspect_ratiostringDefault 16:9
16:9, 9:16
resolutionstringDefault 720p
360p, 720p, 1080p, 4k
secondsintegerDefault 10
3 to 15
input_referencestring
One image file, as URLs
last_framestring
One image file, as URLs; needs input_reference
reference_imagesarray
Up to 6 image files, as URLs

Getting the result

  • POST /v1/videos returns the video's id straight away. Its status moves from queued to in_progress to completed, failed or expired.
  • Read it with GET /v1/videos/{id} until it ends; a completed video carries its url.
  • Result files are kept for 7 days. Save the file to your own storage.

Pricing

ModelSettingPriceBilled forDiscount
Gemini Omni FlashNew360p$12.00/1M tokensOutput video tokens1,931 tokens per secondOutput video tokens1,931 tokens per second
Gemini Omni Flash720p$12.00/1M tokensOutput video tokens5,792 tokens per secondOutput video tokens5,792 tokens per second
Gemini Omni Flash1080p$12.00/1M tokensOutput video tokens8,688 tokens per secondOutput video tokens8,688 tokens per second
Gemini Omni Flash4k$12.00/1M tokensOutput video tokens17,376 tokens per secondOutput video tokens17,376 tokens per second
Gemini Omni FlashAny$1.50/1M tokensInput text tokensInput text tokens
Gemini Omni FlashAny$1.50/1M tokensInput image tokensInput image tokens