RimWorld

RimWorld

AI art
boriselec  [developer] Mar 26, 2023 @ 3:21pm
feature requests
wanted features goes here
< >
Showing 1-15 of 39 comments
PistFissed Mar 26, 2023 @ 3:55pm 
It would be great to see the string before it is sent and potentially be able to modify the string beforehand. Having a [submit] button on the string might help traffic too since it wouldn't be automatically attempting to create an image every time a new art object or colonist is clicked.

Mainly I mean editing the string for colonists. One string might consist of "girl_Collector_light-skinned_with_shoulder-length_red_hair_in_maroon_clothes_age_18beautiful_portrait_of_a_human"

Taking this apart, we see:
girl = gender
Collector = Pawn adult backstory OR player-given title
light_skinned = melanin
shoulder-length = hair type
red_hair = hair color
maroon_clothes = clothing
age_18 = colonist physical age
beautiful_portrait_of_a_human = this appears to be the part that makes the AI generate the actual portrait image instead of some other rendition of the pawn.

Of course you know all that, but this particular colonist was a girl with dark skin, long black hair in blue clothes. Not sure how the AI picks the skin color, hair color, and clothing color at all.

It would make it a lot easier to make pawns with extraordinary colors (hues of green, blue, or even fur or scales) if we could set the parameters before sending the string to the AI.
PistFissed Mar 26, 2023 @ 4:20pm 
Ooo, I see you may have changed it to use traits instead of title. That's interesting.
boriselec  [developer] Mar 26, 2023 @ 5:31pm 
If you want to see text used to generate image you can enable dev mode (Load RimWorld and press the "Options" button, accessible from the main menu. The middle column, labeled "Gameplay," has a "Development Mode" option, which you should activate. )

Then check console (left icon on the top screen), there should be something like ''careful shooter woman forester light-skinned with shoulder-length red hair in maroon clothes age 25"

> able to modify the string beforehand
This is not in the scope of this mod. Idea is to make description automatically (even if resulted image is not ideal)

> Having a [submit] button on the string might help traffic
In the latest version on mod it is not submitted until you click on blank avatar
chiwa_uwu Mar 26, 2023 @ 6:47pm 
Hope to add the function of custom text
or a way to regenerate images you don't like
Unfriendly to racial players
For example:
Rabbit related races are all bald
Moyo don't have blue skin
SkimmingDawg Mar 26, 2023 @ 6:48pm 
maybe instead of generating avatars only with name how about generating them with a picture of the pawn? looking at the pawn and trying to upscale it into real life

Would allow compatability with all modded charactors
Last edited by SkimmingDawg; Mar 26, 2023 @ 6:50pm
Vardath Mar 27, 2023 @ 3:48am 
In case you missed my comments, could you add words from genes (mainly to make biotech races avatars more realistic), words from the pawns hediffs (scars and such but any amount of detail is welcome), the trait thing is nice (in a nudist colony), oh and maybe a note on who the father and mother are so the AI can blend the two?
boriselec  [developer] Mar 27, 2023 @ 2:20pm 
Genes are tricky to implement. Can't figure it out how to make it properly for now.

Problem with sending scars is that once colonist get injured (which happens way too often) image generator will create completely different appearance.
One idea to make this work is to make new avatar from old avatar with additional hediffs text prompt (img2img). Will look at this in the future.
PistFissed Mar 27, 2023 @ 4:50pm 
Does the string pull from a random list of hair colors and clothing colors? Or, in some cases, nothing but red hair for twenty pawns with brown hair?
batatspamavert Mar 27, 2023 @ 6:09pm 
I see that filenames are based on traits which means that (if I understand correctly) if the character has their traits changed, so does the portrait. On one hand it's quite cool as it can catch things like age progression, but then it re-generates characters after they dye their clothes between saves(?), sometimes radically changing the appearance. Would it be possible to save them as character name (id?) instead so they could be more permanent?

E: it would also be great if we could replace the portraits at the top of the screen with generated ones.
Last edited by batatspamavert; Mar 27, 2023 @ 6:54pm
Karax Mar 27, 2023 @ 11:42pm 
Could you show prompt of colonist before it is sent to server? If we could edit it manually, before request for image is made, we could add missing keyword or change it for better effect.
Vardath Mar 28, 2023 @ 3:10pm 
Just a tip, if you can remove nudist tag from any pawn who hasn't reached 18 you'll save a lot of headaches for yourself and others later on. Please do keep it for 18 and older.
boriselec  [developer] Mar 28, 2023 @ 7:32pm 
@Vardath
True. Fixed.

@PistFissed
There is hair color of attached to pawn in original game.
Vardath Mar 30, 2023 @ 5:29pm 
Can you please add a button to regenerate the image? Sometimes the image doesn't generate properly and I'm stuck with a big red question mark instead. Also sometimes people aren't happy with the portrait and would like a new one. Thanks so much for this mod, it makes new recruits worthwhile.
Murk Apr 7, 2023 @ 10:03am 
Originally posted by Vardath:
Can you please add a button to regenerate the image? Sometimes the image doesn't generate properly and I'm stuck with a big red question mark instead. Also sometimes people aren't happy with the portrait and would like a new one. Thanks so much for this mod, it makes new recruits worthwhile.

This would be great - my current playthough has several generations and a lot of their portraits are stuck as a child even though they are quite old now

The mod is great though, and I love seeing the crazy Rimworld art drawn by the AI!
Karax Apr 7, 2023 @ 4:49pm 
Could you allow to select file to use as portrait?
I prompt python code directly for my colonists, so I can tune request to fit colonist the best way possible, but I still use your's great auto-prompting for other pawns. Could you allow me to easy replace images for colonist by selecting file in disk or punting especially named file in paw images directory e.g. default.png ?
< >
Showing 1-15 of 39 comments
Per page: 1530 50