For the complete documentation index, see llms.txt. This page is also available as Markdown.

Seedance

Generate videos using ByteDance's Seedance models. Supports text-to-video and image-to-video generation.

POST https://api.apiframe.pro/seedance-imagine

Headers

Name
Value

Content-Type

application/json

Authorization*

Your APIFRAME API Key

Body

Name
Type
Description

prompt

string

Text description for the video (3-2500 characters)

model*

string

One of: seedance-1.5-pro, seedance-2, or seedance-2-fast

image_url

string

Image URL for image-to-video (seedance-1.5-pro only)

first_frame_url

string

First frame image URL for I2V (seedance-2 / seedance-2-fast only)

last_frame_url

boolean

Last frame image URL for I2V (seedance-2 / seedance-2-fast only)

aspect_ratio

string

1:1, 4:3, 3:4, 16:9 (default), 9:16, 21:9. Also adaptive for seedance-2/seedance-2-fast.

resolution

string

480p, 720p (default), or 1080p (seedance-1.5-pro only)

duration

integer

4, 8 (default), or 12 seconds

generate_audio

string

Generate audio for the video (default: false). Doubles the credit cost.

webhook_url

string

The final result and updates of this task will be posted at this URL.

webhook_secret

string

Will be passed as x-webhook-secret in the webhook call headers for authentication.

Response

// Success, the task has been submitted
{
  "task_id": "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a"
}

This endpoint doesn't generate the video instantly, you can use the Fetch endpoint to fetch the result or use webhooks.

The result (posted to the webhook_url or retrieved with the Fetch endpoint) looks like this:

If the job is not completed, you will get a result like this:

Credit cost:

Model
480p 4s
480p 8s
480p 12s
720p 4s
720p 8s
720p 12s
1080p 4s
1080p 8s
1080p 12s

seedance-1.5-pro

4

8

12

8

16

24

16

32

48

seedance-2

28

56

84

60

120

180

seedance-2-fast

24

48

72

52

104

156

With generate_audio: true, all costs are doubled.

Last updated