Skip to content

Accept the ComfyUI default UI format workflow file #16

@yondonfu

Description

@yondonfu

ComfyUI supports two different formats for exported workflows:

  • The default format (I'll call this the "UI" format) as seen here.
  • The API format as seen here.

A UI format workflow can be dropped into ComfyUI to load the workflow in the editor. An API format workflow can be send to the ComfyUI backend server to execute the workflow.

At the moment, the ComfyStreamClient only accepts workflows in the API format. So, it is encouraged for ComfyUI/ComfyStream users to export the workflow in API format. The problem with this is that if the user wants to make further changes to the workflow later on they wouldn't be able to easily do so unless they also previously exported the workflow in UI format.

It would be convenient if the user could export a workflow in a single format from ComfyUI and then be able to do the following:

  • Give the workflow to ComfyStream to run it on a video stream
  • Drop the workflow back into ComfyUI to make further changes

Perhaps the ComfyStreamClient can be updated to accept the UI format and just translate it to the API format under the hood? This would allow the user to just export the workflow from ComfyUI in UI format resulting in a single file that can be dropped into ComfyStream or dropped back into ComfyUI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions