Skip to main content
POST
/
v1
/
videos
/
generations
Hailuo 2.3 API
curl --request POST \
  --url https://api.evolink.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "MiniMax-Hailuo-2.3",
  "prompt": "A beautiful sunset over the ocean [Static shot]"
}
'
{
  "created": 1757169743,
  "id": "task-unified-1757169743-7cvnl5zw",
  "model": "MiniMax-Hailuo-2.3",
  "object": "video.generation.task",
  "progress": 0,
  "status": "pending"
}

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication

Get API Key:

Visit API Key Management to get your API Key

Add to request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
string
default:MiniMax-Hailuo-2.3
required

Video generation model name

Example:

"MiniMax-Hailuo-2.3"

prompt
string
required

Prompt describing video content and camera motion. Required for T2V, optional for I2V. Max 2000 characters

15 Camera Commands:

  • Truck: [Truck left], [Truck right]
  • Pan: [Pan left], [Pan right]
  • Dolly: [Push in], [Pull out]
  • Pedestal: [Pedestal up], [Pedestal down]
  • Tilt: [Tilt up], [Tilt down]
  • Zoom: [Zoom in], [Zoom out]
  • Special: [Shake]
  • Follow: [Tracking shot]
  • Static: [Static shot]

Usage:

  • Combined: Multiple commands in one [] execute simultaneously, e.g. [Pan left,Pedestal up], max 3 recommended
  • Sequential: Commands execute in text order, e.g. ...slowly [Push in], then quickly [Pull out]
Maximum string length: 2000
Example:

"A beautiful sunset over the ocean [Static shot]"

image_urls
string<uri>[]

Reference image URLs for I2V mode, optional

Mode Detection:

  • 0 images = T2V (Text-to-Video)
  • 1 image = I2V (Image-to-Video)

Requirements:

  • Image size: max 20MB
  • Formats: JPG, JPEG, PNG, WebP
  • Aspect ratio: 2:5 to 5:2
  • Short edge > 300px
Maximum array length: 1
Example:
["https://example.com/image.jpg"]
quality
enum<string>
default:768p

Video resolution

Supported by mode:

  • I2V: 768p, 1080p
  • T2V: 768p, 1080p

Duration & Resolution:

  • 768p: 6s, 10s
  • 1080p: 6s only
Available options:
768p,
1080p
Example:

"768p"

duration
enum<integer>
default:6

Video duration (seconds)

  • 6 seconds (default)
  • 10 seconds (not available for 1080p)
Available options:
6,
10
Example:

10

model_params
object

Model-specific parameters

Response

Video generation task created successfully

created
integer

Task creation timestamp

Example:

1757169743

id
string

Task ID

Example:

"task-unified-1757169743-7cvnl5zw"

model
string

Model name used

Example:

"MiniMax-Hailuo-2.3"

object
enum<string>

Task type

Available options:
video.generation.task
progress
integer

Task progress (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"