curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-i2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "The cat slowly blinks and looks around",
"image": "https://example.com/first-frame.jpg"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-i2v-001",
"model_id": "google/gemini-omni-1.2-flash-i2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-i2v-001"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'prompt' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Gemini Omni 1.2 Flash I2V
Image-to-video generation for animating product imagery, characters, and visual concepts. A starting image anchors the opening frame, and an optional ending image guides the transition while the model generates synchronized audio.
POST
/
google
/
gemini-omni-1.2-flash-i2v
curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-i2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "The cat slowly blinks and looks around",
"image": "https://example.com/first-frame.jpg"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-i2v-001",
"model_id": "google/gemini-omni-1.2-flash-i2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-i2v-001"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'prompt' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Body
application/json
Animate an image, optionally specifying the final frame.