Skip to main content

Command Palette

Search for a command to run...

Character Generation Prompt

Updated
2 min read
Character Generation Prompt

Continuing from prompt engineering experiment, we have following XML style of prompt format.

<Character
  class="wizard women"
  name="Exlina Minerva"
  age="19"
  weight="normal"
  skin="pale white"
  hair="red curly"
  hat="wizard-hat-with-white-decoration"
  clothe="wizard-cloak"
  shoes="pointy-wizard-shoes"
  personality="cheeky"
  attachments="red-round-potion@waist"
/>

With guidance=20, steps=50 and seed=44:

Let’s study this image a bit:

<Character
  class="wizard women"        // ✅ Has impact
  name="Exlina Minerva"       // ❌ Removing does not impact generatin
  age="19"                    // ❌Changing this to 10 does not have any impact
  weight="normal"             // ❌No impact
  skin="pale white"           // ✅ Changing it to "dark skin" impacts the image
  hair="red curly"            // ✅ Changing this has impact
  hat="wizard-hat-with-white-decoration"  // 🟠 Had impact somewhat (like color) but not always
  clothe="wizard-cloak"       // ✅ Changing it changes overall costume 
  shoes="pointy-wizard-shoes" // ✅ Changign this does change the color but not much on the shape
  personality="cheeky"        // ✅ Changing this to "depressed" has some what of an impact, usually at higher guidance.
  attachments="red-round-potion@waist"    // 🟠 Sometimes works
/>

Notes:

If you remove name attribute, result is near identical.

If you change the age to 10, result is still more or less identical:

Changing the weight to chubby some how makes the generation “choppier but does not do anything to the characters chubbiness.“

Changing the skin to dark skin had impact:

Changing hair to blonde straight had impact even though the color was wrong:

Changing hat to something else (hat="baseball-cap") didn’t really work as expected.

I can change the color though:


That’s it for today. Will look into optimizing prompts in the future posts.

— Sprited Dev 🌱