Skip to main content
POST
/
hailuo-2.3-t2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/text-to-video/minimax/hailuo-2.3-t2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A cat playing in the garden under sunny day"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "minimax-hailuo-2.3-t2v"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Video content description, supports Chinese and English, supports camera control instructions (e.g., 'close-up shot', 'tracking shot', 'pan left/right', 'zoom in/out', 'tilt up/down')

Required string length: 1 - 2000
Example:

"A cat playing in the garden under sunny day"

prompt_optimizer
boolean
default:true

Enable automatic prompt optimization to improve video quality

Example:

true

fast_pretreatment
boolean
default:false

Fast pretreatment mode (only effective when prompt_optimizer=true). Speeds up processing with slight quality trade-off

Example:

false

duration
enum<integer>
default:6

Video duration in seconds. Note: 10 seconds only supports 768P resolution

Available options:
6,
10
Example:

6

resolution
enum<string>
default:768P

Video resolution. Note: 10 seconds duration only supports 768P

Available options:
768P,
1080P
Example:

"768P"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required