Skip to content

Repository files navigation

rucomfyui

A Rust client for ComfyUI, and a few crates built around it.

rucomfyui generates a typed Rust interface for every node in ComfyUI's core distribution, so you build workflows with their inputs and outputs checked at compile time. It also covers queueing, live progress (over WebSocket or polling), and the rest of the API, on both native and WebAssembly.

A screenshot of the node graph showing a SDXL Turbo workflow

Libraries

  • rucomfyui - the client library: typed nodes, workflow construction, queueing, and optional live progress over WebSocket.
  • rucomfyui_node_graph - the ComfyUI node graph rebuilt in Rust with egui and egui-snarl.
  • rucomfyui_workflow_converter - turns ComfyUI API workflows (JSON) into Rust or Lua code.
  • rucomfyui_mlua - Lua bindings, for building workflows from scripts.

Binaries

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

About

A Rust client for ComfyUI with an emphasis on type safety and ergonomics.

Topics

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages