Asset Management
查询素材
使用 `POST /v1/seedance/asset/GetAsset` 查询 Seedance 素材导入状态与详情。
POST
https://duoyuanx.com/v1/seedance/asset/GetAsset请求示例
curl -X POST https://duoyuanx.com/v1/seedance/asset/GetAsset \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '
{
"task_id": "task_xxxx"
}'响应示例
{
"state": 1,
"data": {
"Id": "asset-xxx",
"Name": "child",
"URL": "https://example.com/processed.webp",
"AssetType": "Image",
"GroupId": "group-xxx",
"Status": "Active",
"CreateTime": "2026-04-15T11:15:40Z",
"UpdateTime": "2026-04-15T11:16:02Z",
"Error": null
},
"error": null
}根据 上传素材 返回的 task_id 查询素材处理进度与详情。
请求头
Authorizationstring必填请求身份认证。使用 Bearer Token,示例值:Bearer YOUR_API_KEY。
Content-Typestring必填请求内容类型,必须设置为 application/json。
请求体
task_idstring必填上传素材时返回的任务 ID。
请求示例
响应示例
响应字段
dataobject素材详情数据。
Idstring素材 ID。
Namestring素材名称。
URLstring素材 URL。
AssetTypestring素材类型:Image、Video、Audio。
GroupIdstring所属素材组 ID。
Statusstring素材状态:Processing(处理中)、Active(可用于视频生成)、Failed(失败)。
Errorstring | null失败时的错误信息。