Skip to main content
POST
Bytedance Seedance 2.0 Fast

Endpoint

Authentication

All API requests require a Bearer Token.

Important Notes

  • Image-to-Video (First Frame) and Image-to-Video (First & Last Frames) are mutually exclusive scenarios and cannot be used simultaneously.

Request Body

The request body must be JSON.

Top-level parameters

string
required
Must be bytedance/seedance-2-fast.
object
required

Input Parameters

The input object contains the parameters used to generate the video.
string
Use prompt to describe the video you want to generate.Manimum length: 3 characters.
Maximum length: 20000 characters.
string
Provide the URL of the image to be used as the first frame for video generation. The value must be an uploaded file URL, not the file content itself.Supported image formats:
  • image/jpeg
  • image/png
  • image/jpg
  • image/webp
Maximum file size: 30 MB
string
Provide the URL of the image to be used as the last frame for video generation. The value must be an uploaded file URL, not the file content itself.Supported image formats:
  • image/jpeg
  • image/png
  • image/jpg
  • image/webp
Maximum file size: 30 MB
string[]
Enter the URL(s) of the reference image(s) to be used for video generation.Supported image formats:
  • jpeg
  • png
  • webp
  • bmp
  • tiff
  • gif
Maximum file size: 30 MB
Maximum number of files : The sum of the number of frames at the beginning and end must not exceed 9.
Width and height (px): (300, 6000)
Aspect ratio (width/height): 0.4 to 2.5
string[]
Enter the URL(s) of the reference video(s) to be used for video generation.Maximum reference videos : 3
Single video requirements
Supported video formats:
  • mp4
  • mov
Supported resolution:
  • 480p
  • 720p
Supported duration:
  • For single video duration beetween 2 and 15.
  • Total duration of all videos not exceeding 15 seconds.
Maximum size of single video : 50 MB.
Width and height (px): (300, 6000)
Aspect ratio (width/height): 0.4 to 2.5
Frame rate (FPS): [24, 60]
Total pixels: [640×640=409600, 834×1112=927408]
string[]
Enter the URL(s) of the reference audio(s) to be used for video generation.Maximum reference audio : 3
Single audio requirements
Supported audio formats:
  • wav
  • mp3
Supported duration:
  • For single audio duration beetween 2 and 15.
  • Total duration of all audios not exceeding 15 seconds.
Maximum size of single audio : 15 MB.
boolean
default:"true"
Whether to generate audio.Default: true
string
Specify the resolution of the generated video.Supported values:
  • 480p
  • 720p
Default: 720p
string
default:"16:9"
Applies to multi-image generation. In single-image mode, video dimensions follow the source image dimensions.Supported values: 3:4, 4:3, 1:1, 16:9, 9:16, 21:9, adaptive.Default: 16:9
number
Generated video duration in seconds.Type: integer
Supported range: 415, in one-second steps.
Default: 5
Use online search. Only available for text-to-video.Default: false

Example Request

Response

Successful Response

number
Response status code.
string
Response message. Contains the error description when the request fails.Example: success
object
required
The task data object containing task id.
string
required
The unique identifier for this task.Example: task_123456

Query Task Status

After submitting a task, use the unified query endpoint to check the task progress and retrieve the generated results.

Get Task Details

Check task status, monitor generation progress, and retrieve results.

Error Response

Response Codes