⌘K

Gemini Omni Flash Preview

gemini_omni_flash_preview

Gemini Omni Flash Preview supports asynchronous text-to-video generation and returns video content after task completion.

API Tips

This model uses an asynchronous task workflow. Create a task, poll the returned id, and read the video result from output after completion.

Authentication

authorization string required

All APIs require Bearer Token authentication.

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request.

Value: gemini_omni_flash_preview


input array required

Generation parameters. Put business parameters in input[0].params.


input[0].params object required

Model generation parameters.


prompt string required

Text prompt describing the expected video content.

Polling

Continue polling while the task status is in_progress. When the status is completed, read the video URL from output[].content[].

Response Format

output array

Generated result array returned after task completion.

content array

Generated content array.

type string

Content type.

Value: video

url string

URL of the generated video.