查询任务
- 查询以豆包原生格式提交的视频任务状态与结果
- 状态流转:pending → processing → succeeded / failed
- 建议每 5 秒查询一次,10 分钟仍未完成可放弃
认证
所有接口均使用 Bearer Token 进行认证。
Seedance 系列的接口需要在 ark 站 单独获取 Key,与 api 站的 Key 不通用。
请求时在请求头中添加:
Authorization: Bearer YOUR_ARK_KEYAll endpoints authenticate with a Bearer token.
Seedance series endpoints require a key obtained separately from the ark site; it isn't shared with the api site's key.
Add it to the request header:
Authorization: Bearer YOUR_ARK_KEY路径参数
提交任务时返回的任务 ID。
The task ID returned when the task was submitted.
状态流转
pending -> processing -> succeeded 成片可取
-> failed 查看 error 字段pending:已受理,排队中processing:生成中succeeded:已完成,成片地址在content.video_urlfailed:已失败,原因在error.message
轮询节奏:每 5 秒一次,总超时约 10 分钟。多数 Seedance 任务在 1 到 3 分钟内完成。
pending -> processing -> succeeded video ready
-> failed see the error fieldpending: accepted, queuedprocessing: generatingsucceeded: done; the video URL is incontent.video_urlfailed: failed; the reason is inerror.message
Polling cadence: every 5 seconds, with an overall timeout of about 10 minutes. Most Seedance tasks finish within 1 to 3 minutes.
响应
任务 ID。
实际使用的模型。
取值 pending、processing、succeeded、failed。
成功时返回的成片地址。
末帧图片地址。提交时把 return_last_frame 设为 true 才会返回,与成片同时产出,同样是带签名的临时地址。
本次实际使用的种子。
实际输出分辨率。
实际输出秒数。
实际输出画幅比例。
实际输出帧率。
实际生效的服务档位。
上游返回时才有。
上游返回时才有。
失败时返回,如 content_policy_violation。
失败时的错误描述。
创建时间,Unix 秒。
状态更新时间,Unix 秒。
The task ID.
The model actually used.
One of pending, processing, succeeded, failed.
The finished video URL, returned on success.
The trailing-frame image URL. Returned only when the request sets return_last_frame to true; it is produced together with the video and is likewise a signed, expiring address.
The seed actually used.
The actual output resolution.
The actual output length in seconds.
The actual output aspect ratio.
The actual output frame rate.
The service tier actually in effect.
Present only when the upstream returns it.
Present only when the upstream returns it.
Returned on failure, e.g. content_policy_violation.
The error description on failure.
Creation time, in Unix seconds.
Status update time, in Unix seconds.
错误码
| HTTP | Meaning |
|---|---|
| 401 | Token missing or invalid, with type authentication_error |
For more status codes and retry guidance see Error codes and rate limits; for troubleshooting steps on common errors see the FAQ.