Skip to content

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

License

Notifications You must be signed in to change notification settings

XdpCs/ComfyUIClient

Repository files navigation

ComfyUIClient

GitHub watchers GitHub stars GitHub forks GitHub last commit GitHub repo size GitHub license

English | 中文

Install

go get

go get -u github.com/XdpCs/comfyUIclient

go mod

require github.com/XdpCs/comfyUIclient

Support the ComfyUI API

  • 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

Examples

All examples are in the examples directory.

License

ComfyUIClient is under the MIT. Please refer to LICENSE for more information.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages