Skip to main content
POST
1.0 and 1.1 share the parameters on this page. To switch models, simply change the model field.
  • gemini_omni_flash_ext — Gemini Omni Flash Ext (1.0)
  • gemini_omni_1_1_flash_ext — Gemini Omni 1.1 Flash Ext

Authorizations

string
required
All endpoints require Bearer Token authentication.Get the API Key:Visit API Key management page to get your API Key.When using it, add the following to the request header:

Body

string
required
Model name, choose one of two:
  • gemini_omni_flash_ext
  • gemini_omni_1_1_flash_ext
Parameter fields are the same; do not pass type.
object
required
Model parameter object.
string
required
Initiator task ID.User-defined task identifier, required. Only letters, numbers, underscores, and hyphens are supported, with a length of 1-64 characters. You can use this ID later to query the task status and results.

Response

string
Caller task ID, can be used to query results.
string
Initial status, usually "pending".
number
Estimated credits consumed by this task.
string
Creation time, ISO format.

Query Task

Both models use asynchronous video generation. After submitting a task, please use out_task_id to query the task status. You can also refer to Get Task Status.
string
required
The initiator task ID passed when submitting the task.
Once the query succeeds and is completed, the output array in the response will contain the generated video, with each element containing a video field.

Parameter Comparison

Request Examples