create_workflow
Create a new ComfyUI workflow starting from scratch or from a template, with optional overrides for prompt, checkpoint, and other parameters to tailor image, video, or audio generation.
Instructions
Create a new workflow, optionally from a template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable name for the workflow. | |
| template | No | Template to start from: "txt2img", "img2img", "upscale", "inpaint", "txt2video_ltxv", "img2video_ltxv", "flux_txt2img", "wan_txt2video", "wan_img2video", "dalle3", "gpt_image", "sora_video", or "merge_videos". Empty creates an empty workflow. | |
| overrides | No | JSON string of parameter overrides for the template (e.g. '{"prompt": "a cat", "checkpoint": "sdxl.safetensors"}'). | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||