Skip to content

resource_get ​

口径:本页参数表最后核对于 v23.9(2026-10-27)。v24.0~v24.8 的改动(add_video 的 timeline_start/timeline_end 别名、apply_edl 批内失败计数、resource/search 的 limit 与 count 等价、/agent/route 类型分诊等)以 llms-full.txt 与 GET /agent/capabilities 为准。

接口描述

读取一个资源的完整元数据。适合已经知道名称或 ID,需要确认参数、默认时长、VIP 状态时使用。

请求方法

GET / POST

请求路径

/resource/get

请求参数

参数类型必填说明
categorystring是资源分类
valuestring条件必填名称、成员名或 ID
memberstring条件必填目录成员名
namestring条件必填显示名称
resource_idstring条件必填剪映资源 ID
effect_idstring条件必填剪映效果 ID
md5string条件必填资源 MD5

value、member、name、resource_id、effect_id、md5 至少提供一个。

请求示例

json
{
  "category": "transition",
  "resource_id": "7049979667406656014"
}

返回示例

json
{
  "success": true,
  "output": {
    "category": "transition",
    "name": "_3D空间",
    "display_name": "3D空间",
    "resource_id": "7049979667406656014",
    "effect_id": "1506926",
    "md5": "aaecc038f6543411f601608fc5539f0b",
    "default_duration": 1.5,
    "is_overlap": true
  },
  "error": ""
}

个人自建服务