ComfyUI-Artha-Nodes
ComfyUI custom nodes for general purpose.
Nodes (45)
The pause button your ComfyUI workflow never had
Describe a character's body without fumbling for words
Build a camera spec without knowing a lens from a stock setting
Turn a reference photo into a clothing description
Where the Artha prompt actually gets written
Squeeze a bloated prompt down to a word budget
A face-description builder that does the vocab for you
Tick the muscles you want and get a fitness description
Google's image model, called from inside ComfyUI
A tidy little box for writing system prompts
Pick a lighting look from a list instead of a blank prompt box
Read the makeup off a reference photo, reliably
Readable output without the markdown soup
Get a real description of a video, frames and all
Edit text by telling it what to change, not how
The character writer of the Artha pack
Turn a throwaway prompt into something a model can work with
A one-shot Q&A node for when you don't need a chatbot
The output node that shows you what Gemini actually said
Build a scene from categories instead of a blank canvas
Artha Gemini Speech turns text into spoken audio
Artha Gemini Style builds them from dropdowns (or from a reference image)
The node that writes your subject prompt for you (or reads it off a reference image)
Localize your prompts without leaving the graph
Artha Gemini Vision is a captioning workhorse
Make your generations actually look like the reference
The pack's answer to 'I just want to see the image'
PNG saving with an actual compression slider
Resize, crop, pad, rotate and flip in one node
A runtime switch for picking which value flows through
The simplest way to get a Boolean into your graph
Turn 'is A bigger than B?' into a Boolean the graph can act on
AND, OR, XOR and friends for your workflow's conditionals
A Boolean-controlled valve for any value in your graph
See your Boolean in the console without breaking the flow
Convert a float to an integer (and get the text for free)
A float constant with the string version attached
The int-to-float converter that also hands you a string
A whole-number constant with its text form wired in
Turn any number into visible text in your workflow
Real Math in ComfyUI Without a Stack of Cast Nodes
A Random Node That Actually Gives You a New Number Every Run
Project, Seed, Model, Date
A Seed Node That Keeps Receipts
Tell ComfyUI What Project You're Working On β and Get a Folder
ComfyUI-Artha-Nodes
ComfyUI custom nodes for general purpose.
Installation
- Clone this repo into ComfyUI
custom_nodesfolder. - Install dependencies:
pip install -r requirements.txtor if you use the portable install, run this inside ComfyUI root folder:
python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-Artha-Nodes\requirements.txt
Gemini API
You will need a Gemini API key to use the Gemini custom nodes. To get your API key, visit the Google AI Studio from the link below.
<a href="https://aistudio.google.com" target="_blank">GOOGLE AI STUDIO</a>
Once you have your API key, it's good practice to place it in the api.json file located in the ComfyUI/custom_nodes/ComfyUI-Artha-Nodes folder. Alternatively, you can enter it directly into the custom node's api_key field, but be aware that it will be visible in plain text.
You may also choose to define GEMINI_API_KEY as a global variable.