Edit model card

PVC v3

This model is a latent diffusion model finetuned on Waifu Diffusion v1.5 beta 2 with PVC figure images. You can use Danbooru tags to generate images.

Downloads

Please use WD's vae to get good results!

Also, you can use badquality embedding in negative prompt!

Prompt guide

Trigger words

  • pvc means the pvc material style but not needed always.

  • figma is the figure style that has joints, and more tend to be product thumbnail images. Use with doll joints to get better joints.

  • nendoroid means the style of chibi figures. Use with chibi to get better results.

Tips

The PVC figure style is closer to the anime style than to the realistic style. So, it is recommended to put anime to positive prompt or realistic to negative prompt to get better results sometimes. If you want to avoid too realistic faces, try this!

Examples

masterpiece, best quality, pvc, 1girl, cat ears, blue hair, gradient hair, colored inner hair, long hair, floating hair, blue eyes, school uniform, blue shirt, ribbon, short skirt, thighhighs, zettai ryouiki, school bag, from above, cowboy shot, looking at viewer, wind, street, day, Negative prompt: badquality, oldest, chibi, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 744670484, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, pvc, 1girl, bangs, bare shoulders, beret, black hair, black shorts, blue hair, bracelet, breasts, buttons, colored inner hair, double-breasted, eyewear removed, green headwear, green jacket, grey eyes, grey sky, hat, jacket, jewelry, long hair, looking at viewer, multicolored hair, neck ring, o-ring, off shoulder, rain, round eyewear, shorts, sidelocks, small breasts, solo, sunglasses, wavy hair, wet, zipper, Negative prompt: badquality, oldest, chibi, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 2954169314, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, pvc, 1girl, cat ears, red hair, long hair, hairpin, swept bangs, yellow eyes, black jacket, white shirt, blue tie, white gloves, hand up, upper body, looking at viewer, buildings Negative prompt: badquality, oldest, chibi, realistic Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 2320075190, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, pvc, anime, 1boy, grey hair, red eyes, holding gun, handgun, black coat, looking at viewer, dynamic, Negative prompt: badquality, oldest, chibi, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 2543033775, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, figma, 1girl, cat ears, blue hair, high ponytail, parted bangs, white shirt, dress shirt, short sleeves, shorts, looking at viewer, doll joints, Negative prompt: badquality, oldest, chibi Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 595390714, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, figma, 1girl, brown hair, bob cut, blunt bangs, expressionless, red track suit, long pants, full body, running, dynamic, looking at viewer, Negative prompt: badquality, oldest, chibi, realistic, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 617339547, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, nendoroid, chibi, masterpiece, best quality, exceptional, 1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt, Negative prompt: badquality, oldest, realistic, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 3673139852, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, nendoroid, chibi, masterpiece, best quality, exceptional, 1girl, bare shoulders, baseball cap, black gloves, black headwear, black shirt, blue eyes, blue hair, breasts, coat, crop top, gloves, hand on hip, hat, large breasts, long hair, long sleeves, looking at viewer, mask, midriff, mouth mask, navel, off shoulder, open clothes, open coat, shirt, sleeveless, sleeveless shirt, solo, stomach, upper body, white coat, waifu, Negative prompt: badquality, oldest, realistic, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 3256539262, Size: 576x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, pvc, anime, 1girl, brown hair, school uniform, aqua ribbon, hand up, upper body, looking at viewer, beach, ocean, orange, sky, clouds, sunset, Negative prompt: badquality, oldest, chibi, simple background, bad anatomy, realistic, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 8, Seed: 537083103, Size: 768x576, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

masterpiece, best quality, exceptional, pvc, anime, 1girl, young, light purple hair, short hair, streaked hair, wavy hair, red eyes, queen, crown, white dress, crossed legs, thighhighs, boots, sitting, close-up, looking at viewer, throne, dark curtains, dark atmosphere Negative prompt: badquality, oldest, chibi, simple background, bad anatomy, realistic Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 8, Seed: 3981672289, Size: 768x576, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.6, Clip skip: 2, Hires upscale: 1.5, Hires upscaler: Latent

Training information

ParameterValue
ServiceRunpod
GPUA5000
NotebookLinaqruf/kohya-trainer
Costabout $2
Hoursabout 6 hours
Dataset7467 images from p1atdev/pvc
Resolution896
Epochs5
OptimizerLion
LR4e-7
Schedulercosine_with_restarts
Train Batch Size1

🧨 Diffusers

Using the 🤗's Diffusers library to run Stable Diffusion 2 in a simple and efficient manner.

pip install diffusers transformers accelerate scipy safetensors
pip install --pre xformers

Using StableDiffusionPipeline:

import torch
from diffusers import StableDiffusionPipeline

model_id = "p1atdev/pvc-v3"
revision = "fp16" # "main" or "fp16"

pipe = StableDiffusionPipeline.from_pretrained(
    model_id, 
    revision=revision, 
    torch_dtype=torch.float16,
)
pipe = pipe.to("cuda")
pipe.enable_attention_slicing()
pipe.enable_xformers_memory_efficient_attention() # required

prompt = "pvc, masterpiece, best quality, exceptional, 1girl, cat ears, red hair, long hair, hairpin, swept bangs, yellow eyes, black jacket, white shirt, blue tie, white gloves, hand up, upper body, looking at viewer, buildings"
negative_prompt = "nsfw, nude, worst quality, low quality, oldest, bad anatomy"
image = pipe(
    prompt, 
    negative_prompt=negative_prompt,
    guidance_scale=7.0,
    num_inference_steps=20
).images[0]

# save image
image.save("pvc_figure.png")

# or just display it
# display(image)

Using StableDiffusionLongPromptWeightingPipeline:

import torch
from diffusers import DiffusionPipeline

model_id = "p1atdev/pvc-v3"
revision = "fp16" # "main" or "fp16"

pipe = DiffusionPipeline.from_pretrained(
    model_id, 
    revision=revision, 
    torch_dtype=torch.float16,
    custom_pipeline="lpw_stable_diffusion"
)
pipe = pipe.to("cuda")
pipe.enable_attention_slicing()
pipe.enable_xformers_memory_efficient_attention() # required

prompt = """
pvc, anime, masterpiece, best quality, exceptional,
1girl, bangs, bare shoulders, beret, black hair, black shorts, blue hair, bracelet, breasts, buttons,
colored inner hair, double-breasted, eyewear removed, green headwear, green jacket, grey eyes, grey sky,
hat, jacket, jewelry, long hair, looking at viewer, multicolored hair, neck ring, o-ring, off shoulder, rain,
round eyewear, shorts, sidelocks, small breasts, solo, sunglasses, wavy hair, wet, zipper
""" # long prompt

negative_prompt = "nsfw, nude, worst quality, low quality, oldest, bad anatomy"
image = pipe(
    prompt, 
    negative_prompt=negative_prompt,
    guidance_scale=7.0,
    num_inference_steps=20
).images[0]

display(image)

License

PVC v3 is released under the Fair AI Public License 1.0-SD (https://freedevproject.org/faipl-1.0-sd/). If any derivative of this model is made, please share your changes accordingly. Special thanks to ronsor/undeleted (https://undeleted.ronsor.com/) for help with the license.

Downloads last month
87
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train p1atdev/pvc-v3

Collection including p1atdev/pvc-v3