Skip to content

list_workflow_presets ​

GET /workflow/presets

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

接口说明 ​

列出全部已保存的工作流预设,只返回摘要,不返回完整步骤。只读接口。

请求参数 ​

无。

示例 ​

bash
curl https://your-domain.example/api/workflow/presets \
  -H "X-API-Key: $VECTCUT_API_KEY"

返回:

json
{
  "success": true,
  "output": {
    "presets": [
      {
        "name": "image_caption",
        "description": "封面加标题",
        "input_names": ["cover", "title"],
        "step_count": 3,
        "updated_at": "2026-01-01T00:00:00Z"
      }
    ],
    "total": 1
  },
  "error": ""
}

需要完整步骤时再调用 POST /workflow/presets/get。

个人自建服务