Skip to content

asset_options ​

GET /asset/options

口径:本页参数表最后核对于 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 为准。

接口说明 ​

返回备素材渲染器的全部合法取值:素材类型、形状、动画,以及可搭配的混合模式,外加一段 usage_hint 说明剪影产物怎么铺轨、怎么配混合模式。模型拿不准某个参数能传什么时,先查这里,不要盲试。需要 API Key。无请求参数。

返回示例 ​

json
{
  "asset_types": ["silhouette", "solid", "gradient"],
  "shapes": ["circle", "rect", "ring", "triangle", "star", "heart", "diamond"],
  "animations": ["static", "open", "close", "wipe_lr", "wipe_rl", "wipe_tb", "wipe_bt", "pulse"],
  "mix_modes": ["正片叠底", "颜色减淡", "颜色加深", "线性加深", "柔光", "强光", "滤色", "叠加", "变亮", "变暗"]
}

完整返回还包含 usage_hint 字段,说明剪影产物的铺轨与混合模式搭配方式(白图形+黑底配滤色,反相后配正片叠底)。

个人自建服务