Skip to content
Akatsuzi edited this page Dec 13, 2023 · 10 revisions

Q. What skills do I need to make custom nodes?

A. Beginners level python should be enough to get you started. A knowledge of js would also be very useful for making js extensions for your node pack.


Q. What tools do I need to make custom nodes?

A. The following would be useful:

  • Notepad++
  • GitHub Desktop
  • Visual Studio Code (VS Code)

Q. Can a node pack contain 1 node?

A. Yes, it can contain any number of nodes.


Q. How many python files do I need for my node pack?

A. Normally you will need at least two files, one for the init and one for the nodes. It is possible to combine the init and nodes in a single file but this may be difficult to manage if your node pack grows. You can create as many files and folders as you need, and use your init file to manage them.


Q. Should I put my custom nodes in a folder?

A. The folder will be automatically created from your github project. The folder name will be the same as your github project name. ComfyUI Manager will automatically import from your main branch.


Q. Do I need a github project?

A. It is recommended to create a project because it will facilitate installations via ComfyUI Manager. It is also useful for collaborative work and pull requests. It is possible to distribute nodes on sites like CivitAI but it is harder for users to keep their node packs updated.


Q. How do I add my nodes on ComfyUI Manager?

A. If the custom nodes are in a public github project and properly setup then they should be automatically picked up by ComfyUI Manager.


Q. Do I need js event handlers and apps?

A. For most nodes they are not needed. js extensions can be useful for things like:

  • dynamic widgets
  • dynamic inputs or outputs
  • color pickers
  • drawing and canvas apps (e.g. real time painting or open pose manipulation)