← Back to all models
Models
Gemini Omni Flash
omni-flash
VideoTry it →
Omni video: text · image · first/last frame, 6/8/10s.
POST/v1/videos
- Modes
- text→video · img→video · first/last frame
- Size
- 16:9 or 9:16 (from size orientation), e.g. 1280x720 / 720x1280
- Seconds
- discrete 6 / 8 / 10 (default 8)
- Refs
- optional; 1–2 for first/last frame (first + optional last)
- Billing
- per resolution · per second (tier 720p/1080p, price/sec × seconds)
Model notes
- Duration is set by seconds; only 6 / 8 / 10 are allowed (default 8; other values return 400).
- tier sets resolution and billing (720p / 1080p); aspect ratio inferred from size orientation (16:9 / 9:16).
- No reference_images ⇒ text-to-video; with them ⇒ image-to-video.
- First/last frame: set metadata.first_last_frame=true and pass 1–2 reference_images (1st = first frame, 2nd = last frame, order-sensitive); priced as image-to-video.
- Billed per resolution · per second: total = per-second price for the resolution × seconds.
Request example
json
{
"model": "omni-flash",
"prompt": "a neon fox running through a city at night",
"tier": "720p",
"size": "1280x720",
"seconds": 8
}