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": "Blow out candles",
    "imageUrls": ["https://example.com/photo.jpg"]
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
}
By passing imageUrls, different generation modes are automatically selected based on the number of images. Applicable to all seedance-* and jimeng-video-* models.
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": "Blow out candles",
    "imageUrls": ["https://example.com/photo.jpg"]
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  }
}

Generation Modes

Different modes are automatically selected based on the number of images in imageUrls:

1 Image — First Frame Mode

The image is used as the first frame of the video, and subsequent animation is generated based on the prompt.
{
  "model": "seedance-2.0-pro",
  "input": {
    "prompt": "吹灭蜡烛",
    "imageUrls": ["https://assets.movart.ai/landingpage/dog.webp"]
  }
}

2 Images — First & Last Frame Mode

The first image serves as the video’s first frame, the second image as the last frame, and the AI automatically generates the transition animation in between.
{
  "model": "seedance-2.0-pro",
  "input": {
    "prompt": "变身",
    "imageUrls": [
      "https://assets.movart.ai/3D-Cartoon.jpg",
      "https://assets.movart.ai/landingpage/dog.webp"
    ]
  }
}

3+ Images — Multi-Image Reference Mode

Use @1, @2, @3 in the prompt to reference the corresponding images by position.
{
  "model": "seedance-2.0",
  "input": {
    "prompt": "@1 和 @2 在聊天,@3 在旁边看",
    "imageUrls": [
      "https://assets.movart.ai/3D-Cartoon.jpg",
      "https://assets.movart.ai/landingpage/dog.webp",
      "https://assets.movart.ai/landingpage/dog.webp"
    ]
  }
}

Query Result

Retrieve the generation result via the Query Task endpoint or Webhook:
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "status": "SUCCESS",
    "input": {
      "model": "seedance-2.0-pro",
      "prompt": "吹灭蜡烛",
      "imageUrls": [
        "https://assets.movart.ai/landingpage/dog.webp"
      ]
    },
    "result": {
      "type": "video",
      "urls": [
        "https://v9-dreamnia.jimeng.com/video/tos/cn/video_example.mp4"
      ]
    },
    "created_at": "2026-02-10T23:00:00.000000Z",
    "updated_at": "2026-02-10T23:03:25.000000Z"
  }
}