How the prompt is built
Anime models like the ones on Lewdora read comma-separated tags best, in roughly this order: who is in the image, what they look like, what they wear, the pose and framing, the setting and light, and the style. The tool keeps that order, removes repeats, and ends with quality tags (masterpiece, best quality, highly detailed).