Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.78 KB

README_zh.md

File metadata and controls

52 lines (39 loc) · 1.78 KB

ComfyUIClient

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

English | 中文

安装

go get

go get -u github.com/XdpCs/comfyUIclient

go mod

require github.com/XdpCs/comfyUIclient

支持 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 目录中。

许可证

ComfyUIClient 遵循 MIT 许可。请参考 LICENSE 获取更多信息。