Skip to main content
POST
/
veo-2-t2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/google/veo-2-t2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "Waves gently lapping on a tropical white sand beach, clear turquoise water"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-t2v005",
    "model_id": "google/veo-2-t2v",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-t2v005"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Veo 2 text-to-video request. Supports prompt, aspectRatio, durationSeconds (5/6/8), and personGeneration.

prompt
string
required

Video description text

Minimum string length: 1
Example:

"Waves gently lapping on a tropical white sand beach, clear turquoise water"

aspectRatio
enum<string>
default:16:9

Video aspect ratio

Available options:
16:9,
9:16
Example:

"16:9"

durationSeconds
enum<string>

Video duration in seconds (string type). Starts from 5 (not 4).

Available options:
5,
6,
8
Example:

"5"

personGeneration
enum<string>

Person generation policy (more options than Veo 3.x)

Available options:
allow_all,
allow_adult,
dont_allow
Example:

"dont_allow"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required