Routescope APIRoutescope API
模型接口API文档视频模型

获取当前用户素材组列表

返回当前 Token 对应用户拥有的素材组列表。

返回当前 Token 对应用户在本项目中拥有的素材组。本项目以本地归属表为准过滤列表,不直接暴露上游同一个 API Key 下的其他素材组。

GET
/v1/api/video-studio/assets/ecloud
curl -X GET "https://api.routescope.ai/v1/api/video-studio/assets/ecloud"
{
  "data": {
    "totalSize": 1,
    "groupIds": [
      "string"
    ],
    "items": [
      {
        "groupId": "group_xxx",
        "groupName": "产品素材组",
        "displayName": "产品素材组",
        "groupType": "AIGC",
        "assetId": "asset_xxx",
        "assetName": "image.png",
        "assetType": "Image",
        "assetUrl": "https://example.com/path/to/asset.png",
        "coverUrl": "https://example.com/path/to/asset.png",
        "assetCount": 3,
        "status": "SUCCESS"
      }
    ],
    "urls": [
      "http://example.com"
    ]
  },
  "error": {
    "code": "not_found",
    "message": "asset group not found"
  },
  "request_id": "req_xxx"
}
{
  "data": null,
  "error": {
    "code": "not_found",
    "message": "asset group not found"
  },
  "request_id": "req_xxx"
}

Authorization

BearerAuth

AuthorizationBearer <token>

使用本项目网关 Token:Authorization: Bearer <API_TOKEN>。注意这里不是上游素材库 API Key。

In: header

Query Parameters

limit?integer

返回数量,默认 50,最大 100。

Default50
Range1 <= value <= 100

Response Body

application/json

application/json

最后更新于