Comfy-Org / Comfy-Org/ComfyUI

How to open ComfyUI with a specific workflow preloaded from an external UI?

Open
#7,381 2 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Your question

I'm building a custom UI using Gradio that includes a "View Workflow" button. This button opens my ComfyUI instance in a new tab (http://:8888). However, the workflow doesn't load automatically.

Is there a way to load a specific ComfyUI workflow (e.g., flux1_dev.json) when opening the ComfyUI interface via link or programmatically through the API?

Any advice on how to trigger workflow loading from an external UI would be appreciated!

### Logs

```powershell

```

### Other

_No response_

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.