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",
  "callBackUrl": "https://example.com/webhook",
  "input": {
    "prompt": "A river flowing through autumn forest, aerial view",
    "ratio": "16:9",
    "resolution": "1080p",
    "duration": 5,
    "fallback": true
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "790758ee-3675-48fa-a9af-33d33cf84e71"
  }
}
Use Seedance models to generate videos from a text prompt. Omitting mediaUrls (or imageUrls) activates pure text-to-video mode.
Seedance video generation can take anywhere from 2 minutes to 4 hours, depending on the upstream provider’s queue. You should always configure callBackUrl when using this model so the result can be delivered as soon as it is ready. Continuous polling of the Query Task endpoint is not recommended.
For Seedance-specific moderation behavior, refunds, and violation surcharges, see Moderation and Penalty.

Available Models

seedance-2.0 · seedance-2.0-fast · seedance-1.5-pro
model
string
required
Model name, e.g. seedance-2.0, seedance-2.0-fast, seedance-1.5-pro.
callBackUrl
string
Webhook callback URL. Strongly recommended for Seedance video tasks because generation latency may range from 2 minutes to 4 hours depending on the upstream queue.
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",
  "callBackUrl": "https://example.com/webhook",
  "input": {
    "prompt": "A river flowing through autumn forest, aerial view",
    "ratio": "16:9",
    "resolution": "1080p",
    "duration": 5,
    "fallback": true
  }
}'
{
  "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",
      "prompt": "A river flowing through autumn forest, aerial view",
      "ratio": "16:9",
      "resolution": "1080p",
      "duration": 5,
      "fallback": true
    },
    "result": {
      "type": "video",
      "urls": [
        "https://example.com/output/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.