This tool is an extension for ComfyUI that introduces additional API endpoints, specifically tailored to enhance the functionality of the Comfy Portal mobile application. It facilitates seamless interactions between the mobile app and the ComfyUI server, enabling users to convert, list, and save workflows programmatically.
- Enables workflow conversion to API-compatible formats for easier integration.
- Lists all workflows available in the user's directory, providing quick access to workflow metadata.
- Allows users to save workflows directly to the directory with customizable naming options.
Context
This extension serves as an enhancement to ComfyUI by providing extra API endpoints that are essential for the Comfy Portal application, a modern iOS client designed for interacting with ComfyUI. Its primary objective is to streamline the communication between the mobile app and the ComfyUI server, making it easier for users to manage their workflows.
Key Features & Benefits
The extension includes several practical features, such as the ability to convert workflows into a format compatible with API calls, which simplifies programmatic access. Additionally, it allows users to retrieve a list of all workflows, complete with metadata, making organization and selection more efficient. The save functionality also permits users to store workflows in the directory, with options for naming, thereby enhancing workflow management.
Advanced Functionalities
The extension employs the aiohttp framework for managing API requests, which allows for efficient asynchronous communication. It also incorporates a task queue system to handle workflow processing, ensuring that requests are managed systematically. Furthermore, built-in error handling and timeout mechanisms add to the robustness of the tool, making it reliable for users.
Practical Benefits
By integrating these API endpoints, users can significantly enhance their workflow efficiency within ComfyUI. The ability to convert, list, and save workflows programmatically not only provides greater control but also improves the overall quality and speed of interactions with the ComfyUI server. This results in a more streamlined and effective user experience.
Credits/Acknowledgments
This extension was developed by ShunL12324 and is licensed under the MIT License. It is designed to work specifically with the ComfyUI framework and the Comfy Portal application.