Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Programmatically open the workflow.json or workflow template

Open
#3,696 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

For example, there is an integration service that executes ComfyUI workflows using Comfy.

But sometimes there may be errors or workflow modifications are needed, and it is necessary to open the workflow in ComfyUI frontend for easy and quick editing.

A programmatic way is needed to open ComfyUI frontend from a `json` file with a workflow or from a template.

### Proposed workflow

Ideally, it would be nice to have some endpoint, like `/open_workflow`, that takes the workflow content as payload and returns a ComfyUI page to open it in.

It will eliminate need of downloading `workflow.json` and doing with hands Workflow->Open with hands.

A way to open workflow from `template` as alternative solution - is good either.

### Additional information

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-3696-Feature-Request-Programmatically-open-the-workflow-json-or-workflow-template-1e56d73d3650816c96a6e0ba17d8bf2f) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.