go get
go get -u github.com/XdpCs/comfyUIclient
go mod
require github.com/XdpCs/comfyUIclient
- POST /prompt => func QueuePromptByString, QueuePromptByNodes
- POST /queue => func DeleteAllQueues, DeleteQueueByPromptID
- POST /history => func DeleteAllHistories, DeleteHistoryByPromptID
- POST /interrupt => func InterruptExecution
- POST /upload/image => func UploadImage
- POST /upload/mask => func UploadMask
- GET /embeddings => func GetEmbeddings
- GET /extensions => func GetExtensions
- GET /view => func GetFile
- GET /view_metadata/{folder_name} => func GetViewMetadata
- GET /system_stats => func GetSystemStats
- GET /prompt => func GetQueueRemaining
- GET /history => func GetAllHistories
- GET /history/{prompt_id} => func GetHistoryByPromptID
- GET /queue => func GetQueueInfo
- GET /object_info => func GetObjectInfos
- GET /object_info/{node_class} => func GetObjectInfoByNodeName
All examples are in the examples
directory.
ComfyUIClient is under the MIT. Please refer to LICENSE for more information.