Hailuo 02 Image to Video

minimax_hailuo_02_i2v

Hailuo 02 I2V transforms images into dynamic videos with intelligent motion synthesis and 6-10 second duration support.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request.

Value: minimax_hailuo_02_i2v


first_frame_image string required

Input Image URL or Base64 Encoded.


prompt string

Video generation prompt. Max 2000 characters.


duration integer

Video duration.

Options: 6s or 10s (512P/768P only)


resolution string

Video Resolution.

Default: 768P


prompt_optimizer boolean

Whether to Enable Prompt optimize.

Default: true

Error Codes

CodeDescription
401API key is missing or invalid
403Insufficient balance or permission denied
429Rate limit exceeded
500Internal server error