Comfy-Org / Comfy-Org/ComfyUI

Workflow format in UI is not the same as API format - creates a lot of confusion and challenges

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

Description

Hi, I am creating an app that uses ComfyUI workflows for rendering and I wish to use the title of nodes like ids in CSS in order to tag nodes and inject them later with corresponding meaning data from my rendering app. Unfortunately the API json does not contain title, and we do not have the conversion function available in python. So I found a workaround which involves saving both jsons, and using the UI json for querying and prompt for injecting values and passing to the API. Imo this is confusing, it should be as easy as sending any ol' workflow json saved from the UI, no need for dev mode.

I understand why it was done this way, i.e. to cut down the amount of data passed around on the network. In my opinion the best solution is to allow both format to initiate a job in the queue.

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.