ComfyUIClient
ComfyUIClient copied to clipboard
ComfyUIClient aims to make it easier for users to interact with it by enabling code-based calls, facilitating the automation of tasks. https://github.com/comfyanonymous/ComfyUI
ComfyUIClient
English | 中文
Install
go get
go get -u github.com/XdpCs/comfyUIclient
go mod
require github.com/XdpCs/comfyUIclient
Support the ComfyUI API
- [x] POST /prompt => func QueuePromptByString, QueuePromptByNodes
- [x] POST /queue => func DeleteAllQueues, DeleteQueueByPromptID
- [x] POST /history => func DeleteAllHistories, DeleteHistoryByPromptID
- [x] POST /interrupt => func InterruptExecution
- [x] POST /upload/image => func UploadImage
- [x] POST /upload/mask => func UploadMask
- [X] GET /embeddings => func GetEmbeddings
- [X] GET /extensions => func GetExtensions
- [X] GET /view => func GetFile
- [X] GET /view_metadata/{folder_name} => func GetViewMetadata
- [X] GET /system_stats => func GetSystemStats
- [X] GET /prompt => func GetQueueRemaining
- [X] GET /history => func GetAllHistories
- [X] GET /history/{prompt_id} => func GetHistoryByPromptID
- [X] GET /queue => func GetQueueInfo
- [X] GET /object_info => func GetObjectInfos
- [X] GET /object_info/{node_class} => func GetObjectInfoByNodeName
Examples
All examples are in the examples
directory.
License
ComfyUIClient is under the MIT. Please refer to LICENSE for more information.