StableCanvas/comfyui-client
StableCanvas/comfyui-client has 151 GitHub stars and 18 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-09 04:27 UTC. Last push 2026-10-25.
all ComfyUI http/ws APIs. support NodeJS / Browser environments. and advanced programmable workflow.
What you can do
- Environment Compatibility: Seamlessly functions in both NodeJS and Browser environments.
- Comprehensive API Support: Provides full support for all available RESTful and WebSocket APIs.
- TypeScript Typings: Comes with built-in TypeScript support for type safety and better development experience.
- Programmable Workflows: Introduces a human-readable and highly customizable workflow interface inspired by this issue and this library.
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original@stable-canvas/comfyui-client
Javascript api Client for ComfyUI that supports both NodeJS and Browser environments.
This client provides comprehensive support for all available RESTful and WebSocket APIs, with built-in TypeScript typings for enhanced development experience. Additionally, it introduces a programmable workflow interface, making it easy to create and manage workflows in a human-readable format.
Index
Sub README
- ⭐ client: This is the main readme which contains very detailed instructions and examples
- cli
- cw-reader
- transpiler
Auto Docs
Tools
- ⭐ Online Transpiler: Online convert workflow to code.
Blogs
- Comfyui Monitor #24: A Real-Time Dashboard for Your ComfyUI Workflow
- Report #22: Possible Event Loss / Misordered executing Events When History Grows Large
- ComfyUI_Base64_IO #21: A companion node pack for Distributed Inference & Caching
- Online Transpiler #20: Convert Workflows to Code Instantly
Features
- Environment Compatibility: Seamlessly functions in both NodeJS and Browser environments.
- Comprehensive API Support: Provides full support for all available RESTful and WebSocket APIs.
- TypeScript Typings: Comes with built-in TypeScript support for type safety and better development experience.
- Programmable Workflows: Introduces a human-readable and highly customizable workflow interface inspired by this issue and this library.
- Ease of Use: Both implementation and usage are designed to be intuitive and user-friendly.
- Zero Dependencies: This library is designed to minimize the introduction of external dependencies and is currently dependency-free.
Packages
This library has been refactored from a single-package structure into a monorepo, now containing the following packages to support various development scenarios:
| Package | Description | Location |
|---|---|---|
@stable-canvas/comfyui-client |
Core client library for interacting with ComfyUI via REST and WebSocket APIs. | packages/client |
@stable-canvas/comfyui-client-cli |
CLI tool that converts ComfyUI workflows into JavaScript code. Ideal for scripting and automation. | packages/client-cli |
@stable-canvas/cw-reader |
read workflow(comfyui) info from image/json | packages/cw-reader |
@stable-canvas/comfyui-client-transpiler |
Low-level transpiler used by the CLI. Contains AST parsing and code generation logic. | packages/transpiler |
Each package includes its own README for usage and development details.
License
MIT
Explore related projects
ytdl-org/youtube-dl
Command-line program to download videos from YouTube.com and other video sites
141,500 starsexcalidraw/excalidraw
Virtual whiteboard for sketching hand-drawn like diagrams
135,396 starsgodotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine
119,840 starsmrdoob/three.js
JavaScript 3D Library.
117,905 stars