Skip to main content
POST
Gemini Omni Video
Create a multimodal video generation task using the gemini-omni-video model.

Create a Video Generation Task

Authentication

Quota

The system provides 7 quota units for content inputs. Constraint: (images) + (videos × 2) ≤ 7

Examples

  • 1 video + leaving 2 image slots.
  • With no videos, up to 7 images can be supplied.

Request

Parameters

string
required
Must be gemini-omni-video.

input Parameters

object
required
The input object contains the parameters used to generate the video.
string
required
Use prompt to describe the video content, style, camera and character action you want to generate in video.Maximum length: 20,000 characters.
string[]
Use the provided image URLs for characters, scenes, styles, or storyboard guidance.
The image_urls must contain the URL of an uploaded image. The value must be an uploaded file URL, not the file content itself.
Supported image constraints:
  • Maximum file size: 20 MB
  • Maximum file: 7
object[]
Use the provided each video url defines a source video and the trim range to use during generation. .
The video_list must contain the URL of an uploaded video. The value must be an uploaded file URL, not the file content itself.
  • Each file maximum size: 100 MB.
  • Total duration of all videos not exceeding 30 seconds.
  • ends should be greater than start
  • Trim range must not exceed 10 seconds.
  • Maximum 1 video.
string
required
Video URL for the generation.
number
required
Start time in seconds.
  • Must be >=0.
number
required
End time in seconds.Note: It should be greater than start.The difference between the end time and the start time must not exceed 10s
  • Must be >=0.
number
When video input is provided, the model determines the output duration automatically and duration does not take effect.Allowed values: 4, 6, 8, 10.
string
default:"16:9"
The aspect ratio of the generated video.Supported values: 16:9 and 9:16. Default: 16:9
string
Specify the resolution of the generated video.Supported values:
  • 720p
  • 1080p
  • 4k
Default: 720p
number
The seed can be used to reproduce results.
  • Minimum: 0
  • Maximum: 2147483647

Successful Response

number
Response status code.
string
Response message. Contains the error description when the request fails.Example: success
object
required
The task data object containing task id.
string
required
The unique identifier for this task.Example: task_123456
Use the returned taskId with the unified Get Task Details endpoint to check progress and retrieve results.

Get Task Details

Check task status, monitor generation progress, and retrieve results.