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 resultGET https://api.laozhang.ai/v1/videos/{id}/content: compatibility endpoint for downloading a completed video
id; poll the query endpoint until the task succeeds. You can download from the signed content.video_url, or use /v1/videos/{id}/content to download the final video file.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 |
Billing And Pricing
The table below uses the official upstream public pricing as a cost-estimation
baseline. LaoZhang API billing is determined by the console model price and
call logs; because of tax, FX, payment-channel, and upstream settlement costs,
the LaoZhang API charge may be
0% - 10% above the official upstream list
price.usage.completion_tokens returned by the task. It is not a fixed per-request price. Official estimation formula:
Official Pricing Examples
The examples below are from the official pricing page and assume16:9 output with a 5 second generated video.
| Model | Input condition | Official 480p example | Official 720p example | Official 1080p example |
|---|---|---|---|---|
doubao-seedance-2-0-260128 | No input video | 2.31 RMB/task | 4.97 RMB/task | 12.39 RMB/task |
doubao-seedance-2-0-fast-260128 | No input video | 1.86 RMB/task | 4.00 RMB/task | Not supported |
doubao-seedance-2-0-260128 | Includes 2-15 seconds of input video | 2.53 - 5.62 RMB/task | 5.44 - 12.10 RMB/task | 13.56 - 30.13 RMB/task |
doubao-seedance-2-0-fast-260128 | Includes 2-15 seconds of input video | 1.99 - 4.42 RMB/task | 4.28 - 9.50 RMB/task | Not supported |
When the request includes
video_url, official billing includes both
input-video processing and output-video generation. Reconcile final cost using
the task usage.completion_tokens, upstream billing records, and LaoZhang API
call logs.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 |
completed | Success terminal state used by LaoZhang-compatible task objects; equivalent to succeeded |
failed | The task failed; check error |
expired | The task expired |
The Ark-style detail response from
GET /contents/generations/tasks/{id} uses
status=succeeded and content.video_url. A LaoZhang-compatible task object
may also expose status=completed, top-level result_url, and nested
data.content.video_url. Client code should tolerate these success shapes and
keep /v1/videos/{id}/content as a stable download entry point.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.
Download Result
/v1/videos/{id}/content
Download the video file for a completed task through the LaoZhang
compatibility endpoint.
https://api.laozhang.ai/v1, not /seedance/api/v3. After the task succeeds, it resolves the stored task result server-side and returns or redirects to a downloadable MP4.
If the task detail response contains
content.video_url, you can download
that signed URL directly. If the detail body is abnormal, no URL can be
parsed, or you only need the video file, use /v1/videos/{id}/content.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?
In the Ark-style detail response, the final video URL is usually
content.video_url. LaoZhang-compatible task objects may also return
top-level result_url or nested data.content.video_url.For download-only clients, call the compatibility download endpoint:/v1/videos/{id}/contentCan 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.