#164 · Primary category: Image Generation

anynode

A Node for ComfyUI that does what you ask it to do

Project last updated:07/07/24

GitHub Stars

547

Forks

41

Contributors

2

License

MIT

Why we included this project

ComfyUI users who need a small piece of logic between nodes that doesn't exist yet can let AnyNode write it for them. You describe what you want done with the inputs and outputs, and the node generates a Python function that runs inside the workflow, handling transformations, formatting, or small computations without hand-coding a new node. It works with OpenAI, Gemini, or any OpenAI-compatible local server such as Ollama or vLLM, so you can keep everything on your own hardware if you prefer. The generated code passes through a sanitizer and runs with a curated import list, with no file or network access, which addresses the obvious risk of letting a model execute code. It is still beta and best for single-purpose helper nodes rather than complex logic, but for prototyping custom behavior inside ComfyUI it removes a real bottleneck.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category