Asset Management

查询素材

使用 `POST /v1/seedance/asset/GetAsset` 查询 Seedance 素材导入状态与详情。

POSThttps://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

失败时的错误信息。

相关页面