Skip to main content
POST
/
api
/
v1
/
task
/
submit
curl --request POST \
  --url https://api.maxapi.io/api/v1/task/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "seedance-2.0-pro",
  "input": {
    "prompt": "A river flowing through autumn forest, aerial view",
    "ratio": "16:9",
    "duration": 5
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "790758ee-3675-48fa-a9af-33d33cf84e71"
  }
}
Use Jimeng Video or Seedance models to generate videos from a text prompt. Omitting imageUrls activates pure text-to-video mode.

Available Models

jimeng-video-3.5-pro · jimeng-video-3.0-pro · jimeng-video-3.0 · jimeng-video-2.0-pro · jimeng-video-2.0 · seedance-2.0 · seedance-2.0-pro
model
string
required
Model name, e.g. seedance-2.0-pro, jimeng-video-3.5-pro.
callBackUrl
string
Webhook callback URL.
input
object
required
curl --request POST \
  --url https://api.maxapi.io/api/v1/task/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "seedance-2.0-pro",
  "input": {
    "prompt": "A river flowing through autumn forest, aerial view",
    "ratio": "16:9",
    "duration": 5
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "790758ee-3675-48fa-a9af-33d33cf84e71"
  }
}

Query Result

Retrieve the generation result via the Query Task endpoint or Webhook:
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "790758ee-3675-48fa-a9af-33d33cf84e71",
    "status": "SUCCESS",
    "input": {
      "model": "seedance-2.0-pro",
      "prompt": "一条河流穿过秋天的森林,航拍视角",
      "ratio": "16:9",
      "duration": 5
    },
    "result": {
      "type": "video",
      "urls": [
        "https://v9-dreamnia.jimeng.com/video/tos/cn/video_example.mp4"
      ]
    },
    "created_at": "2026-02-10T22:05:27.378310Z",
    "updated_at": "2026-02-10T22:08:11.389509Z"
  }
}
Video generation typically returns 1 video URL. result is only populated when status is SUCCESS.