AI/Stable Diffusion.md
Table of Contents
Stable Diffusion
Links
- https://d2ti1a12ty7kmi.cloudfront.net/browserscript/stable-diffusion-dph.user.js
- https://github.com/JoaoLages/diffusers-interpret
- https://photos.app.goo.gl/Qn4GKYYiJ2ahZnuG8
Quick Portrait Seeds
Asian woman (20 years old) (medium hair) (big thin smile) (wide lips) (round face) (wide face) (high cheekbone) <lora:sarah:1.2> wearing glasses looking straightAsian woman (30 years old) (medium black hair with bangs) (big closed smile:1.1) (wide:1.4 lips:1.2) (big:1.3 round face) (high cheekbone) (square jaw) <lora:sarah:1.2> wearing glasses looking straight
Prompt Ideas
- Turtle in Alice In Wonderland, surrealism
- Phantasmal Iridescent musical box
- Isometric Castle out of colorful flowers
- 3-d model, coffee shop, blue and fancy paper art
- Layered paper of wave, aesthetic, epic detail, dreamy blue color, starry night
- Isometric art of a cup of coffee,with creativity and ideas flowing, dreamy summer color palette,aesthetic, minimal design
- Octopus naive art
- Explode planets by Nychos
- Matrix raining code, digits, batman
- Futuristic artificial intelligence 4k image
- Snail in a cyberpunk style created by PanzerSnail
- Diagramatic drawing of the structure of Tokyo Tower lora:more_details:1
- Infographic drawing of iron man suit
- Wizened old female fortuneteller, head, close up character design, multiple concept designs, concept design sheet, white background, style of Yoshitaka Amano
- Stained glass window of a wolf under the moon
- Double exposure of a wolf and a mountain, natural scenery, watercolor art
- Double exposure of a fish swimming inside lightbulb
- fish swimming inside lightbulb, broken glass, pouring out into waterfall, distant shores, watercolor style
- Game sheet of maze, floating island,3d, isometric, dreamy color palette, inspired by Pixar
- 3D Sneakers, By Alberto Seveso, advanced color scheme, high detail, studio lighting, white background, 8k UHD, C4D, blender, OC rendering โ v 5
- A 3D brain with eyes, trending color palette, UI, by Leo Natsume, 3D illustration, pop up color, vibrant โ v 5
- Celestial map of paradise, 3D render, solarpunk, bright lighting, art deco โ v 5
- Art nouveau design of Disney Beauty and the Beast in rich colors and black background
- A glass of vintage cocktail created by Remedios Varo, ancient-feelingโ artwork that will transport viewers to a different time and place
- Multidimensional Porcelain sculpture of a 3D brain, museum art piece
- A layered paper rabbit, crafted with Vintage Manuscript Paper with hyper details, soft light , 3D
- Game boy controller, neon color, pink and white gradient, translucent molten body, glossy, designed by Dieter Rams, high detail, fine luster, 3D render, C4D, 8k, white background, studio lighting
- Futuristic hi-fi game boy player, transparent plastic, gradient color, high detail, 8k, industrial design, white background, 3D, C4D, blender, OC rendering
- A mail icon, graident colour of green and yellow, frosted glass texture, glossy base, 3d rendering, white background, isometric, translucent, technology sense, studio light, C4D, blender, clean
- Colorful 3D Icon Sets of food and beverage industry, 3d rendering, white background, isometric, translucent, C4D, blender, clean, Pinterest, hyper detailed
- Outline icon of medical, frosted glass icon set, colourful, ui, design, app, clean fresh design, flat design, dribble, center the composition, hyper detail, ar 1:1, neon light, dark background
- Luminous backlit glowing forest mushroom,neon lights around the mushroom, faded, hyperdetail
- Mayan Art depicting a lion, facing the camera, blue and gold, ornate, intricate, award winning photography, black background
- An owl reading on a tree, Ukiyoe style
- Fox anthropomorphism, wizard, chinese ink style, amazing epic ancient theme, cinematic, stunning, realising lighting and shading, vivid, vibrant, unreal engine, concept art
- Zoomorphism of spider, amazing cyberpunk theme, cinematic, stunning, realizing lighting and shading, vivid, vibrant, unreal engine, concept art
- A sophisticated mechanical exoskeleton suit of a bear
- Mega octopus on the top of a castle, mysterious, unreal engine, surrealistic background
- Glitter encrusted codex seraphinianus mandelbulb of ay eye within a castl
Stack 2x2
ffmpeg -i 1.jpg -i 2.jpg -i 3.jpg -i 4.jpg -lavfi "xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0" out.jpg
montage *.jpg -tile 2x2 result.jpg
Train locally
.\gui.bat --listen 127.0.0.1 --server_port 7860 --inbrowser
python train_db.py --enable_bucket --pretrained_model_name_or_path=runwayml/stable-diffusion-v1-5 --train_data_dir=E:/Work/train/output\\img --resolution=512,512 --output_dir=E:/Work/train/output\\model --logging_dir=E:/Work/train/output\\log --save_model_as=safetensors --output_name=last --max_data_loader_n_workers=0 --learning_rate=1e-05 --lr_scheduler=cosine --lr_warmup_steps=160 --train_batch_size=1 --max_train_steps=1600 --save_every_n_epochs=1 --mixed_precision=fp16 --save_precision=fp16 --cache_latents --optimizer_type=AdamW8bit --max_data_loader_n_workers=0 --bucket_reso_steps=64 --xformers --bucket_no_upscale
Models
Types: checkpoint, lora (character, style, concept)
- https://civitai.com/images
- https://huggingface.co/Envvi/Inkpunk-Diffusion
- https://huggingface.co/SirVeggie/wlop
- MeinaMix
- AnyLoRA - Checkpoint
- DreamShaper
- AbsoluteReality
- RealisticVision
- Paragon
Lora
- Ink style
- https://www.reddit.com/r/StableDiffusion/comments/11izvoj/block_weights_give_lora_a_second_breath/
Style
- lora:audrey_kawasaki:0.8 - https://civitai.com/models/26328/audrey-kawasaki-and-woman
- (Award Winning Painting:1.3) of (Ultra detailed:1.3),(Lonely:1.3) a woman (Scarlett Johanssen) (red rose in black hair, blue eye), lora:audrey_kawasaki:0.8
- Low quality,Bad composition,Faded,(Photo:1.5),(Frame:1.3),watermark,signature
- lora:more_details:1 - https://civitai.com/models/82098/add-more-details-detail-enhancer-tweaker-lora
Prompt examples
- Full body
- steam punk - https://civitai.com/images/1242576
- nebula - https://civitai.com/images/1243732
- Portrait
A beautiful woman walking around neighborhood, highlight hair, detailed eyes, sharp focus, young face, perfect symmetric face, pupil reflecting surroundings, realistic skin, soft healthy skin- cat ears - https://civitai.com/images/1240974
detailed 3d kawasaki- (masterpiece:1.4, best quality) (intricate details) (unity 8k wallpaper) (ultra detailed) (visually stunning:1.4) Asian girl (sam yang) (french twist) (short hair) (pink hair), lora:audrey_kawasaki:0.8, (Pop Art:1.2), lora:more_details:1
Prompts
- prompt guide
- Subject
- Medium
- (Award Winning Painting:1.3)
- (masterpiece:1.4, best quality)
- Style
- Artist
- Color
- Lighting
- universal negative prompt: ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, watermark, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face
- Dreamshaper Showcase
Personal
princesses
(masterpiece:1.4, best quality) (intricate details) (unity 8k wallpaper) (ultra detailed) (close up) (portrait) (visually stunning:1.4) girl (princess Ariel) (in the air), lora:audrey_kawasaki:0.8, lora:more_details:1
fishbird
fish bird blue, wings, (masterpiece:1.4, best quality), (intricate details), unity 8k wallpaper, ultra detailed, beautiful and aesthetic, (photorealistic:1.4), perfect lighting lora:more_details:0.5
Astrid
sci-fi, close up photo of a 4 year old Asian girl lora:astrid:1.3, face, long hair, slim body, 8k uhd, high quality, film grain
Cyborg Dom
complex 3d render ultra detailed of a beautiful porcelain profile Asian man android face, cyborg, robotic parts, 150 mm, beautiful studio soft light, rim light, vibrant details, luxurious cyberpunk, lace, hyperrealistic, anatomical, facial muscles, cable electric wires, microchip, elegant, beautiful background, octane render, H. R. Giger style, 8k, best quality, masterpiece, illustration, an extremely delicate and beautiful, extremely detailed ,CG ,unity ,wallpaper, (realistic, photo-realistic:1.37),Amazing, finely detail, masterpiece,best quality,official art, extremely detailed CG unity 8k wallpaper, absurdres, incredibly absurdres, robot, silver halmet, full body, sitting), lora:dph:1.9 illustration, 3d, sepia, painting, cartoons, sketch, (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale:1.2)), futanari, full-package_futanari, newhalf, collapsed eyeshadow, multiple eyebrows, analog, analogphoto, signatre, logo,2 faces
masterpiece, best quality, mecha, no humans, black armor, blue eyes, science fiction, fire, laser canon beam, war, conflict, destroyed city background, lora:Niji:1.2:MIDD UnrealisticDream, FastNegativeV2,
complex 3d render ultra detailed of a beautiful porcelain profile woman android face, cyborg, robotic parts, 150 mm, beautiful studio soft light, rim light, vibrant details, luxurious cyberpunk, lace, hyperrealistic, anatomical, facial muscles, cable electric wires, microchip, elegant, beautiful background, octane render, H. R. Giger style, 8k, best quality, masterpiece, illustration, an extremely delicate and beautiful, extremely detailed ,CG ,unity ,wallpaper, (realistic, photo-realistic:1.37),Amazing, finely detail, masterpiece,best quality,official art, extremely detailed CG unity 8k wallpaper, absurdres, incredibly absurdres, lora:japaneseDollLikeness_v10:0.1, lora:koreanDollLikeness_v10:0.5, robot, silver halmet, full body, sitting) illustration, 3d, sepia, painting, cartoons, sketch, (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale:1.2)), futanari, full-package_futanari, penis_from_girl, newhalf, collapsed eyeshadow, multiple eyebrows, vaginas in breasts,holes on breasts, fleckles, stretched nipples, gigantic penis, nipples on buttocks, analog, analogphoto, signatre, logo,2 faces
sci-fi, close up photo of a beautiful Asian girl in (spiderman costume|super Saiyan armor), face, long hair, slim body, 8k uhd, high quality, film grain sci-fi, closeup portrait photo of woman in combat clothes, face, long hair, slim body, 8k uhd, high quality, film grain (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, easynegative, bad-hands-5
Best quality,masterpiece,ultra high res,(photorealistic:1.3),raw photo,unity 8k wallpaper,cowboy shot,WitchcraftPunkAI,purple and blue tone,(lightning:1.2),panorama,in the castle,halo,aura,(light particles:1.2),witch hat,witch mercy,(spell:1.2),(evil grin:1.1),glowing hand,glowing hair,happy,smoke,phanpy,A shocking scene,Complex background, 3 year old asian girl
3dmm style, 8K, (masterpiecehigh detailedhighres), sharp focus, Natural volumetric lights, soft lighting, animal_onesie, fuzzy_onesie, hood, animal_kigurumi, brown_eyes, black_hair, smiling, looking_at_viewer, symmetric_eyes, detailed_eyes, outdoor, forest, string_lights in trees, night, fireflies, evening, barefoot, view_from_above, lora:3DMM_V11:0.8 NSFW, EasyNegative, drawn by bad-artist, sketch by bad-artist-anime, (bad_prompt:0.8), (artist name, signature, watermark:1.4), (ugly:1.2), (worst quality, poor details:1.4), bad-hands-5, badhandv4, blurry, tattoo, piercing, deformed feet, deformed hands, bed
ultra detailed 8k cg, japanese ramen, chopsticks, egg, steam, BadDream, logo, watermark, signature, text
(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful artwork in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional oil painting of a stunning woman by Ed Blinkey and Atey Ghailan and Jeremy Mann and Greg Rutkowski, detailed, sharp focus, dramatic, award winning, matte drawing, cinematic lighting, octane render, unreal engine, volumetrics dtx (worst quality, low quality:1.4), (blurry:1.2), (greyscale, monochrome:1.1), 3D face, cropped, lowres, text, jpeg artifacts, signature, watermark, username, blurry, artist name, trademark, watermark, title, multiple view, reference sheet, plump, fat, muscular female, strabismus, out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck)))
lora:A_Snow_Angel:0.8 , Snow_Angel, Frozen, ((best quality)), ((masterpiece)), ((realistic)), ((18-year-old girl as a snow angel princess in a fantasy golden throne room, frozen, mystic fog, frost flowers)), In the grandeur of a throne room, an 18-year-old girl embodies the enchantment of a snow angel princess. Adorned with elegant earrings, intricate jewelry, and a tribal tattoo, she exudes a sense of regality and grace. Her flowing hair, infused with a radiant glow, cascades around her, accentuated by an ethereal ice hair ornament and a necklace fashioned from glistening ice. Her sharp eyes captivate with a blend of determination and wisdom. Draped in a dress of ice, she personifies the beauty and power of the frozen realm. The throne room, adorned with golden ornaments and surrounded by an icy atmosphere, emanates an otherworldly charm. Swirling fog and the cold permeate the air, creating an ambiance of mystique. A large watch prominently displays the passage of time, a symbol of her royal lineage. Paintings and lush plants add touches of color amidst the frozen surroundings, while water flows gracefully, mirroring the princess's elegance. Ice shards glimmer and sparkle, reflecting light and emitting delicate sparks, guided by the whims of the wind. The blurry background and bokeh lend a dreamlike quality to the scene, accentuated by gentle sidelight that casts a soft glow on her face. Against a light backdrop, the composition showcases the Tyndall Effect, infusing the air with a captivating vibrancy. The vibrant colors and meticulous attention to detail make this artwork a true cinematic masterpiece, capturing the majesty, beauty, and magic of the snow angel princess in her icy domain. (Haircut model by Wispy bangs, possed is Running pose, sharp dark brown, shooting angle is Wide-angle view, time is Low-Key Lighting), ((((thigh, cleavage, breast, nipples, show thigh, haunch, show cleavage)))), (3d, render, cgi, doll, painting, fake, cartoon, 3d modeling:1.4), easynegative, (worst quality, low quality:1.4), bad-hands-5, bad-image-v2-39000, illustration, sketch, umbrella,, bad_prompt_version2:1, easynegative, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), bad anatomy, out of view, cut off, ugly, deformed, mutated, EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spots, glans, extra fingers, fewer fingers, "(ugly eyes, deformed iris, deformed pupils, fused lips and teeth:1.2), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, text, caption, watermark, too many colors, color burn,
Beautiful portrait - Dreamshaper
8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, lora:more_details:0.2
Full body green woman on couch
(full body shot:1.3), bokeh:1.2, indoors, (white thigh socks), ((sitting on sofa with legs open, facing straight at viewer)), solo, ((wearing circle skirt and over-sized shirt with shoulders showing)), lora:more_details:0.4, lora:LowRA:0.45, (22 years old woman), medium breast, small waist, golden flowing hair glamour, (green glowing eyes, beautiful eyes), beautiful face, perfect illumination, beautiful detailed eyes, looking at viewer, stunningly beautiful woman, detailed hairstyle, realistic_detailed_skin_texture, good hands, good feet, (8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37), ultra high res, photon mapping, radiosity, physically-based rendering, (ambient light:1.3), (cinematic composition:1.3),professional soft lighting, light on face, (worst quality:1.4),(low quality:1.4),(monochrome:1.1),verybadimagenegative_v1.3,badhandv4,bad anatomy,((nipples)), EasyNegative, fat, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), bad anatomy, text, error, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet, poorly drawn face, bad proportions, gross proportions, ng_deepnegative_v1_75t, badhandsv5-neg, phone
Paragon
- Negative prompts: (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, easynegative, bad-hands-5
- Euler A or DPM++ SDE Karras with 25+ steps
- CFG Scale 5-12
- Hires. fix with Latent or UltrasharpX4 upscaler
- 0 Hires steps and Denoising strength 0.35-0.7
- Upscale by 1.1-2.0
- ENSD 31337
- Clip Skip 2
Prompts
- https://huggingface.co/datasets/Gustavosta/Stable-Diffusion-Prompts/viewer/Gustavosta--Stable-Diffusion-Prompts/train?row=99
- Adidas sneakers that look like Iron Man, detailed, nvinkpunk
- Tracer from Overwatch, character portrait, portrait, close up, concept art, intricate details, highly detailed
- Chun Li | | realistic shaded, fine details, realistic shaded lighting poster by artgerm, nvinkpunk
- cyberpunk corporate woman | | realistic shaded, fine details, realistic shaded lighting poster by artgerm
- astronaut riding a horse on mars, drawing, sketch, pencil
OpenAI
- AutoGPT: https://docs.agpt.co/setup/#set-up-with-git
- API Key:
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
Python
pip list -vshows where pip packages are installed.- For Python 3.x, default location:
C:\Users\domin\AppData\Local\Programs\Python\Python310\Lib\site-packages - Scripts appear in:
C:\Users\domin\AppData\Local\Programs\Python\Python310\Scripts virtualenvpip install virtualenvcd my-projectvirtualenv --python C:\Users\domin\AppData\Local\Programs\Python\Python310\python.exe venv.\venv\Scripts\activateto activate environment