curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-v2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Change the scene to a snowy winter night",
"video": "https://example.com/source.mp4"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-v2v-001",
"model_id": "google/gemini-omni-1.2-flash-v2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-v2v-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 V2V
Prompt-driven video editing for restyling scenes, changing lighting, and revising visual details in existing footage. Optional image references guide the transformation while the output follows the source clip’s duration and aspect ratio.
POST
/
google
/
gemini-omni-1.2-flash-v2v
curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-v2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Change the scene to a snowy winter night",
"video": "https://example.com/source.mp4"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-v2v-001",
"model_id": "google/gemini-omni-1.2-flash-v2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-v2v-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
Edit a source video while retaining its length and aspect ratio.