ComfyUI Node
Prompt Generator (Arctenox's Essentials)
Generates semi-random prompts by walking the tag co-occurrence graph. Give it seed tags and it finds naturally related ones. Use filter_tags to exclude anything you don't want in the output. Connect the prompt output directly to a CLIP Text Encode node.
Prompt Generator (Arctenox's Essentials)
- prompt
- debug_info
◄seed_tags►
◄filter_tags►
◄tag_count20►
◄sourceall►
◄ratingsafe►
◄variability0.50►
◄min_post_count500►
◄add_quality_tagstrue►
◄quality_tag_count3►
◄seed0►
◄exclude_artist_tagstrue►
◄exclude_copyright_tagstrue►
◄prepend_text►
◄append_text►
CategoryArctenox Essentials/Prompting
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| seed_tags | STRING | Comma-separated or one-per-line starting tags. The generator will find tags that naturally co-occur with these. Leave blank for a fully random starting point. | |
| filter_tags | STRING | Tags to EXCLUDE from generated output. Enter one per line or comma-separate them. Spaces and underscores are treated the same. Lines starting with # are treated as comments and ignored. Example: male_focus solo monochrome | |
| tag_count | INT | 201–80 | How many tags to generate (excluding prepend/append/quality). |
| source | COMBO | all | Which tag database to pull from. |
| rating | COMBO | safe | safe = exclude explicit/questionable tags nsfw = exclude safe-only tags all = no rating filter |
| variability | FLOAT | 0.500–1 | 0.0 = always pick the most co-occurring (predictable) 1.0 = heavily randomised selection (surprising) |
| min_post_count | INT | 5001–100000 | Ignore tags with fewer posts than this. Higher = more common tags only. |
| add_quality_tags | BOOLEAN | true | Prepend quality tags like 'masterpiece, best_quality'. |
| quality_tag_count | INT | 31–8 | — |
| seed | INT | 0-1–18446744073709550000 | -1 = random every run. 0+ = reproducible. |
| exclude_artist_tags | BOOLEAN | true | Strip artist tags (category 1) from the generated output. Useful when seed_tags come from Raffle unfiltered data which may include artist credits you don't want in the prompt. |
| exclude_copyright_tags | BOOLEAN | true | Strip copyright/series tags (category 3) from the generated output. e.g. 'arknights', 'genshin_impact', 'fate/grand_order'. |
| prepend_textopt | STRING | Text placed at the very start of the prompt (before quality tags). | |
| append_textopt | STRING | Text placed at the very end of the prompt. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| debug_info | STRING | — |