Skip to main content
POST
/
veo-2-i2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/google/veo-2-i2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "Ocean waves gently roll in and recede on a sandy beach",
  "image": "data:image/jpeg;base64,/9j/4AAQSkZJRg..."
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-i2v005",
    "model_id": "google/veo-2-i2v",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-i2v005"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

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

prompt
string
required

Video description text guiding the animation

Minimum string length: 1
Example:

"Ocean waves gently roll in and recede on a sandy beach"

image
string
required

Starting frame in data URI format (data:image/jpeg;base64,...). Required for I2V.

Example:

"data:image/jpeg;base64,/9j/4AAQSkZJRg..."

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

Available options:
allow_adult,
dont_allow
Example:

"allow_adult"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required