From 00edac4419f5eb4997c81aa25748e225470395dd Mon Sep 17 00:00:00 2001 From: bash-j Date: Thu, 20 Jul 2023 09:49:47 +0930 Subject: [PATCH] modified: mikey_nodes.py modified: styles.json --- mikey_nodes.py | 31 +++++++++++++++--------------- styles.json | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+), 15 deletions(-) diff --git a/mikey_nodes.py b/mikey_nodes.py index bea3cd8..140e89f 100644 --- a/mikey_nodes.py +++ b/mikey_nodes.py @@ -36,20 +36,21 @@ def sdxl_size(width: int, height: int) -> (int, int): return w, h class EmptyLatentRatioSelector: - ratio_sizes = ['1:1','5:4','4:3','3:2','16:9','21:9','4:5','3:4','2:3','9:16','9:21','5:7','7:5'] - ratio_dict = {'1:1': (1024, 1024), - '5:4': (1152, 896), - '4:3': (1152, 832), - '3:2': (1216, 832), - '16:9': (1344, 768), - '21:9': (1536, 640), - '4:5': (896, 1152), - '3:4': (832, 1152), - '2:3': (832, 1216), - '9:16': (768, 1344), - '9:21': (640, 1536), - '5:7': (840, 1176), - '7:5': (1176, 840),} + ratio_sizes = ['1:1 [1024x1024 square]','19:9 [1472x704 landscape]','4:3 [1152x896 landscape]','3:2 [1216x832 landscape]','16:9 [1344x768 landscape]','21:9-1536x640 landscape','19:9[1472x704 landscape]','3:4 [896x1152 portrait]','2:3 [832x1216 portrait]','9:16 [768x1344 portrait]','9:21 [640x1536 portrait]','5:8 [768x1216 portrait]','9:19 [704x1472 portrait]'] + ratio_dict = {'1:1 [1024x1024 square]': (1024, 1024), + '8:5 [1216x768 landscape]': (1216, 768), + '4:3 [1152x896 landscape]': (1152, 832), + '3:2 [1216x832 landscape]': (1216, 832), + '16:9 [1344x768 landscape]': (1344, 768), + '21:9 [1536x640 landscape]': (1536, 640), + '19:9 [1472x704 landscape]': (1472, 704), + '3:4 [896x1152 portrait]': (832, 1152), + '2:3 [832x1216 portrait]': (832, 1216), + '9:16 [768x1344 portrait]': (768, 1344), + '9:21 [640x1536 portrait]': (640, 1536), + '5:8 [768x1216 portrait]': (768, 1216), + '9:19 [704x1472 portrait]': (704, 1472), + } @classmethod def INPUT_TYPES(s): @@ -307,4 +308,4 @@ NODE_CLASS_MAPPINGS = { } ## TODO # Resize Image and return the new width and height -# SDXL Ultimate Upscaler? \ No newline at end of file +# SDXL Ultimate Upscaler? diff --git a/styles.json b/styles.json index 45757c1..81a8bfb 100644 --- a/styles.json +++ b/styles.json @@ -291,6 +291,58 @@ "padam": { "positive": "still from a pop music video, red latex with red tulle, wind blown hair and fabric, pop colors, bright whites, dynamic dance poses", "negative": "watermark, stock photo, 3d render, cartoon, anime, staged, posed, artificial, unnatural, photoshopped, trypophobia, miniature, halftone dots, smooth, blurred, porous surface, pumice" + }, + "collage": { + "positive": "Cut and paste, mixed-media, layering, photomontage, ephemera, textured, decoupage", + "negative": "Digital art, single medium, smooth textures, 3D modeling" + }, + "paper-mache": { + "positive": "Paper pulp, glue, layering, sculpture, painted, crafted, molded shapes", + "negative": "Metal, plastic, glass, smooth textures, digital art" + }, + "macrame": { + "positive": "Knotting, textile art, cords, fibers, fringes, geometric patterns, wall hanging", + "negative": "Sewing, quilting, digital art, smooth textures, glass, metal" + }, + "quilling": { + "positive": "Quilling, coiled paper, rolled, shaped, glued, filigree-like, 3D effect", + "negative": "Smooth textures, painting, digital art, ceramic, glass" + }, + "pottery": { + "positive": "Ceramics, clay, wheel thrown, hand built, glazed, fired, kiln", + "negative": "Glass, metal, digital art, soft textures, textile" + }, + "batik": { + "positive": "Batik, dyeing, resist techniques, wax, vibrant patterns, fabric art", + "negative": "Oil painting, digital art, glass, metal, monochromatic" + }, + "felting": { + "positive": "Felt, wool, matting, condensed, molded, soft texture, handmade", + "negative": "Metal, glass, smooth textures, digital art, oil painting" + }, + "marquetry": { + "positive": "Marquetry, veneer, inlaid, wood, intricate patterns, craftsmanship", + "negative": "Digital art, painting, textile, metal, glass" + }, + "wildstyle-graffiti": { + "positive": "painted using spraypaint, complex design, large arrows weaving throughout scene, overlapping shapes, bright colors, gradients, dark shadows to make a 3D illusion, crisp, clean finish", + "negative": "photorealistic, digital art, messy, sloppy, rough sketch, splatters, 3d render, cartoon, Simple, legible letters, stencil art, monochrome, pixel art" + }, + "bubble-graffiti": { + "positive": "painted using spraypaint, rounded inflated shapes, solid, bold colors, cartoon-like, 3D effect", + "negative": "photorealistic, digital art, 3d render, cartoon, Sharp angles, stencils, abstract shapes, watercolor effect" + }, + "stencil-graffiti": { + "positive": "painted using spraypaint, cut-outs, stencilled, sharp edges, sprayed paint, layering, repetition", + "negative": "photorealistic, digital art, 3d render, cartoon, Freehand, abstract, wildstyle, 3D effects" + }, + "throw-up-graffiti": { + "positive": "painted using spraypaint, quick, bubble shapes, two color scheme, fill-ins, outlined, bold", + "negative": "photorealistic, digital art, 3d render, cartoon, Detailed, complex, stenciled, realistic, multi-colored" + }, + "tag-graffiti": { + "positive": "painted using spraypaint, handstyle, quick sketch, single color, stylish script, street", + "negative": "photorealistic, digital art, 3d render, cartoon, complex, multi-colored, stencil art, mural, realistic" } } }