Image to Video

Official Documentation: https://www.minimax.io/platform/document/Model%3Fkey=684261f14c5738213294faa7?key=66d1439376e52fcee2853049&document=video_generation

Endpoint

POST http://v98store.com/minimax/v1/video_generation

cURL Command

curl -X POST 'http://v98store.com/minimax/v1/video_generation' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "model": "MiniMax-Hailuo-2.3", "prompt": "一only小猪in高速公路快乐 奔跑", "duration": 10, "first_frame_image": "https://wx4.sinaimg.cn/mw690/8545bf24ly1hq626p2k5aj20j60j7t9t.jpg", "resolution": "768P", "prompt_optimizer ": true }'

Parameters

NameInDescriptionRequired
Content-TypeheaderYes
AcceptheaderYes
AuthorizationheaderYes

Request Body

Example

{
  "model": "MiniMax-Hailuo-2.3",
  "prompt": "一only小猪in高速公路快乐 奔跑",
  "duration": 10,
  "first_frame_image": "https://wx4.sinaimg.cn/mw690/8545bf24ly1hq626p2k5aj20j60j7t9t.jpg",
  "resolution": "768P",
  "prompt_optimizer ": true
}

Responses

200 -

Example

{
  "task_id": "306792606023824",
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}