Author Topic: AI Image Generation  (Read 3490 times)

0 Members and 1 Guest are viewing this topic.

Offline AlStar (OP)

  • Lt. Commander
  • ********
  • Posts: 208
  • Thanked: 160 times
  • Flag Maker Flag Maker : For creating Flags for Aurora
    Race Maker Race Maker : Creating race images
AI Image Generation
« on: September 07, 2022, 05:38:01 PM »
I've been playing around with Stable Diffusion, an AI image generator, for a couple days now. One of the first things I thought to work on with it was new race pictures - I could make* my very own! No need to scower through the internets for work of a correct type and in a style that I like that's been created by others to crop and resize... I can now get my computer to labor over new pics on its own!

Anyway, I've been running it through it's paces some, and I thought I'd share some of the more successful outputs.
This is "head and shoulders, cyborg soldier, sinister atmosphere, highly detailed, intricate line drawings, artstation", which gave me the following:



I then ran the one in the lower left corner through img2img, with the simple command of "trending on artstation":



The future is now, and it's pretty cool, I've got to say.

*For certain definitions of 'make'
 
The following users thanked this post: mike2R, smoelf, DEEPenergy, StarshipCactus, skoormit, ranger044

Offline TMaekler

  • Vice Admiral
  • **********
  • Posts: 1112
  • Thanked: 298 times
Re: AI Image Generation
« Reply #1 on: September 08, 2022, 01:51:51 AM »
That is really great  :o . Experimenting with some AI stuff myself atm. How can I get access to this image generator?
 

Offline AlStar (OP)

  • Lt. Commander
  • ********
  • Posts: 208
  • Thanked: 160 times
  • Flag Maker Flag Maker : For creating Flags for Aurora
    Race Maker Race Maker : Creating race images
Re: AI Image Generation
« Reply #2 on: September 08, 2022, 07:17:32 AM »
That is really great  :o . Experimenting with some AI stuff myself atm. How can I get access to this image generator?

I followed this installation guide (found through Reddit), which has excellent step-by-step instructions, with pictures.

If you've got a decently hefty graphics card (I'm running this on a 3060 Ti, and each image takes about 10 seconds to generate) and the space and ability to download several gigs of data to get everything set up; I totally recommend checking it out.
 

Offline mike2R

  • Lieutenant
  • *******
  • m
  • Posts: 180
  • Thanked: 117 times
Re: AI Image Generation
« Reply #3 on: September 08, 2022, 08:24:56 AM »
This is really cool. I'd love to have something like this hooked up to the ship designer to generate an illustration for my ships...

Just playing around with a random online image generator (no idea how sophisticated it is) got some results I wouldn't mind seeing in a thumbnail:

spaceship battlecrusier with spinal mounted laser

spaceship missile armed fighter
 

Offline Droll

  • Vice Admiral
  • **********
  • D
  • Posts: 1712
  • Thanked: 602 times
Re: AI Image Generation
« Reply #4 on: September 08, 2022, 11:02:08 AM »
Bottom right on the top set looks like a cyborgified star wars First Order trooper
 

Offline Noble713

  • Warrant Officer, Class 2
  • ****
  • N
  • Posts: 51
  • Thanked: 5 times
Re: AI Image Generation
« Reply #5 on: September 12, 2022, 10:34:51 AM »
I've also been geeking out with Stable Diffusion, using it to make character images for my DnD character, my home-brew Traveller campaign (WIP), etc....

Personally I'm running it in a docker container on my Ubuntu machine (https://github.com/AbdBarho/stable-diffusion-webui-docker). Docker was the easiest way to get around Python's dependency hell. I only have a 1060 Ti (6GB) so image generation takes ~45s for 512x512 images, and twice that for 832x512.

If you don't have a good GPU, I recommended poking around Lexica.art and simply downloading something that is close to what you want. There is some drop-dead gorgeous AI-generated imagery on that site.
 

Offline AlStar (OP)

  • Lt. Commander
  • ********
  • Posts: 208
  • Thanked: 160 times
  • Flag Maker Flag Maker : For creating Flags for Aurora
    Race Maker Race Maker : Creating race images
Re: AI Image Generation
« Reply #6 on: December 29, 2022, 05:22:49 PM »
So, it's been a little while, but I finally got around to seriously building out an AI-generated set of race pictures. I figured that a good theme for an AI-generated image set would be cybernetic / cyborg entities, so that's what I ran with, although we've got some images that morphed over to more alien-looking or robot-looking, depending on the AI's whims, some of which I kept because I liked how they turned out.

Starting off with roughly 2,000 images, which were a mix of text-to-image (for new raw images) and image-to-image (for when a particular image interested me, and I wanted to see more permutations on a specific theme), I whittled down the selection to 375 images that I liked.

Of course, these were all the default AI-generated 512x512 images, so the directory weighed in at 141 megs. While that isn't entirely insane in this day-and-age of multi-gig downloads, I decided to trim things down a little bit. A batch resize to 75% (384x384) got the size under 100 megs - which is notably small enough to attach to this message - while remaining perfectly fine for the little window that Aurora uses for race pictures.

Overall, the process took about a day, running batches of 20 images at a time in the background while I was browsing the internet or watching something streaming, then a couple hours combing through the results to decide on what to actually include in the image pack.

Anyway, without any further adieu, a preview:
 
The following users thanked this post: Laurence, Zap0

Offline AlStar (OP)

  • Lt. Commander
  • ********
  • Posts: 208
  • Thanked: 160 times
  • Flag Maker Flag Maker : For creating Flags for Aurora
    Race Maker Race Maker : Creating race images
Re: AI Image Generation
« Reply #7 on: March 10, 2023, 08:40:27 AM »
I'd argue that this belongs in C# Utilities/Image Enhancements, rather than in AI Fiction - I'm not using AI to make stories, just new art assets.
 
The following users thanked this post: Stormtrooper

Offline Erik L

  • Administrator
  • Admiral of the Fleet
  • *****
  • Posts: 5658
  • Thanked: 376 times
  • Forum Admin
  • Discord Username: icehawke
  • 2020 Supporter 2020 Supporter : Donate for 2020
    2022 Supporter 2022 Supporter : Donate for 2022
    Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
Re: AI Image Generation
« Reply #8 on: March 13, 2023, 03:27:16 PM »
I'd argue that this belongs in C# Utilities/Image Enhancements, rather than in AI Fiction - I'm not using AI to make stories, just new art assets.

True. I was trying to group all of the AI related stuff together.

Offline Elouda

  • Gold Supporter
  • Lieutenant
  • *****
  • Posts: 194
  • Thanked: 21 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2020 Supporter 2020 Supporter : Donate for 2020
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
Re: AI Image Generation
« Reply #9 on: March 14, 2023, 02:20:12 AM »
I'd argue that this belongs in C# Utilities/Image Enhancements, rather than in AI Fiction - I'm not using AI to make stories, just new art assets.

True. I was trying to group all of the AI related stuff together.

Maybe 'AI Content' would be a more suitable title for this section, and more representative of the broad range of stuff possible with it?