curl --request POST \
--url https://api.modellix.ai/api/v1/google/veo-3.1-t2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A majestic eagle soaring over snow-capped mountain peaks at sunrise"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-t2v001",
"model_id": "google/veo-3.1-t2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-t2v001"
}
}
}{
"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"
}Veo 3.1 T2V
[Core Function] Veo 3.1 T2V is Google’s state-of-the-art cinematic text-to-video engine. [Strengths] It natively generates 4K professional-grade video output with natively synchronized audio and supports complex camera movements. [Best For] Highly recommended for: high-end creative storytelling, cinematic short films, and experimental video production with sound. [Limitations] Do NOT use this model if you need instant/real-time generation, as 4K video rendering takes time. [Routing] Use this model by default for all high-quality text-to-video requests on the Google platform.
curl --request POST \
--url https://api.modellix.ai/api/v1/google/veo-3.1-t2v \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A majestic eagle soaring over snow-capped mountain peaks at sunrise"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-t2v001",
"model_id": "google/veo-3.1-t2v",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-t2v001"
}
}
}{
"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"
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Veo 3.1 and Veo 3.1 Fast text-to-video request. Supports prompt, negativePrompt, aspectRatio, duration, resolution (up to 4k), and personGeneration.
Video description text
1"A majestic eagle soaring over snow-capped mountain peaks at sunrise"
Text describing what to avoid in the generated video.
"blurry, low quality, distorted"
Video aspect ratio
16:9, 9:16 "16:9"
Video duration in seconds (string type)
4, 6, 8 "8"
Video resolution. Note: 1080p and 4k are only available for 8-second duration.
720p, 1080p, 4k "1080p"
Person generation policy
allow_all "allow_all"