| Crates.io | comfyui-client |
| lib.rs | comfyui-client |
| version | 0.4.0 |
| created_at | 2025-03-09 01:15:29.863634+00 |
| updated_at | 2025-05-01 02:03:38.017308+00 |
| description | Rust client for comfyui. |
| homepage | |
| repository | https://github.com/jmjoy/comfyui-client |
| max_upload_size | |
| id | 1584995 |
| size | 146,027 |
Rust client for ComfyUI.
The following table lists the available APIs in ComfyUIClient:
| Method | URL | Purpose | Client Method |
|---|---|---|---|
| GET | /history/{prompt_id} |
Retrieves the history for a specified prompt | get_history |
| GET | /prompt |
Retrieves the current prompt information | get_prompt |
| GET | /view |
Retrieves view data for a file (e.g., images) | get_view |
| POST | /prompt |
Sends a prompt in JSON format | post_prompt |
| POST | /upload/image |
Uploads an image to ComfyUI | upload_image |
Additionally, the client establishes a WebSocket connection to /ws to receive real-time events from ComfyUI.
Refer to examples.
MulanPSL-2.0