Documentation Index
Fetch the complete documentation index at: https://docs.laozhang.ai/llms.txt
Use this file to discover all available pages before exploring further.
Base URL:
https://api.laozhang.ai/seedance/api/v3Endpoints:POST /contents/generations/tasks: create a video generation taskGET /contents/generations/tasks/{id}: query task status and result
id; poll the query endpoint and read the final video URL from content.video_url.Route Setup
The LaoZhang API creation URL is:| Setting | Value |
|---|---|
| Upstream API URL | https://ark.cn-beijing.volces.com |
| Secret key | Volcengine Ark API key |
| Custom prefix | /seedance |
| Prefix to remove | Empty |
| Available models | Use only the plain model IDs in the model table below |
Token Setup
When creating a token for Seedance 2.0 in Token management, use:| Setting | Value |
|---|---|
| Billing mode | Volume priority / pay-as-you-go |
| Group | SeeDance2 |
| Recommendation | Create a dedicated Seedance 2.0 token for easier log and billing review |
API Flow
Create task
Call
POST /contents/generations/tasks, put the plain model ID in model, and provide the prompt plus optional assets in the content array.| Status | Meaning |
|---|---|
queued | The task is queued |
running | The task is generating |
succeeded | The task succeeded and result data is in content |
failed | The task failed; check error |
expired | The task expired |
Models
model must be a plain model ID. Do not use console endpoint IDs, and do not append human-readable labels to the model name.
| Model ID | Description | Recommended use |
|---|---|---|
doubao-seedance-2-0-fast-260128 | Seedance 2.0 fast | Fast generation, text-to-video, image reference, video reference, audio reference, multimodal reference, video extension, track completion |
doubao-seedance-2-0-260128 | Seedance 2.0 standard | Standard quality, first/last frames, video editing, and workflows that need more stable output |
Create Task
/contents/generations/tasks
Create a Seedance 2.0 video generation task.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $API_KEY, using a LaoZhang API token assigned to the SeeDance2 group |
Content-Type | Yes | application/json |
Accept | Recommended | application/json |
Accept-Encoding | Recommended for debugging | identity, which avoids compression decoding noise in some clients |
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Plain model ID, for example doubao-seedance-2-0-fast-260128 |
content | array | Yes | Multimodal content array; text prompts also go here |
ratio | string | No | 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive |
duration | integer | No | Seedance 2.0 supports 4 to 15 seconds, or -1 for adaptive duration |
frames | integer | No | Control output by frame count; takes priority over duration |
resolution | string | No | Common value: 720p. Seedance 2.0 fast does not support 1080p |
watermark | boolean | No | Whether to add a watermark |
generate_audio | boolean | No | Whether to generate or use audio |
return_last_frame | boolean | No | Whether to return the final frame image URL |
content Items
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | text, image_url, video_url, or audio_url |
text | string | Required when type=text | Prompt text |
image_url.url | string | Required when type=image_url | Image URL |
video_url.url | string | Required when type=video_url | Video URL |
audio_url.url | string | Required when type=audio_url | Audio URL |
role | string | Recommended for assets | Asset purpose |
role values:
| role | Purpose |
|---|---|
first_frame | First-frame image |
last_frame | Last-frame image |
reference_image | Multimodal image reference |
reference_video | Multimodal video reference |
reference_audio | Multimodal audio reference |
Text-to-Video
First and Last Frame
Image, Video, and Audio References
Query Task
/contents/generations/tasks/{id}
Query the status of a video generation task.
Result URLs are temporary signed URLs, usually valid for 24 hours. In production, download successful results immediately and copy them to your own object storage.
Full Python Example
Common Integration Questions
Why does /seedance/v3/contents/generations/tasks return HTML?
Why does /seedance/v3/contents/generations/tasks return HTML?
The current path is
/seedance/api/v3/contents/generations/tasks. Do not remove /api from the official path.Can I add a Chinese label after the model name?
Can I add a Chinese label after the model name?
No. The request
model must be the plain model ID, such as doubao-seedance-2-0-260128. Do not send doubao-seedance-2-0-260128 (2.0-audio-video).Can I pass an ep endpoint ID?
Can I pass an ep endpoint ID?
Not recommended. The LaoZhang relay matches channels by plain model ID, so do not pass
ep-....Where is the final video URL?
Where is the final video URL?
The final video URL is
content.video_url. If return_last_frame=true was set when creating the task, the final frame image URL is content.last_frame_url.Can audio be the only reference asset?
Can audio be the only reference asset?
No. Audio references must be sent with at least one image or video asset, otherwise the official API rejects the request.