Skip to main content
POST
/
v1
/
videos
/
generations
Veo-3.1-Generate-Preview API
curl --request POST \
  --url https://api.evolink.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "veo-3.1-generate-preview",
  "prompt": "A cat playing piano"
}
'
{
  "created": 1757169743,
  "id": "task-unified-1757169743-7cvnl5zw",
  "model": "veo-3.1-generate-preview",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
default:veo-3.1-generate-preview
required
prompt
string
required

Prompt, max 2000 tokens

Maximum string length: 2000
image_urls
string<uri>[]

Reference images, max 2, max 10MB each

Maximum array length: 2
generation_type
enum<string>

Mode:

  • TEXT: Text-to-video
  • FIRST&LAST: First-last frame, 1-2 images
  • REFERENCE: Reference image, max 3 images, duration fixed at 8s, aspect ratio fixed at 16:9, except generate_audio, other advanced params not supported
Available options:
TEXT,
FIRST&LAST,
REFERENCE
aspect_ratio
enum<string>

Aspect ratio, default 16:9

Available options:
16:9,
9:16
generate_audio
boolean

Generate audio (extra cost), default true

duration
enum<integer>

Duration (seconds), default 4

Available options:
4,
6,
8
n
integer

Number of videos, default 1

Required range: 1 <= x <= 4
quality
enum<string>

Resolution, default 720p

Available options:
720p,
1080p
seed
integer
Required range: 1 <= x <= 4294967295
negative_prompt
string
person_generation
enum<string>

Person generation control, default allow_adult. allow_adult: allow adults only; dont_allow: no people/faces

Available options:
allow_adult,
dont_allow
resize_mode
enum<string>

Resize mode (I2V only), default pad

Available options:
pad,
crop
callback_url
string<uri>

Response

Task created successfully

created
integer
Example:

1757169743

id
string
Example:

"task-unified-1757169743-7cvnl5zw"

model
string
Example:

"veo-3.1-generate-preview"

status
enum<string>
Available options:
pending,
processing,
completed,
failed