π± Artha Gemini Style
Artha Gemini Style builds them from dropdowns (or from a reference image)
- image
- style
- markdown
Artha Gemini Style is the π± Artha pack's answer to one of the most boring parts of prompting: describing a visual style in words. Instead of typing "golden hour, film grain, impressionist brushwork" and hoping the model agrees with you, you assemble a style from five categorized dropdowns - or, if you have a reference image, let Gemini look at it and write the style description for you.
It's part of the pack's "Gemini as your prompt engineer" layer. Style, Subject, and friends produce structured outputs that feed into other Artha nodes, so you can compose a full image or video prompt without juggling forty comma-separated fragments. If you've ever envied people who write gorgeous long-form prompts, this is the closest thing to outsourcing it.
How it works
The five combo inputs - traditional, modern, photographic, named, inspired - are each populated from a bundled catalog (compose.json) of style options grouped by category. Pick one from each (or leave them at NONE), and with use_image off the node just packages your selections into a style dict (the ARTHASTYLE custom type) plus a markdown string that renders the whole catalog as a reference cheat-sheet.
Flip use_image on and feed an image in, and it stops being a local picker. The node converts your tensor to a PIL image, sends it to Gemini with a bundled "describe this style" system prompt, and returns Gemini's prose description of the reference's style. Anything non-style gets filtered out, so you get a clean paragraph you can drop into a prompt.
Inputs that matter
- traditional / modern / photographic / named / inspired - the five style axes. All default to
NONE; the dropdowns contain real option names from the bundled catalog. - use_image - the big switch. Off = you pick from dropdowns; on = Gemini reads the image.
- image - optional IMAGE input, used only when
use_imageis on. - api_key, model, max_tokens, temperature - the standard Artha Gemini block; model defaults to
gemini-2.5-flash.
Outputs are style (ARTHASTYLE) and markdown (STRING). The style output is what wires into the rest of the Artha prompt-builder chain; the markdown is handy for a quick visual reference widget.
Installing it
It ships in the one-pack install, same as all Artha nodes:
cd ComfyUI/custom_nodes
git clone https://github.com/Cyrostar/ComfyUI-Artha-Nodes
pip install -r ComfyUI/custom_nodes/ComfyUI-Artha-Nodes/requirements.txt
then restart ComfyUI. ComfyUI Manager users can just search "ComfyUI-Artha-Nodes". The heavy lifting here is google-genai plus the usual torch/numpy/Pillow stack - no model files to download. You do need a Gemini API key from aistudio.google.com, stored in the pack's api.json (gemini_api_key), as a GEMINI_API_KEY env var, or pasted into the node field (which the pack itself warns is visible plain text).
Common issues
- Empty style output in image mode: missing or bad API key again. The node prints the error to the console.
use_imageon but no image wired: nothing to analyze - wire the image input or flip the toggle off.- Cloud quota: image description calls use the same free-tier metering as everything else; a busy batch of reference images can burn through it.
- The dropdowns look sparse: options come from the pack's own
compose.json, so the vocabulary is what Cyrostar curated, not an exhaustive art dictionary. You won't find every niche style - that's what theinspiredfree-form vibe is for.
The honest take: the use_image mode is the reason this node exists - reference-based style description is genuinely useful when you have a look you can't name. The dropdown-only mode is nice, but it's really a structured alternative to typing, not a magic upgrade.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| traditional | COMBO | NONE | 14 options: NONE, IMPRESSIONISM, EXPRESSIONISM, CUBISM, SURREALISM, BAROQUE, +8 |
| modern | COMBO | NONE | 13 options: NONE, CYBERPUNK, SYNTHWAVE, VAPORWAVE, ANIME, MANGA, +7 |
| photographic | COMBO | NONE | 9 options: NONE, CINEMATIC, VINTAGE, POLAROID, BLACK AND WHITE, HDR, +3 |
| named | COMBO | NONE | 14 options: NONE, GHIBLI STYLE, DISNEY STYLE, PIXAR STYLE, DREAMWORKS STYLE, TIM BURTON STYLE, +8 |
| inspired | COMBO | NONE | 19 options: NONE, VAN GOGH STYLE, PICASSO STYLE, DALI STYLE, MONET STYLE, MATISSE STYLE, +13 |
| api_key | STRING | API key will be visible in plain text. Consider adding your api to the api.json located inside this custom node folder. | |
| model | COMBO | gemini-2.5-flash | 5 options: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash, gemini-2.0-flash-lite |
| max_tokens | INT | 50001β8192 | For Gemini models, a token is equivalent to about 4 characters. 100 tokens is equal to about 60β80 English words. |
| temperature | FLOAT | 0.70β2 | A temperature of 0 means only the most likely tokens are selected. Higher values increase randomness. |
| use_image | BOOLEAN | false | β |
| imageopt | IMAGE | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| style | ARTHASTYLE | β |
| markdown | STRING | β |