Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

AI Art Generation Handbook/Prompting in Stable Diffusion Style/GUI Interface

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Assuming you successfully installed Stable Diffusion after following instructions from here, you can see the following screen as followed:left|frameless|950x950px +TabsFunctions / Descriptionstext2imgThis tab is where the text typed in (known as prompt from here onward) are magically turned into images that more or less fit the descriptions (The results will usually looked different/similar totally from what you imagined)img2imgThis tab is where usually a simple sketch accompanied by prompt to guide how the image will looked like later on (Precursor to ControlNet)ExtrasThis tab is were the images that are to be enlarged can be done herePNG InfoThis tab is where you can recover the info of settings used (prompt, seed, CFG Scale, etc...) that are used based on metadata Note1: If the image source is from Reddit/Facebook, the metadata is usually striped clean and no usable info will be retrieved Note2: This will only works from images generated from Automatic1111 or SD.NextCheckpoint MergerIf you want to merge multiple models without doing any model training , you can use this tabsTrainThis is to be trained using TI (Textual Inversion) methodsSettingsThis tab is where all of SD settings are hereExtensionsThis tab is where the extensions is managed . See here for more details To start to do AI art generation in Stable Diffusion, just type any (yes, anything) that you had in mind. inside the first field text. Just remember that there are a maximum limit of 75 tokens for Stable Diffusion. So, you may wonder what is a token? A token is a sequence of characters that represents a single unit of meaning in a text. It is a fundamental concept in NLP, as most NLP models operate on a token level, meaning they process text one token at a time.To understand tokens, let's consider the following sentence: "The quick brown fox jumped over the lazy dog." In this sentence, each word is a token. Each token has its own meaning, and together they convey the meaning of the entire sentence, where each word is a separate token.In the context of AI language models, tokens are often created by a process called tokenization, which involves breaking down a text into individual tokens or words. This process can involve removing punctuation, lowercasing the text, and dealing with other special cases, such as contractions. Once a text has been tokenized, the tokens can be further processed and analyzed by an AI language model. Face Restoration For the images generations of human faces, it is highly recommended to use Codeformer (instead of GPFGAN) left|frameless|450x450px Template Here are some of my sample template of generating the following Change the name of parameters enclosed in < > brackets. +TargetSample promptNegative promptPlausible realistic human faceA realistic photographs of <ethnicity> wearing <type of wardrobe wear> , <describe activity> in <describe place>Cartoon, anime, drawing, sketches, CGIProduct photoshoot as seen in e-commerce websiteHigh quality professional studio product photoshoot of  <products> product , ((white backgrounds isolated)) , (isometric view)cluttered, off centered, cropped, collage, montage, grid, series, humanMermaid with underwater effect shotsrealistic photo of beautiful <rthicity> mermaid tail, , partial underwater shot, lower body in water , lower half frame underwater. upper half frame sky, blue skynude, leg ,upper legs , lower legs , split tails, conjoined tailsImages set in outer spacecinematic, dark lighting, high resolution, sharp focus