mingyan
Seedance2.0 Special Price - Create Task
Create Seedance2.0 special-price video tasks
Seedance2.0 Special Price Create Task
Use a full model code to create a video task. The model code includes model type, resolution, and whether video reference is used.
认证
获取 KeycURL
Authorization: Bearer {{key}}
Request Parameters
modelstringrequiredModel name. When using a
_with_video_ref model, content must include a video_url item with role=reference_video.sd_2.0_special_720psd_2.0_special_1080psd_2.0_special_2ksd_2.0_special_4ksd_2.0_special_720p_with_video_refsd_2.0_special_1080p_with_video_refsd_2.0_special_2k_with_video_refsd_2.0_special_4k_with_video_refsd_2.0_fast_special_720psd_2.0_fast_special_720p_with_video_ref
sd_2.0_fast_special only supports 720p.resolutionstringOptional. The full model code already includes resolution. If provided, it must match the resolution in
model.ratiostringAspect ratio. Default:
16:9.durationintegerDuration in seconds. Default:
5. Range: 4-15.generate_audiobooleanWhether to generate audio. Default:
true.return_last_framebooleanWhether to return the last-frame image. Default:
false. When set to true and the task generates a last frame, read last_frame_url from the query API.toolsarrayAdvanced tool configuration. Default: not sent. Supported tools depend on the enabled model capabilities.
seedintegerRandom seed. Default:
-1, which lets the model service choose a random seed. A fixed value improves reproducibility, but generation is still probabilistic.contentarrayrequiredContent array. One
type=text prompt is required.content[].rolestringfirst_frame, last_frame, reference_image, reference_video, or reference_audio.For real-person or avatar images, upload the asset first and reference it with
assetId://{assetId}.Response Parameters
idstringVideo task ID used to query task status and result.
objectstringObject type, fixed as
video.createdintegerTask creation timestamp.
modelstringModel used by this request.
statusstringTask status, usually
queued or processing after creation.Status
queued: the task has been created and is waiting to be processed.processing: the task is being processed.completed: the task succeeded andvideo_urlis available from the query API.failed: the task failed anderroris available from the query API.
Request Body Example
Real-person reference
{
"model": "sd_2.0_fast_special_720p",
"ratio": "16:9",
"duration": 4,
"return_last_frame": true,
"generate_audio": true,
"content": [
{
"type": "text",
"text": "A natural talking-head commercial, the person looks at the camera with a confident expression"
},
{
"type": "image_url",
"role": "reference_image",
"image_url": {
"url": "assetId://202607041749401700000000"
}
}
]
}
Multi-modal reference
{
"model": "sd_2.0_fast_special_720p_with_video_ref",
"ratio": "9:16",
"duration": 5,
"return_last_frame": true,
"generate_audio": true,
"tools": [
{
"type": "image_reference"
}
],
"content": [
{
"type": "text",
"text": "A first-person fruit tea commercial using video 1 as the composition reference and audio 1 as background music"
},
{
"type": "audio_url",
"role": "reference_audio",
"audio_url": {
"url": "https://example.com/reference.mp3"
}
},
{
"type": "image_url",
"role": "reference_image",
"image_url": {
"url": "https://example.com/reference.jpg"
}
},
{
"type": "video_url",
"role": "reference_video",
"video_url": {
"url": "https://example.com/reference.mp4"
}
}
]
}

