p1atdev / pvc-v4

huggingface.co
Total runs: 35
24-hour runs: 0
7-day runs: -1
30-day runs: 4
Model's Last Updated: May 10 2023
text-to-image

Introduction of pvc-v4

Model Details of pvc-v4

PVC v4

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

Downloads

Please use WD's vae to get good results!

Prompt guide

Highres fix is highly recommended.

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. To get joints, please emphasize figma by 1.2 ~ 1.5 or use doll joints tag.

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

Negative prompt
(worst quality, low quality, bad aesthetic, oldest), bad anatomy, bad hands, text, cropped, signature, blurry
Comparison to v3

sample-diff-1

masterpiece, best quality, best aesthetic, 1girl, red hair, cat ears, closed eyes, closed mouth, expressionless, maid costume, apron, lolita dress, frills, lying on back, sheets, red flowers, from above
Negative prompt: (worst quality, low quality, bad aesthetic, oldest), bad anatomy, bad hands, text, error, cropped, jpeg artifacts, signature, watermark, username, blurry
Steps: 18, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1166304922, Size: 512x768, Model hash: 0866b17d46, Model: pvc-v3-fp16, Denoising strength: 0.7, Clip skip: 2, Hires upscale: 1.5, Hires steps: 12, Hires upscaler: Latent
Examples

TODO: あとでやる

Training information
Parameter Value
Service Runpod
GPU A4500
Script kohya-ss/sd-scripts
Cost about $10
Hours about 30 hours
Dataset about 18000 images from p1atdev/pvc
Resolution 768
Epochs 13
Optimizer Lion
LR 1e-7
Scheduler cosine_with_restarts
Train Batch Size 12
🧨 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 xformers

Using StableDiffusionPipeline:

import torch
from diffusers import StableDiffusionPipeline
model_id = "p1atdev/pvc-v4"
pipe = StableDiffusionPipeline.from_pretrained(
    model_id,
    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, bad aesthetic, 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-v4"
pipe = DiffusionPipeline.from_pretrained(
    model_id,
    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, bad aesthetic, oldest, bad anatomy"
image = pipe(
    prompt, 
    negative_prompt=negative_prompt,
    guidance_scale=7.0,
    num_inference_steps=20
).images[0]
display(image)
License

This model 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.

WD1.5 と同じ Fair AI Public License 1.0-SD ライセンスです。生成サービスなどでこのモデルまたは派生モデルを使う場合は、サービスの利用者にモデルを公開する必要があります。詳しい/正確なライセンスは 原文 を参照ください。

Runs of p1atdev pvc-v4 on huggingface.co

35
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
4
30-day runs

More Information About pvc-v4 huggingface.co Model

More pvc-v4 license Visit here:

https://choosealicense.com/licenses/other

pvc-v4 huggingface.co

pvc-v4 huggingface.co is an AI model on huggingface.co that provides pvc-v4's model effect (), which can be used instantly with this p1atdev pvc-v4 model. huggingface.co supports a free trial of the pvc-v4 model, and also provides paid use of the pvc-v4. Support call pvc-v4 model through api, including Node.js, Python, http.

p1atdev pvc-v4 online free

pvc-v4 huggingface.co is an online trial and call api platform, which integrates pvc-v4's modeling effects, including api services, and provides a free online trial of pvc-v4, you can try pvc-v4 online for free by clicking the link below.

p1atdev pvc-v4 online free url in huggingface.co:

https://huggingface.co/p1atdev/pvc-v4

pvc-v4 install

pvc-v4 is an open source model from GitHub that offers a free installation service, and any user can find pvc-v4 on GitHub to install. At the same time, huggingface.co provides the effect of pvc-v4 install, users can directly use pvc-v4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

pvc-v4 install url in huggingface.co:

https://huggingface.co/p1atdev/pvc-v4

Url of pvc-v4

pvc-v4 huggingface.co Url

Provider of pvc-v4 huggingface.co

p1atdev
ORGANIZATIONS

Other API from p1atdev

huggingface.co

Total runs: 9.7K
Run Growth: 8.4K
Growth Rate: 87.11%
Updated:February 28 2023
huggingface.co

Total runs: 1.7K
Run Growth: -20
Growth Rate: -1.17%
Updated:March 11 2024
huggingface.co

Total runs: 881
Run Growth: 58
Growth Rate: 6.44%
Updated:May 12 2024
huggingface.co

Total runs: 47
Run Growth: 2
Growth Rate: 4.26%
Updated:June 21 2023
huggingface.co

Total runs: 14
Run Growth: 8
Growth Rate: 57.14%
Updated:May 20 2023
huggingface.co

Total runs: 7
Run Growth: 6
Growth Rate: 85.71%
Updated:July 06 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 16 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 02 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 01 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 28 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 23 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 01 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 04 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 04 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 23 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 25 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 09 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 20 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 27 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 03 2023