Video Gen API 开发者文档
使用指南火山兼容APIOpenAI 兼容API在线调试帮助支持
素材 Action

查询素材详情

GetAsset - 查询素材信息和异步预处理状态

POST
/
AuthorizationBearer <token>

兼容网关 API Key,例如 sk-...。

In: header

Query Parameters

Action*string
Default"GetAsset"
Version*string
Default"2024-01-01"

Header Parameters

X-Date?string

使用 HMAC-SHA256 时必填,格式为 YYYYMMDDTHHMMSSZ。

X-Content-Sha256?string

使用 HMAC-SHA256 时必填,请求体 SHA-256 小写十六进制。

Request Body

application/json

Id*string

素材 ID。

ProjectName?string

资源所属项目名称,大小写敏感。省略时使用 default。

Default"default"

Response Body

application/json

application/json

curl -X POST "https://jieyun.cc/?Action=GetAsset&Version=2024-01-01" \  -H "Content-Type: application/json" \  -d '{    "Id": "asset-202607210001-example",    "ProjectName": "default"  }'
{
  "ResponseMetadata": {
    "RequestId": "20260721000000000000000000000000",
    "Action": "GetAsset",
    "Version": "2024-01-01",
    "Service": "ark",
    "Region": "cn-beijing"
  },
  "Result": {
    "Id": "asset-202607210001-example",
    "Name": "产品主图",
    "URL": "https://example.com/temporary/product.png",
    "GroupId": "group-202607210001-example",
    "AssetType": "Image",
    "Status": "Active",
    "Moderation": {
      "Strategy": "Default"
    },
    "Error": {
      "Code": "",
      "Message": ""
    },
    "ProjectName": "default",
    "CreateTime": "2026-07-21T00:00:00Z",
    "UpdateTime": "2026-07-21T00:00:00Z"
  }
}
{
  "ResponseMetadata": {
    "RequestId": "string",
    "Action": "GetAsset",
    "Version": "2024-01-01",
    "Service": "ark",
    "Region": "cn-beijing",
    "Error": {
      "Code": "string",
      "Message": "string"
    }
  }
}
Empty
Empty
Empty
Empty

最后更新于