Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.