├── .gitignore ├── examples └── sdxl_prompt_styler.png ├── __init__.py ├── LICENSE ├── README.md ├── sdxl_prompt_styler.py └── sdxl_styles.json /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ -------------------------------------------------------------------------------- /examples/sdxl_prompt_styler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZHO-ZHO-ZHO/sdxl_prompt_styler-Zh-Chinese/HEAD/examples/sdxl_prompt_styler.png -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | from .sdxl_prompt_styler import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS 2 | 3 | __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 twri 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SDXL Prompt Styler 简体中文版 2 | 3 | 声明:我并不是SDXL Prompt Styler的作者,我只是做了汉化,原作者在[SDXL Prompt Styler](https://github.com/twri/sdxl_prompt_styler) 4 | 5 | 我做的其他汉化内容: 6 | 7 | - ComfyUI界面汉化详见:[ComfyUI 简体中文版](https://github.com/ZHO-ZHO-ZHO/ComfyUI-ZHO-Chinese) 8 | 9 | - ComfyUI Manager汉化详见:[ComfyUI-Manager 简体中文版](https://github.com/ZHO-ZHO-ZHO/ComfyUI-Manager-Zh-Chinese) 10 | 11 | ![76787248eecc6f6b9d2d1fc9c628839](https://github.com/ZHO-ZHO-ZHO/sdxl_prompt_styler-Zh-Chinese/assets/140084057/d5c26d50-6d4f-4194-9db4-3676d6bed1ce) 12 | 13 | 14 | ----------------- 15 | 16 | SDXL Prompt Styler 17 | ======= 18 | Custom node for ComfyUI 19 | ----------- 20 | ![SDXL Prompt Styler Screenshot](examples/sdxl_prompt_styler.png) 21 | 22 | SDXL Prompt Styler is a node that enables you to style prompts based on predefined templates stored in a JSON file. The node specifically replaces a {prompt} placeholder in the 'prompt' field of each template with provided positive text. 23 | 24 | The node also effectively manages negative prompts. If negative text is provided, the node combines this with the 'negative_prompt' field from the template. If no negative text is supplied, the system defaults to using the 'negative_prompt' from the JSON template. This flexibility enables the creation of a diverse and specific range of negative prompts. 25 | 26 | ### Usage Example with SDXL Prompt Styler 27 | 28 | Template example from a JSON file: 29 | 30 | ```json 31 | [ 32 | { 33 | "name": "base", 34 | "prompt": "{prompt}", 35 | "negative_prompt": "" 36 | }, 37 | { 38 | "name": "enhance", 39 | "prompt": "breathtaking {prompt} . award-winning, professional, highly detailed", 40 | "negative_prompt": "ugly, deformed, noisy, blurry, distorted, grainy" 41 | } 42 | ] 43 | ``` 44 | 45 | ```python 46 | style = "enhance" 47 | positive_prompt = "a futuristic pop up tent in a forest" 48 | negative_prompt = "dark" 49 | ``` 50 | 51 | This will generate the following styled prompts as outputs: 52 | 53 | ``` 54 | breathtaking a futuristic pop up tent in a forest . award-winning, professional, highly detailed 55 | ugly, deformed, noisy, blurry, distorted, grainy, dark 56 | ``` 57 | 58 | ### Installation 59 | 60 | To install and use the SDXL Prompt Styler nodes, follow these steps: 61 | 62 | 1. Open a terminal or command line interface. 63 | 2. Navigate to the `ComfyUI/custom_nodes/` directory. 64 | 3. Run the following command: 65 | ```git clone https://github.com/twri/sdxl_prompt_styler.git``` 66 | 4. Restart ComfyUI. 67 | 68 | This command clones the SDXL Prompt Styler repository into your `ComfyUI/custom_nodes/` directory. You should now be able to access and use the nodes from this repository. 69 | 70 | ### Inputs 71 | 72 | * **text_positive** - text for the positive base prompt G 73 | * **text_negative** - text for the negative base prompt G 74 | * **log_prompt** - print inputs and outputs to stdout 75 | 76 | ### Outputs 77 | 78 | * **positive_prompt_text_g** - combined prompt with style for positive promt G 79 | * **negative_prompt_text_g** - combined prompt with style for negative promt G 80 | -------------------------------------------------------------------------------- /sdxl_prompt_styler.py: -------------------------------------------------------------------------------- 1 | import json 2 | import os 3 | 4 | def read_json_file(file_path): 5 | try: 6 | # Open file, load JSON content into python dictionary, and return it. 7 | with open(file_path, 'r', encoding='utf-8') as file: 8 | json_data = json.load(file) 9 | return json_data 10 | except Exception as e: 11 | print(f"An error occurred: {str(e)}") 12 | 13 | 14 | def read_sdxl_styles(json_data): 15 | # Check that data is a list 16 | if not isinstance(json_data, list): 17 | print("Error: input data must be a list") 18 | return None 19 | 20 | names = [] 21 | 22 | # Iterate over each item in the data list 23 | for item in json_data: 24 | # Check that the item is a dictionary 25 | if isinstance(item, dict): 26 | # Check that 'name' is a key in the dictionary 27 | if 'name' in item: 28 | # Append the value of 'name' to the names list 29 | names.append(item['name']) 30 | 31 | return names 32 | 33 | def read_sdxl_templates_replace_and_combine(json_data, template_name, positive_prompt, negative_prompt): 34 | try: 35 | # Check if json_data is a list 36 | if not isinstance(json_data, list): 37 | raise ValueError("Invalid JSON data. Expected a list of templates.") 38 | 39 | for template in json_data: 40 | # Check if template contains 'name' and 'prompt' fields 41 | if 'name' not in template or 'prompt' not in template: 42 | raise ValueError("Invalid template. Missing 'name' or 'prompt' field.") 43 | 44 | # Replace {prompt} in the matching template 45 | if template['name'] == template_name: 46 | positive_prompt = template['prompt'].replace('{prompt}', positive_prompt) 47 | 48 | json_negative_prompt = template.get('negative_prompt', "") 49 | if negative_prompt: 50 | negative_prompt = f"{json_negative_prompt}, {negative_prompt}" if json_negative_prompt else negative_prompt 51 | else: 52 | negative_prompt = json_negative_prompt 53 | 54 | return positive_prompt, negative_prompt 55 | 56 | # If function hasn't returned yet, no matching template was found 57 | raise ValueError(f"No template found with name '{template_name}'.") 58 | 59 | except Exception as e: 60 | print(f"An error occurred: {str(e)}") 61 | 62 | 63 | class SDXLPromptStyler: 64 | 65 | def __init__(self): 66 | pass 67 | 68 | @classmethod 69 | def INPUT_TYPES(self): 70 | # Get current file's directory 71 | p = os.path.dirname(os.path.realpath(__file__)) 72 | # Construct 'sdxl_styles.json' path 73 | file_path = os.path.join(p, 'sdxl_styles.json') 74 | 75 | # Read JSON from file 76 | self.json_data = read_json_file(file_path) 77 | # Retrieve styles from JSON data 78 | styles = read_sdxl_styles(self.json_data) 79 | 80 | return { 81 | "required": { 82 | "text_positive": ("STRING", {"default": "", "multiline": True}), 83 | "text_negative": ("STRING", {"default": "", "multiline": True}), 84 | "style": ((styles), ), 85 | "log_prompt": (["No", "Yes"], {"default":"No"}), 86 | }, 87 | } 88 | 89 | RETURN_TYPES = ('STRING','STRING',) 90 | RETURN_NAMES = ('positive_prompt_text_g','negative_prompt_text_g',) 91 | FUNCTION = 'prompt_styler' 92 | CATEGORY = 'utils' 93 | 94 | def prompt_styler(self, text_positive, text_negative, style, log_prompt): 95 | # Process and combine prompts in templates 96 | # The function replaces the positive prompt placeholder in the template, 97 | # and combines the negative prompt with the template's negative prompt, if they exist. 98 | positive_prompt, negative_prompt = read_sdxl_templates_replace_and_combine(self.json_data, style, text_positive, text_negative) 99 | 100 | # If logging is enabled (log_prompt is set to "Yes"), 101 | # print the style, positive and negative text, and positive and negative prompts to the console 102 | if log_prompt == "Yes": 103 | print(f"style: {style}") 104 | print(f"text_positive: {text_positive}") 105 | print(f"text_negative: {text_negative}") 106 | print(f"positive_prompt: {positive_prompt}") 107 | print(f"negative_prompt: {negative_prompt}") 108 | 109 | return positive_prompt, negative_prompt 110 | 111 | 112 | NODE_CLASS_MAPPINGS = { 113 | "SDXLPromptStyler": SDXLPromptStyler, 114 | } 115 | 116 | NODE_DISPLAY_NAME_MAPPINGS = { 117 | "SDXLPromptStyler": "SDXL Prompt Styler", 118 | } 119 | -------------------------------------------------------------------------------- /sdxl_styles.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "官方-无风格", 4 | "prompt": "{prompt}", 5 | "negative_prompt": "" 6 | }, 7 | { 8 | "name": "官方-3d 模型", 9 | "prompt": "professional 3d model {prompt} . octane render, highly detailed, volumetric, dramatic lighting", 10 | "negative_prompt": "ugly, deformed, noisy, low poly, blurry, painting" 11 | }, 12 | { 13 | "name": "官方-胶片", 14 | "prompt": "analog film photo {prompt} . faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage", 15 | "negative_prompt": "painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured" 16 | }, 17 | { 18 | "name": "官方-动画", 19 | "prompt": "anime artwork {prompt} . anime style, key visual, vibrant, studio anime, highly detailed", 20 | "negative_prompt": "photo, deformed, black and white, realism, disfigured, low contrast" 21 | }, 22 | { 23 | "name": "官方-电影", 24 | "prompt": "cinematic film still {prompt} . shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy", 25 | "negative_prompt": "anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured" 26 | }, 27 | { 28 | "name": "官方-漫画书", 29 | "prompt": "comic {prompt} . graphic illustration, comic art, graphic novel art, vibrant, highly detailed", 30 | "negative_prompt": "photograph, deformed, glitch, noisy, realistic, stock photo" 31 | }, 32 | { 33 | "name": "官方-手工粘土", 34 | "prompt": "play-doh style {prompt} . sculpture, clay art, centered composition, Claymation", 35 | "negative_prompt": "sloppy, messy, grainy, highly detailed, ultra textured, photo" 36 | }, 37 | { 38 | "name": "官方-数码艺术", 39 | "prompt": "concept art {prompt} . digital artwork, illustrative, painterly, matte painting, highly detailed", 40 | "negative_prompt": "photo, photorealistic, realism, ugly" 41 | }, 42 | { 43 | "name": "官方-增强", 44 | "prompt": "breathtaking {prompt} . award-winning, professional, highly detailed", 45 | "negative_prompt": "ugly, deformed, noisy, blurry, distorted, grainy" 46 | }, 47 | { 48 | "name": "官方-幻想艺术", 49 | "prompt": "ethereal fantasy concept art of {prompt} . magnificent, celestial, ethereal, painterly, epic, majestic, magical, fantasy art, cover art, dreamy", 50 | "negative_prompt": "photographic, realistic, realism, 35mm film, dslr, cropped, frame, text, deformed, glitch, noise, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, sloppy, duplicate, mutated, black and white" 51 | }, 52 | { 53 | "name": "s官方-等距轴测", 54 | "prompt": "isometric style {prompt} . vibrant, beautiful, crisp, detailed, ultra detailed, intricate", 55 | "negative_prompt": "deformed, mutated, ugly, disfigured, blur, blurry, noise, noisy, realistic, photographic" 56 | }, 57 | { 58 | "name": "官方-线条艺术", 59 | "prompt": "line art drawing {prompt} . professional, sleek, modern, minimalist, graphic, line art, vector graphics", 60 | "negative_prompt": "anime, photorealistic, 35mm film, deformed, glitch, blurry, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, mutated, realism, realistic, impressionism, expressionism, oil, acrylic" 61 | }, 62 | { 63 | "name": "官方-低多边形", 64 | "prompt": "low-poly style {prompt} . low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition", 65 | "negative_prompt": "noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo" 66 | }, 67 | { 68 | "name": "官方-霓虹朋克", 69 | "prompt": "neonpunk style {prompt} . cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional", 70 | "negative_prompt": "painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured" 71 | }, 72 | { 73 | "name": "官方-折纸", 74 | "prompt": "origami style {prompt} . paper art, pleated paper, folded, origami art, pleats, cut and fold, centered composition", 75 | "negative_prompt": "noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo" 76 | }, 77 | { 78 | "name": "官方-摄影", 79 | "prompt": "cinematic photo {prompt} . 35mm photograph, film, bokeh, professional, 4k, highly detailed", 80 | "negative_prompt": "drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly" 81 | }, 82 | { 83 | "name": "官方-像素艺术", 84 | "prompt": "pixel-art {prompt} . low-res, blocky, pixel art style, 8-bit graphics", 85 | "negative_prompt": "sloppy, messy, blurry, noisy, highly detailed, ultra textured, photo, realistic" 86 | }, 87 | { 88 | "name": "官方-纹理", 89 | "prompt": "texture {prompt} top down close-up", 90 | "negative_prompt": "ugly, deformed, noisy, blurry" 91 | }, 92 | { 93 | "name": "a广告-广告", 94 | "prompt": "Advertising poster style {prompt} . Professional, modern, product-focused, commercial, eye-catching, highly detailed", 95 | "negative_prompt": "noisy, blurry, amateurish, sloppy, unattractive" 96 | }, 97 | { 98 | "name": "广告-汽车", 99 | "prompt": "Automotive advertisement style {prompt} . Sleek, dynamic, professional, commercial, vehicle-focused, high-resolution, highly detailed", 100 | "negative_prompt": "noisy, blurry, unattractive, sloppy, unprofessional" 101 | }, 102 | { 103 | "name": "广告-企业", 104 | "prompt": "Corporate branding style {prompt} . Professional, clean, modern, sleek, minimalist, business-oriented, highly detailed", 105 | "negative_prompt": "noisy, blurry, grungy, sloppy, cluttered, disorganized" 106 | }, 107 | { 108 | "name": "广告-时尚编辑", 109 | "prompt": "Fashion editorial style {prompt} . High fashion, trendy, stylish, editorial, magazine style, professional, highly detailed", 110 | "negative_prompt": "outdated, blurry, noisy, unattractive, sloppy" 111 | }, 112 | { 113 | "name": "广告-食品摄影", 114 | "prompt": "Food photography style {prompt} . Appetizing, professional, culinary, high-resolution, commercial, highly detailed", 115 | "negative_prompt": "unappetizing, sloppy, unprofessional, noisy, blurry" 116 | }, 117 | { 118 | "name": "广告-奢侈品", 119 | "prompt": "Luxury product style {prompt} . Elegant, sophisticated, high-end, luxurious, professional, highly detailed", 120 | "negative_prompt": "cheap, noisy, blurry, unattractive, amateurish" 121 | }, 122 | { 123 | "name": "广告-房地产", 124 | "prompt": "Real estate photography style {prompt} . Professional, inviting, well-lit, high-resolution, property-focused, commercial, highly detailed", 125 | "negative_prompt": "dark, blurry, unappealing, noisy, unprofessional" 126 | }, 127 | { 128 | "name": "广告-零售", 129 | "prompt": "Retail packaging style {prompt} . Vibrant, enticing, commercial, product-focused, eye-catching, professional, highly detailed", 130 | "negative_prompt": "noisy, blurry, amateurish, sloppy, unattractive" 131 | }, 132 | { 133 | "name": "艺术风格-抽象", 134 | "prompt": "abstract style {prompt} . non-representational, colors and shapes, expression of feelings, imaginative, highly detailed", 135 | "negative_prompt": "realistic, photographic, figurative, concrete" 136 | }, 137 | { 138 | "name": "艺术风格-抽象表现主义", 139 | "prompt": "abstract expressionist painting {prompt} . energetic brushwork, bold colors, abstract forms, expressive, emotional", 140 | "negative_prompt": "realistic, photorealistic, low contrast, plain, simple, monochrome" 141 | }, 142 | { 143 | "name": "艺术风格-装饰艺术", 144 | "prompt": "Art Deco style {prompt} . geometric shapes, bold colors, luxurious, elegant, decorative, symmetrical, ornate, detailed", 145 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, modernist, minimalist" 146 | }, 147 | { 148 | "name": "艺术风格-新艺术", 149 | "prompt": "Art Nouveau style {prompt} . elegant, decorative, curvilinear forms, nature-inspired, ornate, detailed", 150 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, modernist, minimalist" 151 | }, 152 | { 153 | "name": "艺术风格-建构主义", 154 | "prompt": "constructivist style {prompt} . geometric shapes, bold colors, dynamic composition, propaganda art style", 155 | "negative_prompt": "realistic, photorealistic, low contrast, plain, simple, abstract expressionism" 156 | }, 157 | { 158 | "name": "艺术风格-立体派", 159 | "prompt": "cubist artwork {prompt} . geometric shapes, abstract, innovative, revolutionary", 160 | "negative_prompt": "anime, photorealistic, 35mm film, deformed, glitch, low contrast, noisy" 161 | }, 162 | { 163 | "name": "艺术风格-表现主义", 164 | "prompt": "expressionist {prompt} . raw, emotional, dynamic, distortion for emotional effect, vibrant, use of unusual colors, detailed", 165 | "negative_prompt": "realism, symmetry, quiet, calm, photo" 166 | }, 167 | { 168 | "name": "艺术风格-涂鸦", 169 | "prompt": "graffiti style {prompt} . street art, vibrant, urban, detailed, tag, mural", 170 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic" 171 | }, 172 | { 173 | "name": "艺术风格-超写实主义", 174 | "prompt": "hyperrealistic art {prompt} . extremely high-resolution details, photographic, realism pushed to extreme, fine texture, incredibly lifelike", 175 | "negative_prompt": "simplified, abstract, unrealistic, impressionistic, low resolution" 176 | }, 177 | { 178 | "name": "艺术风格-印象派", 179 | "prompt": "impressionist painting {prompt} . loose brushwork, vibrant color, light and shadow play, captures feeling over form", 180 | "negative_prompt": "anime, photorealistic, 35mm film, deformed, glitch, low contrast, noisy" 181 | }, 182 | { 183 | "name": "艺术风格-点彩画", 184 | "prompt": "pointillism style {prompt} . composed entirely of small, distinct dots of color, vibrant, highly detailed", 185 | "negative_prompt": "line drawing, smooth shading, large color fields, simplistic" 186 | }, 187 | { 188 | "name": "艺术风格-流行艺术", 189 | "prompt": "Pop Art style {prompt} . bright colors, bold outlines, popular culture themes, ironic or kitsch", 190 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, minimalist" 191 | }, 192 | { 193 | "name": "艺术风格-迷幻", 194 | "prompt": "psychedelic style {prompt} . vibrant colors, swirling patterns, abstract forms, surreal, trippy", 195 | "negative_prompt": "monochrome, black and white, low contrast, realistic, photorealistic, plain, simple" 196 | }, 197 | { 198 | "name": "艺术风格-文艺复兴", 199 | "prompt": "Renaissance style {prompt} . realistic, perspective, light and shadow, religious or mythological themes, highly detailed", 200 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, modernist, minimalist, abstract" 201 | }, 202 | { 203 | "name": "艺术风格-蒸汽朋克", 204 | "prompt": "steampunk style {prompt} . antique, mechanical, brass and copper tones, gears, intricate, detailed", 205 | "negative_prompt": "deformed, glitch, noisy, low contrast, anime, photorealistic" 206 | }, 207 | { 208 | "name": "艺术风格-超现实主义", 209 | "prompt": "surrealist art {prompt} . dreamlike, mysterious, provocative, symbolic, intricate, detailed", 210 | "negative_prompt": "anime, photorealistic, realistic, deformed, glitch, noisy, low contrast" 211 | }, 212 | { 213 | "name": "艺术风格-印刷艺术", 214 | "prompt": "typographic art {prompt} . stylized, intricate, detailed, artistic, text-based", 215 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic" 216 | }, 217 | { 218 | "name": "艺术风格-水彩", 219 | "prompt": "watercolor painting {prompt} . vibrant, beautiful, painterly, detailed, textural, artistic", 220 | "negative_prompt": "anime, photorealistic, 35mm film, deformed, glitch, low contrast, noisy" 221 | }, 222 | { 223 | "name": "未来主义-生物机械", 224 | "prompt": "biomechanical style {prompt} . blend of organic and mechanical elements, futuristic, cybernetic, detailed, intricate", 225 | "negative_prompt": "natural, rustic, primitive, organic, simplistic" 226 | }, 227 | { 228 | "name": "未来主义-生物机械-赛博朋克", 229 | "prompt": "biomechanical cyberpunk {prompt} . cybernetics, human-machine fusion, dystopian, organic meets artificial, dark, intricate, highly detailed", 230 | "negative_prompt": "natural, colorful, deformed, sketch, low contrast, watercolor" 231 | }, 232 | { 233 | "name": "未来主义-赛博朋克", 234 | "prompt": "cybernetic style {prompt} . futuristic, technological, cybernetic enhancements, robotics, artificial intelligence themes", 235 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, historical, medieval" 236 | }, 237 | { 238 | "name": "未来主义-赛博机器人", 239 | "prompt": "cybernetic robot {prompt} . android, AI, machine, metal, wires, tech, futuristic, highly detailed", 240 | "negative_prompt": "organic, natural, human, sketch, watercolor, low contrast" 241 | }, 242 | { 243 | "name": "未来主义-赛博朋克城市景观", 244 | "prompt": "cyberpunk cityscape {prompt} . neon lights, dark alleys, skyscrapers, futuristic, vibrant colors, high contrast, highly detailed", 245 | "negative_prompt": "natural, rural, deformed, low contrast, black and white, sketch, watercolor" 246 | }, 247 | { 248 | "name": "未来主义-未来主义", 249 | "prompt": "futuristic style {prompt} . sleek, modern, ultramodern, high tech, detailed", 250 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, vintage, antique" 251 | }, 252 | { 253 | "name": "未来主义-复古赛博朋克", 254 | "prompt": "retro cyberpunk {prompt} . 80's inspired, synthwave, neon, vibrant, detailed, retro futurism", 255 | "negative_prompt": "modern, desaturated, black and white, realism, low contrast" 256 | }, 257 | { 258 | "name": "未来主义-复古未来主义", 259 | "prompt": "retro-futuristic {prompt} . vintage sci-fi, 50s and 60s style, atomic age, vibrant, highly detailed", 260 | "negative_prompt": "contemporary, realistic, rustic, primitive" 261 | }, 262 | { 263 | "name": "未来主义-科幻小说", 264 | "prompt": "sci-fi style {prompt} . futuristic, technological, alien worlds, space themes, advanced civilizations", 265 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, historical, medieval" 266 | }, 267 | { 268 | "name": "未来主义-蒸汽波", 269 | "prompt": "vaporwave style {prompt} . retro aesthetic, cyberpunk, vibrant, neon colors, vintage 80s and 90s style, highly detailed", 270 | "negative_prompt": "monochrome, muted colors, realism, rustic, minimalist, dark" 271 | }, 272 | { 273 | "name": "游戏-泡泡龙", 274 | "prompt": "Bubble Bobble style {prompt} . 8-bit, cute, pixelated, fantasy, vibrant, reminiscent of Bubble Bobble game", 275 | "negative_prompt": "realistic, modern, photorealistic, violent, horror" 276 | }, 277 | { 278 | "name": "游戏-赛博朋克游戏", 279 | "prompt": "cyberpunk game style {prompt} . neon, dystopian, futuristic, digital, vibrant, detailed, high contrast, reminiscent of cyberpunk genre video games", 280 | "negative_prompt": "historical, natural, rustic, low detailed" 281 | }, 282 | { 283 | "name": "游戏-格斗游戏", 284 | "prompt": "fighting game style {prompt} . dynamic, vibrant, action-packed, detailed character design, reminiscent of fighting video games", 285 | "negative_prompt": "peaceful, calm, minimalist, photorealistic" 286 | }, 287 | { 288 | "name": "游戏-GTA", 289 | "prompt": "GTA-style artwork {prompt} . satirical, exaggerated, pop art style, vibrant colors, iconic characters, action-packed", 290 | "negative_prompt": "realistic, black and white, low contrast, impressionist, cubist, noisy, blurry, deformed" 291 | }, 292 | { 293 | "name": "游戏-马里奥", 294 | "prompt": "Super Mario style {prompt} . vibrant, cute, cartoony, fantasy, playful, reminiscent of Super Mario series", 295 | "negative_prompt": "realistic, modern, horror, dystopian, violent" 296 | }, 297 | { 298 | "name": "游戏-魔兽", 299 | "prompt": "Minecraft style {prompt} . blocky, pixelated, vibrant colors, recognizable characters and objects, game assets", 300 | "negative_prompt": "smooth, realistic, detailed, photorealistic, noise, blurry, deformed" 301 | }, 302 | { 303 | "name": "游戏-宠物小精灵", 304 | "prompt": "Pokémon style {prompt} . vibrant, cute, anime, fantasy, reminiscent of Pokémon series", 305 | "negative_prompt": "realistic, modern, horror, dystopian, violent" 306 | }, 307 | { 308 | "name": "游戏-复古街机", 309 | "prompt": "retro arcade style {prompt} . 8-bit, pixelated, vibrant, classic video game, old school gaming, reminiscent of 80s and 90s arcade games", 310 | "negative_prompt": "modern, ultra-high resolution, photorealistic, 3D" 311 | }, 312 | { 313 | "name": "游戏-复古游戏", 314 | "prompt": "retro game art {prompt} . 16-bit, vibrant colors, pixelated, nostalgic, charming, fun", 315 | "negative_prompt": "realistic, photorealistic, 35mm film, deformed, glitch, low contrast, noisy" 316 | }, 317 | { 318 | "name": "游戏-RPG幻想游戏", 319 | "prompt": "role-playing game (RPG) style fantasy {prompt} . detailed, vibrant, immersive, reminiscent of high fantasy RPG games", 320 | "negative_prompt": "sci-fi, modern, urban, futuristic, low detailed" 321 | }, 322 | { 323 | "name": "游戏-策略游戏", 324 | "prompt": "strategy game style {prompt} . overhead view, detailed map, units, reminiscent of real-time strategy video games", 325 | "negative_prompt": "first-person view, modern, photorealistic" 326 | }, 327 | { 328 | "name": "游戏-街头霸王", 329 | "prompt": "Street Fighter style {prompt} . vibrant, dynamic, arcade, 2D fighting game, highly detailed, reminiscent of Street Fighter series", 330 | "negative_prompt": "3D, realistic, modern, photorealistic, turn-based strategy" 331 | }, 332 | { 333 | "name": "游戏-塞尔达", 334 | "prompt": "Legend of Zelda style {prompt} . vibrant, fantasy, detailed, epic, heroic, reminiscent of The Legend of Zelda series", 335 | "negative_prompt": "sci-fi, modern, realistic, horror" 336 | }, 337 | { 338 | "name": "杂项-建筑", 339 | "prompt": "architectural style {prompt} . clean lines, geometric shapes, minimalist, modern, architectural drawing, highly detailed", 340 | "negative_prompt": "curved lines, ornate, baroque, abstract, grunge" 341 | }, 342 | { 343 | "name": "杂项-迪斯科", 344 | "prompt": "disco-themed {prompt} . vibrant, groovy, retro 70s style, shiny disco balls, neon lights, dance floor, highly detailed", 345 | "negative_prompt": "minimalist, rustic, monochrome, contemporary, simplistic" 346 | }, 347 | { 348 | "name": "杂项-梦境", 349 | "prompt": "dreamscape {prompt} . surreal, ethereal, dreamy, mysterious, fantasy, highly detailed", 350 | "negative_prompt": "realistic, concrete, ordinary, mundane" 351 | }, 352 | { 353 | "name": "杂项-乌托邦", 354 | "prompt": "dystopian style {prompt} . bleak, post-apocalyptic, somber, dramatic, highly detailed", 355 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, cheerful, optimistic, vibrant, colorful" 356 | }, 357 | { 358 | "name": "杂项-童话", 359 | "prompt": "fairy tale {prompt} . magical, fantastical, enchanting, storybook style, highly detailed", 360 | "negative_prompt": "realistic, modern, ordinary, mundane" 361 | }, 362 | { 363 | "name": "杂项-哥特式", 364 | "prompt": "gothic style {prompt} . dark, mysterious, haunting, dramatic, ornate, detailed", 365 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, cheerful, optimistic" 366 | }, 367 | { 368 | "name": "杂项-垃圾摇滚", 369 | "prompt": "grunge style {prompt} . textured, distressed, vintage, edgy, punk rock vibe, dirty, noisy", 370 | "negative_prompt": "smooth, clean, minimalist, sleek, modern, photorealistic" 371 | }, 372 | { 373 | "name": "杂项-恐怖", 374 | "prompt": "horror-themed {prompt} . eerie, unsettling, dark, spooky, suspenseful, grim, highly detailed", 375 | "negative_prompt": "cheerful, bright, vibrant, light-hearted, cute" 376 | }, 377 | { 378 | "name": "杂项-卡哇伊", 379 | "prompt": "kawaii style {prompt} . cute, adorable, brightly colored, cheerful, anime influence, highly detailed", 380 | "negative_prompt": "dark, scary, realistic, monochrome, abstract" 381 | }, 382 | { 383 | "name": "杂项-魔幻", 384 | "prompt": "lovecraftian horror {prompt} . eldritch, cosmic horror, unknown, mysterious, surreal, highly detailed", 385 | "negative_prompt": "light-hearted, mundane, familiar, simplistic, realistic" 386 | }, 387 | { 388 | "name": "杂项-黑色幽默", 389 | "prompt": "macabre style {prompt} . dark, gothic, grim, haunting, highly detailed", 390 | "negative_prompt": "bright, cheerful, light-hearted, cartoonish, cute" 391 | }, 392 | { 393 | "name": "杂项-漫画", 394 | "prompt": "manga style {prompt} . vibrant, high-energy, detailed, iconic, Japanese comic style", 395 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, Western comic style" 396 | }, 397 | { 398 | "name": "杂项-大都会", 399 | "prompt": "metropolis-themed {prompt} . urban, cityscape, skyscrapers, modern, futuristic, highly detailed", 400 | "negative_prompt": "rural, natural, rustic, historical, simple" 401 | }, 402 | { 403 | "name": "杂项-极简主义", 404 | "prompt": "minimalist style {prompt} . simple, clean, uncluttered, modern, elegant", 405 | "negative_prompt": "ornate, complicated, highly detailed, cluttered, disordered, messy, noisy" 406 | }, 407 | { 408 | "name": "杂项-单色", 409 | "prompt": "monochrome {prompt} . black and white, contrast, tone, texture, detailed", 410 | "negative_prompt": "colorful, vibrant, noisy, blurry, deformed" 411 | }, 412 | { 413 | "name": "杂项-航海", 414 | "prompt": "nautical-themed {prompt} . sea, ocean, ships, maritime, beach, marine life, highly detailed", 415 | "negative_prompt": "landlocked, desert, mountains, urban, rustic" 416 | }, 417 | { 418 | "name": "杂项-空间", 419 | "prompt": "space-themed {prompt} . cosmic, celestial, stars, galaxies, nebulas, planets, science fiction, highly detailed", 420 | "negative_prompt": "earthly, mundane, ground-based, realism" 421 | }, 422 | { 423 | "name": "m杂项-染色玻璃", 424 | "prompt": "stained glass style {prompt} . vibrant, beautiful, translucent, intricate, detailed", 425 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic" 426 | }, 427 | { 428 | "name": "杂项-科技时尚", 429 | "prompt": "techwear fashion {prompt} . futuristic, cyberpunk, urban, tactical, sleek, dark, highly detailed", 430 | "negative_prompt": "vintage, rural, colorful, low contrast, realism, sketch, watercolor" 431 | }, 432 | { 433 | "name": "杂项-部落", 434 | "prompt": "tribal style {prompt} . indigenous, ethnic, traditional patterns, bold, natural colors, highly detailed", 435 | "negative_prompt": "modern, futuristic, minimalist, pastel" 436 | }, 437 | { 438 | "name": "杂项-方格", 439 | "prompt": "zentangle {prompt} . intricate, abstract, monochrome, patterns, meditative, highly detailed", 440 | "negative_prompt": "colorful, representative, simplistic, large fields of color" 441 | }, 442 | { 443 | "name": "纸模-拼贴", 444 | "prompt": "collage style {prompt} . mixed media, layered, textural, detailed, artistic", 445 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic" 446 | }, 447 | { 448 | "name": "纸模-平面剪纸", 449 | "prompt": "flat papercut style {prompt} . silhouette, clean cuts, paper, sharp edges, minimalist, color block", 450 | "negative_prompt": "3D, high detail, noise, grainy, blurry, painting, drawing, photo, disfigured" 451 | }, 452 | { 453 | "name": "纸模-桐纸", 454 | "prompt": "kirigami representation of {prompt} . 3D, paper folding, paper cutting, Japanese, intricate, symmetrical, precision, clean lines", 455 | "negative_prompt": "painting, drawing, 2D, noisy, blurry, deformed" 456 | }, 457 | { 458 | "name": "纸模-纸浆", 459 | "prompt": "paper mache representation of {prompt} . 3D, sculptural, textured, handmade, vibrant, fun", 460 | "negative_prompt": "2D, flat, photo, sketch, digital art, deformed, noisy, blurry" 461 | }, 462 | { 463 | "name": "纸模-纸扎", 464 | "prompt": "paper quilling art of {prompt} . intricate, delicate, curling, rolling, shaping, coiling, loops, 3D, dimensional, ornamental", 465 | "negative_prompt": "photo, painting, drawing, 2D, flat, deformed, noisy, blurry" 466 | }, 467 | { 468 | "name": "纸模-剪纸拼贴", 469 | "prompt": "papercut collage of {prompt} . mixed media, textured paper, overlapping, asymmetrical, abstract, vibrant", 470 | "negative_prompt": "photo, 3D, realistic, drawing, painting, high detail, disfigured" 471 | }, 472 | { 473 | "name": "纸模-剪纸影盒", 474 | "prompt": "3D papercut shadow box of {prompt} . layered, dimensional, depth, silhouette, shadow, papercut, handmade, high contrast", 475 | "negative_prompt": "painting, drawing, photo, 2D, flat, high detail, blurry, noisy, disfigured" 476 | }, 477 | { 478 | "name": "纸模-叠剪纸", 479 | "prompt": "stacked papercut art of {prompt} . 3D, layered, dimensional, depth, precision cut, stacked layers, papercut, high contrast", 480 | "negative_prompt": "2D, flat, noisy, blurry, painting, drawing, photo, deformed" 481 | }, 482 | { 483 | "name": "纸模-厚层剪纸", 484 | "prompt": "thick layered papercut art of {prompt} . deep 3D, volumetric, dimensional, depth, thick paper, high stack, heavy texture, tangible layers", 485 | "negative_prompt": "2D, flat, thin paper, low stack, smooth texture, painting, drawing, photo, deformed" 486 | }, 487 | { 488 | "name": "照片-异形", 489 | "prompt": "alien-themed {prompt} . extraterrestrial, cosmic, otherworldly, mysterious, sci-fi, highly detailed", 490 | "negative_prompt": "earthly, mundane, common, realistic, simple" 491 | }, 492 | { 493 | "name": "照片-黑色", 494 | "prompt": "film noir style {prompt} . monochrome, high contrast, dramatic shadows, 1940s style, mysterious, cinematic", 495 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, vibrant, colorful" 496 | }, 497 | { 498 | "name": "照片-高清", 499 | "prompt": "HDR photo of {prompt} . High dynamic range, vivid, rich details, clear shadows and highlights, realistic, intense, enhanced contrast, highly detailed", 500 | "negative_prompt": "flat, low contrast, oversaturated, underexposed, overexposed, blurred, noisy" 501 | }, 502 | { 503 | "name": "照片-长曝光", 504 | "prompt": "long exposure photo of {prompt} . Blurred motion, streaks of light, surreal, dreamy, ghosting effect, highly detailed", 505 | "negative_prompt": "static, noisy, deformed, shaky, abrupt, flat, low contrast" 506 | }, 507 | { 508 | "name": "照片-霓虹迷踪", 509 | "prompt": "neon noir {prompt} . cyberpunk, dark, rainy streets, neon signs, high contrast, low light, vibrant, highly detailed", 510 | "negative_prompt": "bright, sunny, daytime, low contrast, black and white, sketch, watercolor" 511 | }, 512 | { 513 | "name": "照片-剪影", 514 | "prompt": "silhouette style {prompt} . high contrast, minimalistic, black and white, stark, dramatic", 515 | "negative_prompt": "ugly, deformed, noisy, blurry, low contrast, color, realism, photorealistic" 516 | }, 517 | { 518 | "name": "照片-倾斜摄影", 519 | "prompt": "tilt-shift photo of {prompt} . Selective focus, miniature effect, blurred background, highly detailed, vibrant, perspective control", 520 | "negative_prompt": "blurry, noisy, deformed, flat, low contrast, unrealistic, oversaturated, underexposed" 521 | } 522 | ] 523 | --------------------------------------------------------------------------------