ComfyUI-Sokes-Nodes

ComfyUI-Sokes-Nodes
★ 3

文件管理时间戳latent生成项目设置
一组简洁的ComfyUI节点,提供文件名时间戳、空latent选择(9输入)、按扩展名列文件和全局文件夹/项目设置,便于自动化与项目管理
💡 批量生成时自动添加时间戳并管理文件与latent选择
🍴 2 Forks💻 Python🔄 2026-03-23
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/c73fe210bae7
📦 requirements.txt
webcolors
colormath
Pillow
opencv-python
numpy
requests>=2.31.0
#math
#included
already
📄 README

ComfyUI Sokes Nodes 🦬

=======

A small node suite for ComfyUI featuring the following nodes:

| Node | Description |

| — | — |

| Current Date & Time | Add the current date and or time to the filename with custom formatting. E.g. YYYY-MM-DD

Tip: Also supports python formated date & time properties

|

| Empty Latent Selector (9 Inputs) | Useful for generating a random latent dimentions based on a fixed set |

| Get Files in Folder with Extension | Gets a list of files with a specific extension from a given folder |

| Global Folder and Project Settings | Set save folder and project name

Tip: Used in conjunction with Save File Path and Name node(s)

|

| Hex to Color Name | Convert hex to descriptive color names for image-generation prompts |

| Load Random Image | Load a random image(s) and output optional alpha channel and reference image path(s)

Tip: You can use wildcards “*” and or “\|”‘s in the folder path input

|

| Random Number | A user friendly random number generator that supports int, float, and bool |

| Replace Text with RegEx | Useful for using RegEx for text replacement |

| Runpod Serverless | Call a Runpod serverless endpoint (text or image+text). Outputs: response_text, full_response, status, execution_time.

Tip: Set RUNPOD_API_KEY env var

|

| Save File Path and Name | Save path and filename formatting.

Tip: Used in conjunction with Global Folder and Project Settings node

|

| Street View Loader | Loads Google Street View images based on address or lat/lon. Outputs an image.

Tip: Set GOOGLE_STREET_VIEW_API_KEY env var

|


Instalation

To install nodes follow these steps:

Via ComfyUI Manager

  • Open ComfyUI Manager
  • Open Custom Nodes Manager
  • Search for “ComfyUI Sokes Nodes
  • Click Install
  • Manually

  • Open a terminal or a command line interface.
  • Navigate to the ComfyUI/custom_nodes/ directory.
  • Run the following command: “git clone https://github.com/m-sokes/ComfyUI-Sokes-Nodes.git
  • Activate your environment (assuming there is one)
  • pip install -r requirements.txt
  • Restart ComfyUI.

  • What is ComfyUI?

    ComfyUI is a node based interface and backend for all things AI related, including image, video, audio, and text generation.

    *Recommended ComfyUI extension: ComfyUI-Manager*


    Runpod Serverless node

  • Requirements: Set environment variable RUNPOD_API_KEY.
  • Note: For vision models, connect an IMAGE input; for text-only, leave it unconnected.
  • Street View Loader node

  • Requirements: Set environment variable GOOGLE_STREET_VIEW_API_KEY.

  • Why a bison 🦬 emoji?

    There’s no offical musk ox emoji…I’ll reached out to the Unicode Consortium.


    Future Node Concepts

  • [ ] Prompt Styler node with custom categories based on json file(s)
  • [ ] Palette-to-Prompt Builder
  • Get Files in Folder By Extension Node

  • Inputs: folder_path (string), file_extension (string).
  • Outputs: file_list (list of strings).
  • Note: The file_extension input can be provided with or without a leading dot (e.g., “mp3” or “.mp3”). The output list of files will be sorted alphabetically.
  • Hex to Color Name Node

  • Inputs: hex_color (string, comma-separated hex codes), use_css_name (boolean).