The img2img technique took Duke Nukem, The Secret of Monkey Island, Star Wars: Dark Forces, and other games to the next level.
Stable Diffusion, a text-to-image model, has been inspiring a lot of people since it became open-source, including a Reddit user frigis9, who has published some cool portraits of DOS games characters.
frigis9 used Stable Diffusion's new feature – an image synthesis technique called "img2img", which applies a text prompt to the input image and generates a similar output image based on it. The author transformed Commander Keen, The Secret of Monkey Island, Duke Nukem, King's Quest VI, Star Control II, Star Wars: Dark Forces, Doom, and other famous titles.
frigis9 how the portraits were made with Visions of Chaos – software for creating generative art:
"I'm using Visions of Chaos, and for nice, simple portraits like these, I set the init image strength to 0.25. For darker, less-detailed images, [you] may have to crank it up to 0.35 or 0.4. You'll just have to fiddle with the image strength value, and once you've got that (i.e., checking to see if your output image more-or-less looks like your init image), work on the prompt to add or remove details. Adjust, rinse and repeat about a hundred times till you get the perfect (or meh, good enough) image.
You may find these articles interesting