英文

亚洲角色

欢迎来到亚洲角色模型,这是一个中国华丽古风的游戏角色模型。该模型旨在通过一些简单的提示生成高质量、高度详细的动漫风格。

例如:一个女孩,白色头发,美丽的蓝眼睛,红唇,细致的天空,花园

这个模型是一个合并模型,其中包含 GuoFeng3 Chilloutmix

空白

我们支持Gradio Web UI来运行它:

https://huggingface.co/spaces/shibing624/asian-role

? 扩散器

这个模型可以像其他稳定扩散模型一样使用。更多信息,请参考 Stable Diffusion

您还可以将模型导出到 ONNX MPS 和/或 FLAX/JAX

from diffusers import StableDiffusionPipeline
import torch

model_id = "shibing624/asian-role"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
pipe.safety_checker = lambda images, **kwargs: (images, False)

prompt = "1girl"
negative_prompt = """(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation, deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl"""

image = pipe(prompt, height=512, width=512, num_inference_steps=30, guidance_scale=6, 
    negative_prompt=negative_prompt, num_images_per_prompt=1).images[0]

image.save("./1girl.png")

NovelAI/stable-diffusion-webui

这个模型可以在 AUTOMATIC1111/stable-diffusion-webui 中使用。

只需将模型文件 asian-role.safetensors 放到 stable-diffusion-webui/models/Stable-diffusion 中,就可以了,不需要额外的VAE模型,模型内部包含VAE。

示例

下面是使用此模型生成的一些图像示例:

动漫女孩:

{{{masterpiece}}}, {{best quality, super fine illustration , beautiful and delicate water,The finest grass}}. ((beautiful eyes)),{ very delicate light, perfect and delicate limbs}, {nature, painting, water spray},{{ fine luminescence ,very fine 8K CG wallpaper}},Lavender eyes, pink pupils, whole body, white hair, bright eyes,( (an extremely delicate and beautiful girl)), ((1 girl)), medium bust, dynamic angle, (white dress with gold decoration), (long hair flowing with the wind, beautiful hair ornaments, delicate wet skirt, nsfw, breeze, long bangs between eyes), wrinkled skirt, (staring blankly, lovely big eyes),messy_hair,payot,Lateral braid,(Tulle lace white skirt),flowers and grass meadow, near the water edge, ((sunset, starry sky in a circle), randomly distributed clouds, (((river))), splashing water, falling petals
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1, Size: 618x768, Model: asian-role

真实女孩:

(Masterpiece),(best quality),((masterpiece)),(highres), original, portrait of a beautiful teenager, small breasts, formal dress, soft smile, red lips, nice hair, beauty eyes, 1girl, solo, realism, {{{{drawn by Xi Zhang}}}}
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 23, Sampler: Euler, CFG scale: 7, Seed: 1, Size: 618x768, Model: asian-role

真实男孩:

(Masterpiece),(best quality),((masterpiece)),(highres), original, portrait of a beautiful young man, handsome, smile, short hair, beauty eyes, 1boy, solo, realism, formal dress, chinese face, {{{{drawn by Ralph Steadman}}}}
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1, Size: 618x768, Model hash: 60dbd0f982, Model: asian-role

场景:

(extremely detailed CG unity 8k wallpaper),(((masterpiece))), (((best quality))), ((ultra-detailed)), (best illustration),(best shadow), ((an extremely delicate and beautiful)),dynamic angle,floating, fairyland,dynamic angle,sea of flowers,beautiful detailed garden,wind,classic,spring, (detailed light),feather, nature, (sunlight), river, forest,(((floating palace))),((the best building)),beautiful and delicate water,(painting),(sketch),(bloom),(shine)
Negative prompt: (((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly, pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs, bad feet, loli, little girl
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1, Size: 618x768, Model: asian-role

如何使用

推荐设置:

  • prompts:
{best quality}, {{masterpiece}}, {highres}, {an extremely delicate and beautiful}, original, extremely detailed wallpaper, 1girl
  • Negative prompts:
(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error legs,username,blurry,bad feet
  • 采样步骤:30或50

  • 采样器:DPM++ SDE Karras

  • 图片的尺寸至少应为768

  • 建议使用的提示关键词:

strapless dress, smile, chinese dress, dress, hair ornament, necklace, jewelry, long hair, earrings, chinese clothes

许可证

该模型具有开放访问权限,并具有 cc-by-sa-4.0 许可证,进一步指定了权利和使用方式。cc-by-sa-4.0 许可证规定:

  • 您不能使用模型故意产生或分享非法或有害的输出或内容
  • 作者对您生成的输出不提出任何权利声明,您可以自由使用它们,并对使用它们负责,且不得违反许可证中的规定
  • 您可以重新分发权重,并将模型用于商业和/或作为服务。如果您这样做,请注意您必须包括与许可证中相同的使用限制,并向所有用户共享 CreativeML OpenRAIL-M 的副本(请完整且仔细阅读许可证) Please read the full license here