Skip to main content
POST
gemini-omni-flash-preview

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

Must be one of: gemini-omni-flash-preview.

Available options:
gemini-omni-flash-preview
prompt
string
required
duration
integer
image_list
string[]

Conditional limits:

  • Image-to-video supports at most 2 input images: a first frame and an optional last frame. Reduce the input to 2 images or fewer.
resolution
string
size
string

Response

Business response. code=0 means the task was accepted; validation failures can return HTTP 200 with code=400.

code
enum<integer>
required
Available options:
0
Example:

0

data
object
required
msg
string
required
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"