Skip to main content
POST
/
api
/
open-api
/
v1
/
seedance
/
videos
Create Seedance Video Task
curl --request POST \
  --url https://www.jimmyai.cn/api/open-api/v1/seedance/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "duration": 123,
  "images": [
    "<string>"
  ],
  "ratio": "<string>",
  "first_image": "<string>",
  "last_image": "<string>",
  "reference_videos": [
    "<string>"
  ],
  "reference_audios": [
    "<string>"
  ]
}
'
{
  "code": "20000",
  "msg": "ok",
  "data": {
    "task_id": "<string>",
    "status": "<string>",
    "model": "<string>",
    "created_at": 123
  }
}
Create a Seedance MD video task. On success you receive a task_id. Poll Query Video Task until completed, then read the video URL from result.video_url.
This endpoint is shared with Create Seedance Full Video: POST /api/open-api/v1/seedance/videos. For Full (Manxue), Mini, and SP routes, see their respective docs.

Models

Routemodel valuesBillingDuration
MD standardseedance2.0-mdPer task4–15 s
MD fastseedance2.0-fast-mdPer task4–15 s
Output is fixed at 720p. Billing is per task, independent of duration.

Request fields

FieldTypeRequiredDescription
modelstringYesSee table above
promptstringYesText prompt, max 5000 characters
durationintYesLength in seconds, 4–15 (default 5)
ratiostringNo16:9 (default), 9:16, or 1:1
imagesstring[]NoReference images, max 4
first_imagestringNoFirst frame; must be paired with last_image in frame mode
last_imagestringNoLast frame; must be paired with first_image in frame mode
reference_videosstring[]NoReference videos, max 3
MD does not support reference_audios. The resolution field is ignored; output is always 720p.

Assets

  • Pass publicly reachable https:// image or video URLs directly. Images do not support GIF format.
  • SP asset library (asset://) and Full-route audit flows do not apply to MD.

Constraints

  • Do not combine images (reference mode) with first_image / last_image (frame mode).
  • First frame only is not supported; in frame mode, first_image and last_image must both be provided.
  • ratio must be one of 16:9, 9:16, 1:1.
  • At most 4 items in images; prompt at most 5000 characters.
  • reference_audios is not supported.
  • At most 3 items in reference_videos; combined reference video duration must be between 4-15 seconds, combined size must not exceed 200MB; each reference video resolution must be between 720px and 2160px, and video frame rate must be between 24-60 FPS.

Examples

MD standard — reference images

curl -X POST 'https://www.jimmyai.cn/api/open-api/v1/seedance/videos' \
  -H 'Authorization: Bearer sk_xxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "seedance2.0-md",
    "prompt": "Subject turns slowly, breeze in hair, cinematic lighting",
    "duration": 8,
    "ratio": "16:9",
    "images": [
      "https://example.com/ref-1.jpg",
      "https://example.com/ref-2.jpg"
    ]
  }'

MD fast — first and last frame image-to-video

In frame mode, first_image and last_image must both be provided. First frame only is not supported.
curl -X POST 'https://www.jimmyai.cn/api/open-api/v1/seedance/videos' \
  -H 'Authorization: Bearer sk_xxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "seedance2.0-fast-md",
    "prompt": "Rainy street at night, girl looks back and smiles, slow dolly in",
    "duration": 5,
    "ratio": "9:16",
    "first_image": "https://example.com/start.png",
    "last_image": "https://example.com/end.png"
  }'

Response

{
  "code": 0,
  "msg": "ok",
  "data": {
    "task_id": "vid_abc123",
    "status": "queued",
    "model": "seedance2.0-md",
    "created_at": 1710000000
  }
}

Poll for result

curl -X GET 'https://www.jimmyai.cn/api/open-api/v1/videos/{task_id}' \
  -H 'Authorization: Bearer sk_xxx'
Statuses: queuedprocessingcompleted or failed. Video URL is in data.result.video_url when completed.
Result URLs are retained for about 3 days. Download promptly.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

Model name. Manxue: sd2_mx_720p | sd2_mx_1080p | sd2_mx_2k | sd2_mx_4k; Fast: sd2_mx_fast_720p | sd2_mx_fast_1080p; Video ref: sd2_mx_video_720p | sd2_mx_video_1080p | sd2_mx_video_2k | sd2_mx_video_4k; Video ref Fast: sd2_mx_video_fast_720p | sd2_mx_video_fast_1080p (all per-second). reference_videos only for video-series models. SP economy: seedance2.0-sp | seedance2.0-fast-sp (per-second by resolution). SP official: seedance2.0-of-sp | seedance2.0-of-fast-sp (per-second by resolution). Mini: seedance2.0-mini (per-second by resolution). Mini Special: seedance2.0-mini-sp (per-task, 480p/720p only). MD: seedance2.0-md | seedance2.0-fast-md (per-task, 720p). Fast I2V: seedance2.0-fast-i2v (per-task, 720p, image refs only). STD standard: seedance2.0-std (per-task, 720p)

prompt
string
required

Text prompt. MD route: max 5000 characters

duration
integer
required

Duration in seconds. Full 4-12; SP economy 4-15; MD 1-15; STD standard 4-15. Default 5

resolution
enum<string>

Output resolution for SP economy. Default 720p

Available options:
480p,
720p,
1080p
orientation
enum<string>

Video orientation (ratio takes precedence if set)

Available options:
landscape,
portrait
images
string[]

Reference images. Full route: asset://{assetId}; SP/MD/STD/Fast I2V: https:// URL. MD max 4; seedance2.0-fast-i2v and STD max 9. Mutually exclusive with first_image/last_image

ratio
string

Aspect ratio. MD: 16:9, 9:16, 1:1 only. STD: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Full route also supports 4:3, 3:4, 21:9, Adaptive

first_image
string

First frame. Full: asset://{assetId}; Economy/MD: https:// URL. MD frame mode requires last_image as well; first frame only is not supported

last_image
string

Last frame. Full: asset://{assetId}; Economy/MD: https:// URL. MD frame mode requires first_image as well

reference_videos
string[]

Reference videos. Full: asset://{assetId}; Economy/MD: https:// URL. MD: max 3, combined duration ≤15s, combined size ≤200MB, each resolution 720px–2160px. Not supported on seedance2.0-fast-i2v

reference_audios
string[]

Reference audio. Supported on Full, SP economy, and STD. Not supported on MD or seedance2.0-fast-i2v. Full: asset://{assetId}; SP: https:// URL or asset://. STD max 3 clips; frame mode does not support audio references

Response

200 - application/json

Task created successfully

code
string
Example:

"20000"

msg
string
Example:

"ok"

data
object