跳转到主要内容
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": "一条河流穿过秋天的森林,航拍视角",
    "ratio": "16:9",
    "duration": 5
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "790758ee-3675-48fa-a9af-33d33cf84e71"
  }
}
使用 Jimeng Video 或 Seedance 模型,通过纯文字 prompt 生成视频。不传 imageUrls 即为纯文生视频模式。

可用模型

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
必填
模型名称,如 seedance-2.0-projimeng-video-3.5-pro
callBackUrl
string
Webhook 回调地址。
input
object
必填
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": "一条河流穿过秋天的森林,航拍视角",
    "ratio": "16:9",
    "duration": 5
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "790758ee-3675-48fa-a9af-33d33cf84e71"
  }
}

查询结果

通过 Query Task 接口或 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"
  }
}
视频生成通常返回 1 个视频 URL。result 仅在 statusSUCCESS 时有值。