Is omni-flash a standard Gemini conversational model?
No. The omni-flash here is designed for video creation: submit text and optional assets through POST /gemini/videos to receive video results. It is not a Gemini Flash model that returns regular text answers through a conversational interface; during development, organize inputs, status queries, and result storage around video tasks.
Can I generate a video with just one image?
Yes. You can submit an image link through image_urls and also provide the required prompt. We recommend clearly describing how the subject should move, how the camera should move, and which visual characteristics should be maintained. Images are used to guide generation; do not simply write “make it move,” or it will be difficult to convey the shot effect you actually need.
What assets are needed to modify an existing video?
You need to submit a video link in video_urls, provide at least one reference image in image_urls, and use prompt to describe the desired modifications. You can make requests around style, scene, or visual elements, and should also specify the layout that needs to be preserved. Sending only a video without an image does not meet this workflow's input requirements.
Can I choose portrait orientation and 1080p output?
Yes. aspect_ratio supports 16:9 and 9:16, and resolution supports 720p and 1080p, with defaults of 16:9 and 720p respectively. We recommend determining the delivery aspect ratio before creation, especially the subject position and camera movement direction, to avoid cropping after generation that causes the composition to deviate from the original intent.
How do I retrieve a video after asynchronous generation?
After setting async to true, save the returned task_id and submit a query request to /gemini/tasks using that value as the id; you can also set callback_url to receive completion notifications. After the task succeeds, read the video_url in the result and download and save it. Continue waiting if it is still pending, and check the error information if it fails.