About the shanghai doll tag
shanghai doll is a character tag that NovelAI Diffusion can use. On Danbooru it has 9,078 posts, and its best-rated still image scores 685. The samples above put the tag at the front of a fixed base prompt with seed 1234, so the differences between tags come from the tag alone.
How each model draws shanghai doll
Follows composition and expression instructions closely, so the effect shows in a tidy form.
Reacts to the tag more strongly, so its effect is easier to see.
WAI illustrious SDXL v17, a local model. Shows how the same tag reads outside NovelAI.
Writing shanghai doll in a prompt
Put the subject first, then this tag, then quality tags.
shanghai doll, solo, best quality, masterpiecewlop, shanghai doll, soloThe negative prompt and the full settings are on the terms page.
How these samples were made
Every image uses 832×1216, seed 1234, 23 steps and the k_euler_ancestral sampler. The base prompt and negative prompt stay the same for every tag, and only the tag under test changes. Images flagged by the NSFW check are regenerated with a new seed or hidden.
From the Danbooru wiki
Show the wiki text ▾Hide ▴
Touhou character. The physical component for Alice Margatroid's spellcard "Eerily Luminous Shanghai Doll" in Perfect Cherry Blossom / Immaterial and Missing Power, as well as her familiar in Imperishable Night.
Shanghai is a very popular supporting character (or artifact) in Touhou fan art depicting Alice.
Some comic artists give the doll a personality and feelings of its own, making it a "master doll" that helps control the lesser dolls. Others show it as Alice's primary magically-controlled "puppet". These points of view can be mixed, possibly to give an impression of Alice "debating with herself" through doll use, reminiscent of the way ventriloquists use puppets. Sometimes she/it is even depicted as lacking "doll" traits entirely, resembling a minigirl.
Another view is that Shanghai is a type or class of magical dolls rather than an individual doll. This is based on the fact that several Shanghai dolls are seen simultaneously in Perfect Cherry Blossom.
Canonically, Shanghai, like all the rest of Alice's dolls, is a mindless drone that requires direct supervision for all but the most basic of autonomous action, despite Alice's ongoing efforts to create a truly sapient construct. When a fanwork depicts Alice finally succeeding, Shanghai is usually the subject.
See also
External links
FAQ
Does NovelAI recognize shanghai doll?
Compare the samples on this page. Every tag on this site shares the same seed and base prompt, so any change you see comes from shanghai doll.
How do I write shanghai doll in a prompt?
Write "shanghai doll" near the front of the prompt and separate it from other tags with commas.
Should I use V5 or V4.5?
V4.5 shows the tag's effect more strongly. V5 gives steadier images with fewer artifacts.

