ComfyUI Extension: Fens-Simple-Nodes

Authored by Taithrah

Created

Updated

0 stars

Simple nodes for ComfyUI - Token Counter - Optimal Empty Latent

Custom Nodes (0)

    README

    <div align="center">

    English License submit issue

    </div>

    Fens Simple Nodes for ComfyUI

    A suite of custom nodes designed for simplicity, flexibility, and power.

    🚀 Quickstart

    1. Install:

      • Find Fens-Simple-Nodes in ComfyUI-Manager, or
      • Clone this repo into ComfyUI/custom_nodes.
    2. Restart ComfyUI.

    ✨ Features at a Glance

    • Token Counter:
      Instantly count tokens in your prompt using your favorite encoder—just like A1111, Forge, and more.

    • Optimal Empty Latent:
      Effortlessly generate the perfect latent size for your model and aspect ratio.

      • Flexible input: Enter aspect ratio as 16:9, 1920x1080, or 1.7778—whatever feels natural!
      • Smart optimization: Let the node pick the best resolution for your model, or specify your own.
      • Portrait/Landscape swap: Instantly invert width and height.
      • Model-aware: Presets for SD1, SD2, SDXL, and more—no guesswork.
      • Batch support: Generate multiple latents in one go.

    🖼️ Examples

    Token Counter

    TokenCount

    WebUI-Forge Comparison

    ForgeCount

    Optimal Empty Latent

    OptimalEmptyLatent