Skip to main content
POST
/
veo-3.1-i2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/google/veo-3.1-i2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "The character waves and smiles at the camera",
  "image": "data:image/jpeg;base64,/9j/4AAQSkZJRg..."
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-i2v001",
    "model_id": "google/veo-3.1-i2v",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-i2v001"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Veo 3.1 and Veo 3.1 Fast image-to-video request. Supports resolutions up to 4K.

prompt
string
required

Video description text guiding the animation

Minimum string length: 1
Example:

"The character waves and smiles at the camera"

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)

Available options:
4,
6,
8
Example:

"8"

resolution
enum<string>

Video resolution. Note: 1080p and 4k are only available for 8-second duration.

Available options:
720p,
1080p,
4k
Example:

"1080p"

personGeneration
enum<string>

Person generation policy

Available options:
allow_adult
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