Video
Gemini Omni Flash 1.2
Gemini Omni Flash 1.2 is Google's multimodal video model. This endpoint generates video with synchronized native audio from a text prompt, at 360p, 720p, 1080p, or 4K, in 16:9 or 9:16, with durations from 3 to 15 seconds.
- Text to video
- Image to video
- Video editing
Catalog preview.
Technical details
Supported inputs
google/gemini-omni-flash/v1.2/text-to-video
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
prompt | Text | Required | Max. characters: 20000 |
aspect_ratio | Text | Optional | 16:9, 9:16 |
duration | Whole number | Optional | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · ≥ 3 · ≤ 15 |
resolution | Text | Optional | 360p, 720p, 1080p, 4k |
Other modes and their inputs
Image to videogoogle/gemini-omni-flash/v1.2/image-to-video
Supported inputs
google/gemini-omni-flash/v1.2/image-to-video
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
image_url | Text | Required | — |
prompt | Text | Required | Max. characters: 20000 |
aspect_ratio | Text | Optional | 16:9, 9:16 |
duration | Whole number | Optional | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · ≥ 3 · ≤ 15 |
end_image_url | Text | Optional | — |
resolution | Text | Optional | 360p, 720p, 1080p, 4k |
reference-to-videogoogle/gemini-omni-flash/v1.2/reference-to-video
Supported inputs
google/gemini-omni-flash/v1.2/reference-to-video
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
prompt | Text | Required | Max. characters: 20000 |
aspect_ratio | Text | Optional | 16:9, 9:16 |
duration | Whole number | Optional | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · ≥ 3 · ≤ 15 |
image_urls | List | Optional | Max. items: 10 |
reference_video_urls | List | Optional | Max. items: 3 |
resolution | Text | Optional | 360p, 720p, 1080p, 4k |
Video editinggoogle/gemini-omni-flash/v1.2/edit
Supported inputs
google/gemini-omni-flash/v1.2/edit
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
prompt | Text | Required | Max. characters: 20000 |
video_url | Text | Required | — |
resolution | Text | Optional | 360p, 720p, 1080p, 4k |
Video extensiongoogle/gemini-omni-flash/v1.2/extend
Supported inputs
google/gemini-omni-flash/v1.2/extend
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
prompt | Text | Required | Max. characters: 20000 |
video_url | Text | Required | — |
duration | Whole number | Optional | 3, 4, 5, 6, 7, 8, 9, 10 · ≥ 3 · ≤ 10 |
resolution | Text | Optional | 360p, 720p, 1080p, 4k |
Video upscalinggoogle/gemini-omni-flash/v1.2/upscale
Supported inputs
google/gemini-omni-flash/v1.2/upscale
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
video_url | Text | Required | — |
resolution | Text | Optional | 720p, 1080p, 4k |