|
2 | 2 | import folder_paths |
3 | 3 | import random |
4 | 4 |
|
| 5 | +# Default values for Raffle node |
| 6 | +DEFAULT_FILTER_OUT_TAGS = """monochrome, greyscale, |
| 7 | +anus, anus_peek, spread_anus, spreading_own_anus, spread_anus_under_clothes, |
| 8 | +anal, anal_only, after_anal, anal_fluid, |
| 9 | +anal_object_insertion, butt_plug, jewel_butt_plug, anal_beads, |
| 10 | +gaping, extreme_gaping, |
| 11 | +prolapse, anal_prolapse, fisting, anal_fisting, |
| 12 | +cross-section, cervix, cervical_penetration, uterus, internal_cumshot, x-ray, |
| 13 | +lactation, forced_lactation, male_lactation, projectile_lactation, lactation_through_clothes, breast_milk, |
| 14 | +female_pubic_hair, pubic_hair, pubic_hair_peek, |
| 15 | +male_focus, male_penetrated, interracial, dark-skinned_male, |
| 16 | +condom, used_condom, condom_wrapper, condom_in_mouth, holding_condom, condom_on_penis, multiple_condoms, condom_packet_strip, pointless_condom, condom_belt, condom_box, used_condom_on_penis, condom_left_inside, colored_condom, okamoto_condoms, condom_wrapper_in_clothes, condom_thigh_strap, buying_condoms, broken_condom, used_condom_in_clothes""" |
| 17 | + |
| 18 | +DEFAULT_EXCLUDE_TAGLISTS = "comic, 4koma, multiple_girls, multiple_boys, multiple_views, reference_sheet, 2girls, 3girls, 4girls, 5girls, 6+girls, 2boys, 3boys, 4boys, 5boys, 6+boys, gangbang, threesome, mmf_threesome, ffm_threesome, group_sex, cooperative_fellatio, cooperative_paizuri, double_handjob, surrounded_by_penises, furry, obese, yaoi, yuri, otoko_no_ko, strap-on, futa_with_female, futa_without_pussy, implied_futanari, futanari, diaper, fart, pee, peeing, pee_puddle, pee_stain, peeing_self, golden_shower, scat, guro, ero_guro, intestines, vore, horse_penis" |
| 19 | + |
| 20 | +DEFAULT_EXCLUDE_CATEGORIES = "clothes_and_accessories, female_physical_descriptors, named_garment_exposure, specific_garment_interactions, speech_and_text, standard_physical_descriptors, metadata_and_attribution, intentional_design_exposure, two_handed_character_items, holding_large_items, content_censorship_methods" |
| 21 | + |
5 | 22 | class Raffle: |
6 | 23 | @classmethod |
7 | 24 | def INPUT_TYPES(s): |
@@ -32,17 +49,17 @@ def INPUT_TYPES(s): |
32 | 49 | }), |
33 | 50 | "filter_out_tags": ("STRING", { |
34 | 51 | "multiline": True, |
35 | | - "default": "monochrome, greyscale", |
| 52 | + "default": DEFAULT_FILTER_OUT_TAGS, |
36 | 53 | "tooltip": "Additional tags to filter out from the final output. Use this to exclude more tags without needing to modify your main negative prompt." |
37 | 54 | }), |
38 | 55 | "exclude_taglists_containing": ("STRING", { |
39 | 56 | "multiline": True, |
40 | | - "default": "comic, 4koma, multiple_girls, multiple_boys, multiple_views, reference_sheet, 2girls, 3girls, 4girls, 5girls, 6+girls, 2boys, 3boys, 4boys, 5boys, 6+boys, gangbang, furry, yaoi, yuri, otoko_no_ko, strap-on, futa_with_female, futa_without_pussy, implied_futanari, futanari, diaper, fart, scat, guro, vore, horse_penis, prolapse, anal_prolapse, pee, peeing, pee puddle, pee stain", |
| 57 | + "default": DEFAULT_EXCLUDE_TAGLISTS, |
41 | 58 | "tooltip": "If ANY of these tags appear in the taglist, the entire taglist is removed from the pool of available taglists. Use with caution as each tag listed here can significantly reduce options. For removing individual tags without reducing the pool, use 'filter_out_tags' instead." |
42 | 59 | }), |
43 | 60 | "exclude_tag_categories": ("STRING", { |
44 | 61 | "multiline": True, |
45 | | - "default": "clothes_and_accessories, female_physical_descriptors, named_garment_exposure, specific_garment_interactions, speech_and_text, standard_physical_descriptors, metadata_and_attribution, intentional_design_exposure, two_handed_character_items, holding_large_items, content_censorship_methods", |
| 62 | + "default": DEFAULT_EXCLUDE_CATEGORIES, |
46 | 63 | "tooltip": "Exclude entire categories of tags from the final output. Each category contains related tags (e.g., 'poses' contains all pose-related tags). View the complete category list and their tags in the 'Debug info' output. Separate multiple categories with commas." |
47 | 64 | }) |
48 | 65 | }, |
|
0 commit comments