Skip to content

execute_workflow ​

POST /execute_workflow

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

接口说明 ​

POST /workflow/run 的兼容别名,请求和返回完全一致。新代码建议使用 /workflow/run。

示例 ​

json
{
  "steps": [
    {"id": "create", "action": "create_draft", "params": {"width": 1080, "height": 1920}},
    {"id": "img", "action": "add_image", "params": {"image_url": "https://example.com/a.png", "start": 0, "end": 5}}
  ]
}

返回结构与 /workflow/run 相同,output.draft_id 是最终草稿 ID。

个人自建服务