<p>Algorithmically-generated AI portrait artwork in monochrome style, featuring a young Japanese woman at the front of a castle on a snowy day, created using the <a rel="nofollow" class="external text" href="https://github.com/CompVis/stable-diffusion">Stable Diffusion V1-4</a> AI diffusion model.
</p>
<dl><dt>Procedure/Methodology</dt></dl><p>All artworks created using a single NVIDIA RTX 3090. Front-end used for the entire generation process is <a rel="nofollow" class="external text" href="https://github.com/AUTOMATIC1111/stable-diffusion-webui">Stable Diffusion web UI</a> created by <a rel="nofollow" class="external text" href="https://github.com/AUTOMATIC1111">AUTOMATIC1111</a>.
</p><p>A single 512x768 image was generated with txt2img using the following prompts:
</p><p><code>Prompt: black and white, highly detailed line art, (close up shot of:0.6) (full body1.3) of a teenage Japanese geisha girl (pretty face:1.4) (realistic eyes:1.2) (detailed pupils) (ornate coiffed hair), in front of battlements, on a moonlit night, snowfall, [:falling snowflakes:0.7], by (Yoji Shinkawa:1.2), (Kentaro Miura), (WLOP), (Artgerm), (intricate human hands), [bodycon] intricate</code>
</p><p><code>Negative prompt: disney, two heads, ((mutated hands and fingers and face and nose)) (walleyed), blurred face, ((poorly drawn face)) (long neck) ((ugly)) frown, ((neutral expressions)), curly hair, [[child]]</code>
</p><p><code>Settings: Steps: 50, Sampler: Euler a, CFG scale: 6, Size: 512x768</code>
</p><p>Afterwards, the image was extended by 256 pixels total on the bottom using two 128 pixel passes of the "Outpainting mk2" script within img2img. This was done using a setting of 100 sampling steps with Euler a, denoising strength of 0.8, CFG scale of 7, mask blur of 8, fall-off exponent value of 1.8, colour variation set to 0.03. This subsequently increases the image's dimensions to 512x1024, while also revealing the young woman's hands and lower dress, which were previously absent from the original AI-generated image made within txt2img which only featured the woman from the navel upwards.
</p>
Then, two passes of the SD upscale script using "SwinIR_4x" were run within img2img. The first pass used a tile overlap of 64, denoising strength of 0.1, 150 sampling steps with Euler a, and a CFG scale of 7. The second pass used a tile overlap of 128, denoising strength of 0.1, 150 sampling steps with Euler a, and a CFG scale of 7. This creates our final 2048x4096 image.
<a href="//commons.wikimedia.org/wiki/User:Benlisquare" title="User:Benlisquare">Benlisquare</a>
CC BY-SA 4.0
<span class="int-own-work" lang="en">Own work</span>