主题
get_mask_types
GET /get_mask_types
接口说明
查询当前环境支持的蒙版类型。返回结果可以传给 add_masks 的 name 或 mask_type 参数;矩形蒙版还可以继续设置圆角。
请求参数
无。
调用示例
bash
curl -X GET https://your-domain.example/api/get_mask_types \
-H "X-API-Key: $VECTCUT_API_KEY"返回格式
json
{
"success": true,
"output": [
{ "name": "线性" },
{ "name": "镜面" },
{ "name": "圆形" }
],
"error": ""
}当前剪映环境实际返回 6 项,这里展示前 3 项。