curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-video-extend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Continue the camera movement as the subject walks out of frame",
"video": "https://example.com/source.mp4"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-video-extend-001",
"model_id": "google/gemini-omni-1.2-flash-video-extend",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-video-extend-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 Video Extend
Video continuation for extending an action, continuing a camera move, or completing a short scene. It uses the source ending and optional image references to generate a new segment and returns it joined to the retained source footage.
POST
/
google
/
gemini-omni-1.2-flash-video-extend
curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-video-extend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Continue the camera movement as the subject walks out of frame",
"video": "https://example.com/source.mp4"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-video-extend-001",
"model_id": "google/gemini-omni-1.2-flash-video-extend",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-video-extend-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
Continue a video with a new 3 to 10 second segment.