Experimenting with Stable Diffusion

Attempting to find out how to consistently improve the quality of the images I'm able to generate using Stable Diffusion.

I previously wrote about how I set up Stable Diffusion to work within a Next.js web application. Here I'm going to attempt finding out how to consistently improve the quality of the images I'm able to generate using Stable Diffusion.

Focusing on a specific style

I already found in my previous post on the topic that adding
"trending on artstation HQ, 4k, detailed" to the end of the prompt improved the results that I was seeing, so I'm going to begin with that by default.

I'm going to focus on images designed to be as photorealistic as possible. I've already seen Pieter Levels create his project This House Does Not Exist, where he renders modern architectural photos using Stable Diffusion, to great effect.

Lakes

I decided to initially focus on nature scenes, starting with lakes. I feel that lakes are more complicated because they have to accurately portray the reflection of the water.

Prompt: a photorealistic image of a lake, with lilypads, trending on artstation HQ, 4k, detailed
This image used the same prompt as above - I feel the output is much better.
Prompt: a photorealistic image of a lake, with lilypads and mountains in the background, trending on artstation HQ, 4k, detailed
Same prompt as above
Prompt: a photorealistic image of a lake, with lilypads and mountains in the background with low contrast, trending on artstation HQ, 4k, detailed
Prompt: a photorealistic image of a lake, with lilypads and mountains in the background with low contrast and fog across the water, trending on artstation HQ, 4k, detailed

Woodlands

Prompt: a photorealistic image of a woodland, with foliage and shrubbery overgrowing the path trending on artstation HQ, 4k, detailed
Same prompt as above

Deserts

Prompt: a photorealistic image of a desert, in dubai trending on artstation HQ, 4k, detailed
Prompt: same as above, although I feel the result is significantly better

Improving prompts with GPT-3

I decided that I wanted to experiment with whether prompts could be improved automatically with GPT-3.

This post is for subscribers only

Already have an account? Sign in.

Subscribe to Charles Williamson

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe