Weihnachtskarten / modules /sdxl_styles.py
johann-foerster's picture
translate UI to german, infotext, styling
03fc011
raw
history blame
11.5 kB
# https://github.com/twri/sdxl_prompt_styler/blob/main/sdxl_styles.json
styles = [
{
"name": "Kinofilm",
"prompt": "(((christmas card))), cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
"negative_prompt": "anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured"
},
{
"name": "Anime",
"prompt": "(((christmas card))), anime artwork {prompt} . anime style, key visual, vibrant, studio anime, highly detailed",
"negative_prompt": "photo, deformed, black and white, realism, disfigured, low contrast"
},
{
"name": "Ton",
"prompt": "(((christmas card))), play-doh style {prompt} . sculpture, clay art, centered composition, Claymation",
"negative_prompt": "sloppy, messy, grainy, highly detailed, ultra textured, photo"
},
{
"name": "Linienkunst",
"prompt": "(((christmas card))), line art drawing {prompt} . professional, sleek, modern, minimalist, graphic, line art, vector graphics",
"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"
},
{
"name": "Low Poly",
"prompt": "(((christmas card))), low-poly style {prompt} . low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition",
"negative_prompt": "noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo"
},
{
"name": "Origami",
"prompt": "(((christmas card))), origami style {prompt} . paper art, pleated paper, folded, origami art, pleats, cut and fold, centered composition",
"negative_prompt": "noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo"
},
{
"name": "Plakat",
"prompt": "(((christmas card))), Advertising poster style {prompt} . Professional, modern, product-focused, commercial, eye-catching, highly detailed",
"negative_prompt": "noisy, blurry, amateurish, sloppy, unattractive"
},
{
"name": "Fahrzeug/Auto",
"prompt": "(((christmas card))), Automotive advertisement style {prompt} . Sleek, dynamic, professional, commercial, vehicle-focused, high-resolution, highly detailed",
"negative_prompt": "noisy, blurry, unattractive, sloppy, unprofessional"
},
{
"name": "Mode",
"prompt": "(((christmas card))), Fashion editorial style {prompt} . High fashion, trendy, stylish, editorial, magazine style, professional, highly detailed",
"negative_prompt": "outdated, blurry, noisy, unattractive, sloppy"
},
{
"name": "Pixelkunst",
"prompt": "(((christmas card))), pixel-art {prompt} . low-res, blocky, pixel art style, 8-bit graphics",
"negative_prompt": "sloppy, messy, blurry, noisy, highly detailed, ultra textured, photo, realistic"
},
{
"name": "Abstrakt",
"prompt": "(((christmas card))), abstract expressionist painting {prompt} . energetic brushwork, bold colors, abstract forms, expressive, emotional",
"negative_prompt": "realistic, photorealistic, low contrast, plain, simple, monochrome"
},
{
"name": "Graffiti",
"prompt": "(((christmas card))), graffiti style {prompt} . street art, vibrant, urban, detailed, tag, mural",
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic"
},
{
"name": "Psychedelisch",
"prompt": "(((christmas card))), psychedelic style {prompt} . vibrant colors, swirling patterns, abstract forms, surreal, trippy",
"negative_prompt": "monochrome, black and white, low contrast, realistic, photorealistic, plain, simple"
},
{
"name": "Steampunk",
"prompt": "(((christmas card))), steampunk style {prompt} . antique, mechanical, brass and copper tones, gears, intricate, detailed",
"negative_prompt": "deformed, glitch, noisy, low contrast, anime, photorealistic"
},
{
"name": "Aquarell",
"prompt": "(((christmas card))), watercolor painting {prompt} . vibrant, beautiful, painterly, detailed, textural, artistic",
"negative_prompt": "anime, photorealistic, 35mm film, deformed, glitch, low contrast, noisy"
},
{
"name": "Cyberpunk-Stadt",
"prompt": "(((christmas card))), cyberpunk cityscape {prompt} . neon lights, dark alleys, skyscrapers, futuristic, vibrant colors, high contrast, highly detailed",
"negative_prompt": "natural, rural, deformed, low contrast, black and white, sketch, watercolor"
},
{
"name": "Cyberpunk-Spiel",
"prompt": "(((christmas card))), cyberpunk game style {prompt} . neon, dystopian, futuristic, digital, vibrant, detailed, high contrast, reminiscent of cyberpunk genre video games",
"negative_prompt": "historical, natural, rustic, low detailed"
},
{
"name": "Mario",
"prompt": "(((christmas card))), Super Mario style {prompt} . vibrant, cute, cartoony, fantasy, playful, reminiscent of Super Mario series",
"negative_prompt": "realistic, modern, horror, dystopian, violent"
},
{
"name": "Minecraft",
"prompt": "(((christmas card))), Minecraft style {prompt} . blocky, pixelated, vibrant colors, recognizable characters and objects, game assets",
"negative_prompt": "smooth, realistic, detailed, photorealistic, noise, blurry, deformed"
},
{
"name": "Strategiespiel",
"prompt": "(((christmas card))), strategy game style {prompt} . overhead view, detailed map, units, reminiscent of real-time strategy video games",
"negative_prompt": "first-person view, modern, photorealistic"
},
{
"name": "Dystopisch",
"prompt": "(((christmas card))), dystopian style {prompt} . bleak, post-apocalyptic, somber, dramatic, highly detailed",
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, cheerful, optimistic, vibrant, colorful"
},
{
"name": "Märchen",
"prompt": "(((christmas card))), fairy tale {prompt} . magical, fantastical, enchanting, storybook style, highly detailed",
"negative_prompt": "realistic, modern, ordinary, mundane"
},
{
"name": "Gotisch",
"prompt": "(((christmas card))), gothic style {prompt} . dark, mysterious, haunting, dramatic, ornate, detailed",
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, cheerful, optimistic"
},
{
"name": "Metropole",
"prompt": "(((christmas card))), metropolis-themed {prompt} . urban, cityscape, skyscrapers, modern, futuristic, highly detailed",
"negative_prompt": "rural, natural, rustic, historical, simple"
},
{
"name": "Monochrom",
"prompt": "(((christmas card))), monochrome {prompt} . black and white, contrast, tone, texture, detailed",
"negative_prompt": "colorful, vibrant, noisy, blurry, deformed"
},
{
"name": "Weltraum",
"prompt": "(((christmas card))), space-themed {prompt} . cosmic, celestial, stars, galaxies, nebulas, planets, science fiction, highly detailed",
"negative_prompt": "earthly, mundane, ground-based, realism"
},
{
"name": "Buntglas",
"prompt": "(((christmas card))), stained glass style {prompt} . vibrant, beautiful, translucent, intricate, detailed",
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic"
},
{
"name": "Stammeskunst",
"prompt": "(((christmas card))), tribal style {prompt} . indigenous, ethnic, traditional patterns, bold, natural colors, highly detailed",
"negative_prompt": "modern, futuristic, minimalist, pastel"
},
{
"name": "Zentangle",
"prompt": "(((christmas card))), zentangle {prompt} . intricate, abstract, monochrome, patterns, meditative, highly detailed",
"negative_prompt": "colorful, representative, simplistic, large fields of color"
},
{
"name": "Kirigami",
"prompt": "(((christmas card))), kirigami representation of {prompt} . 3D, paper folding, paper cutting, Japanese, intricate, symmetrical, precision, clean lines",
"negative_prompt": "painting, drawing, 2D, noisy, blurry, deformed"
},
{
"name": "Papiermaché",
"prompt": "(((christmas card))), paper mache representation of {prompt} . 3D, sculptural, textured, handmade, vibrant, fun",
"negative_prompt": "2D, flat, photo, sketch, digital art, deformed, noisy, blurry"
},
{
"name": "Papierkräuseln",
"prompt": "(((christmas card))), paper quilling art of {prompt} . intricate, delicate, curling, rolling, shaping, coiling, loops, 3D, dimensional, ornamental",
"negative_prompt": "photo, painting, drawing, 2D, flat, deformed, noisy, blurry"
},
{
"name": "Scherenschnitt-Schattenbox",
"prompt": "(((christmas card))), 3D papercut shadow box of {prompt} . layered, dimensional, depth, silhouette, shadow, papercut, handmade, high contrast",
"negative_prompt": "painting, drawing, photo, 2D, flat, high detail, blurry, noisy, disfigured"
},
{
"name": "Gestapelte Scherenschnitte",
"prompt": "(((christmas card))), stacked papercut art of {prompt} . 3D, layered, dimensional, depth, precision cut, stacked layers, papercut, high contrast",
"negative_prompt": "2D, flat, noisy, blurry, painting, drawing, photo, deformed"
},
{
"name": "Film Noir",
"prompt": "(((christmas card))), film noir style {prompt} . monochrome, high contrast, dramatic shadows, 1940s style, mysterious, cinematic",
"negative_prompt": "ugly, deformed, noisy, blurry, low contrast, realism, photorealistic, vibrant, colorful"
},
{
"name": "Neon Noir",
"prompt": "(((christmas card))), neon noir {prompt} . cyberpunk, dark, rainy streets, neon signs, high contrast, low light, vibrant, highly detailed",
"negative_prompt": "bright, sunny, daytime, low contrast, black and white, sketch, watercolor"
}
]
styles = {k['name']: (k['prompt'], k['negative_prompt']) for k in styles}
default_style = styles['Kinofilm']
style_keys = list(styles.keys())
SD_XL_BASE_RATIOS = {
"0.5": (704, 1408),
"0.52": (704, 1344),
"0.57": (768, 1344),
"0.6": (768, 1280),
"0.68": (832, 1216),
"0.72": (832, 1152),
"0.78": (896, 1152),
"0.82": (896, 1088),
"0.88": (960, 1088),
"0.94": (960, 1024),
"1.0": (1024, 1024),
"1.07": (1024, 960),
"1.13": (1088, 960),
"1.21": (1088, 896),
"1.29": (1152, 896),
"1.38": (1152, 832),
"1.46": (1216, 832),
"1.67": (1280, 768),
"1.75": (1344, 768),
"1.91": (1344, 704),
"2.0": (1408, 704),
"2.09": (1472, 704),
"2.4": (1536, 640),
"2.5": (1600, 640),
"2.89": (1664, 576),
"3.0": (1728, 576),
}
aspect_ratios = {str(v[0])+'×'+str(v[1]):v for k, v in SD_XL_BASE_RATIOS.items()}
def apply_style(style, positive):
p, n = styles.get(style, default_style)
return p.replace('{prompt}', positive), n