ComfyUI Extension: Fens-Simple-Nodes
Simple nodes for ComfyUI - Token Counter - Optimal Empty Latent
Custom Nodes (0)
README
<div align="center">
</div>
Fens Simple Nodes for ComfyUI
A suite of custom nodes designed for simplicity, flexibility, and power.
๐ How to Use
-
Install:
- Find
Fens-Simple-Nodesin ComfyUI-Manager, or - Clone this repo into your
ComfyUI/custom_nodesfolder.
- Find
-
Restart ComfyUI.
-
Drag the nodes into your workflow and enjoy!
๐ Whatโs Inside?
-
Token Counter:
Instantly count how many tokens are in your prompt, using a encoder.
Great for prompt engineering, troubleshooting, or just curiosity! -
Optimal Empty Latent:
Quickly get the perfect image size for your model and aspect ratio.- Enter aspect ratio as
16:9,1920x1080, or even1.7778 - Let the node pick the best resolution for your model, or set your own.
- Easily swap between portrait and landscape.
- Presets for SD1, SD2, SDXL, and more.
- Supports batch generation.
- Enter aspect ratio as
๐ผ๏ธ Screenshots
Token Counter Example:

WebUI-Forge Token count for comparison:

Optimal Empty Latent Example:
