curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-r2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Create a short scene featuring the subjects in the reference images",
"referenceImages": [
"https://example.com/subject.jpg"
]
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-r2v-001",
"model_id": "google/gemini-omni-1.2-flash-r2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-r2v-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 R2V
Reference-guided video generation for carrying visual appearance and motion ideas into new scenes. It combines image and video references with a text prompt for character concepts, product scenes, and mixed-reference storyboards.
POST
/
google
/
gemini-omni-1.2-flash-r2v
curl --request POST \
--url https://api.modellix.ai/api/v1/google/gemini-omni-1.2-flash-r2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Create a short scene featuring the subjects in the reference images",
"referenceImages": [
"https://example.com/subject.jpg"
]
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-omni12-r2v-001",
"model_id": "google/gemini-omni-1.2-flash-r2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-omni12-r2v-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
- Option 1
- Option 2
Generate a video using reference images, reference videos, or both.