Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xdpcs/comfyuiclient
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
https://github.com/xdpcs/comfyuiclient
aigc comfyui comfyui-client-go go golang stable-diffusion
Last synced: 6 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/xdpcs/comfyuiclient
- Owner: XdpCs
- License: mit
- Created: 2023-12-06T04:44:31.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-04-10T05:43:39.000Z (7 months ago)
- Last Synced: 2024-10-30T10:25:08.524Z (16 days ago)
- Topics: aigc, comfyui, comfyui-client-go, go, golang, stable-diffusion
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 18
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ComfyUIClient
![GitHub watchers](https://img.shields.io/github/watchers/XdpCs/ComfyUI-Client?style=social)
![GitHub stars](https://img.shields.io/github/stars/XdpCs/ComfyUI-Client?style=social)
![GitHub forks](https://img.shields.io/github/forks/XdpCs/ComfyUI-Client?style=social)
![GitHub last commit](https://img.shields.io/github/last-commit/XdpCs/ComfyUI-Client?style=flat-square)
![GitHub repo size](https://img.shields.io/github/repo-size/XdpCs/ComfyUI-Client?style=flat-square)
![GitHub license](https://img.shields.io/github/license/XdpCs/ComfyUI-Client?style=flat-square)[English](README.md) | [中文](README_zh.md)
## Install
`go get`
```shell
go get -u github.com/XdpCs/comfyUIclient
````go mod`
```shell
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](LICENSE). Please refer to LICENSE for more information.