主题
get_transition_types
GET /get_transition_types
接口说明
查询当前环境支持的转场类型。返回结果可以传给 add_video 或 add_image 的 transition 参数,不要自行编造转场名称。
请求参数
无。
调用示例
bash
curl -X GET https://your-domain.example/api/get_transition_types \
-H "X-API-Key: $VECTCUT_API_KEY"返回格式
json
{
"success": true,
"output": [
{ "name": "_3D空间" },
{ "name": "上移" },
{ "name": "下移" }
],
"error": ""
}当前剪映环境实际返回 362 项,这里展示前 3 项。