Seedance 2.0

POSThttps://api.newportai.com/api/async/seedance_2.0

The Seedance 2.0 Image To Video API generates videos from an image, using it as the first frame of the video. When an end frame image is additionally provided, the model generates a video that transitions from the first frame to the last frame (first-last frame video generation).

  • Submit a POST request to the Seedance 2.0 API to obtain a taskId.
  • Submit a POST request to the Polling API to retrieve the generated video results.
  • Configure a Callback URL to receive results automatically on completion.

Request Headers

Content-Type string Required

Enum: application/json

Authorization string Required

Bearer authentication token. Example: Bearer {{APIKey}}.

Request Body

model string Required

Model version. Available options: seedance-2.0.

prompt string Required

Text prompt describing the video content to generate.

imageUrl string

The URL of the first frame image used to generate the video. When provided, the request is processed in image-to-video mode; when omitted, the request is processed in text-to-video mode. Supported formats: JPEG, PNG, WebP.

endImageUrl string

The URL of the last frame image. Only effective when imageUrl is provided; when both are provided, first-last frame video generation is enabled and the video transitions from the first frame to the last frame. Providing endImageUrl without imageUrl returns error 10192. Supported formats: JPEG, PNG, WebP.

resolution string Required

Video resolution. Available options: 480p, 720p, 1080p, 4k.

ratio string

Aspect ratio. Default: adaptive (automatically adjusts based on content). Available options: adaptive, 16:9, 9:16, 1:1, 3:4, 4:3.

duration integer Required

Video duration in seconds. Range: [4-15] seconds.

seed integer

Random seed for reproducible results. Default: -1 (random seed).

generateAudio boolean

Whether to generate audio for the video. Default: false.

Response

code integer

Returns 0 for success, or a specific error code.

message string

Returns "success" or a descriptive error message.

data object
taskId string

The unique identifier for the task. Use this ID with the Polling API to retrieve the generated output.

Errors

10192Illegal param

Polling

Use the Polling API to retrieve the processing results.

Callback

Alternatively, you can enable Callback to receive task results automatically upon completion.

0Task Completed
{
    "code": 0,
    "message": "success",
    "data": {
        "task": {
            "taskId": "b08337dc08d7428daa64b3d5e61b8350",
            "status": 3,
            "executionTime": 468854,
            "expire": 1778311264178,
            "taskType": "seedance_2.0"
        },
        "videos": [
            {
                "videoType": "mp4",
                "videoUrl": "https://dreamface-resource-aigc.oss-us-east-1.aliyuncs.com/dreamapi/o/2026-01-20/a96a1b03307a4a28b7bbf5f771c6322d.mp4"
            }
        ]
    }
}
Request
cURL
curl -X POST 'https://api.newportai.com/api/async/seedance_2.0' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer {{key}}' \
  -d '{
  "model": "seedance-2.0",
  "prompt": "A girl dancing in a park on a sunny day with trees and benches in the background",
  "imageUrl": "https://d2t5pyzt5qvy2d.cloudfront.net/api/static_resource/prod/default/INj5UrnnrKIzCR1uYBWv0.png",
  "resolution": "720p",
  "ratio": "adaptive",
  "duration": 8,
  "seed": -1,
  "generateAudio": false
}'
0Successful
{
    "code": 0,
    "message": "success",
    "data": {
        "taskId": "b08337dc08d7428daa64b3d5e61b8350"
    }
}