Downloads · 30 days
10
1% of all-time downloads
vinesmsuic/bg-visualnovel-v02
bg-visualnovel-v02 is a text-to-image model from vinesmsuic. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
A prototype project of generating Visual Novel backgrounds for game developers/artists. This model is intended to produce visual novel backgrounds with just a few prompts.
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
1.2K
Public
Repo size
5.5 GB
Likes
11
Public
Click a slice to open those files.
.bin5.5 GB · 100%
From the Hugging Face model README
A prototype project of generating Visual Novel backgrounds for game developers/artists. This model is intended to produce visual novel backgrounds with just a few prompts.
This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.
You can also export the model to ONNX, MPS and/or FLAX/JAX.
from diffusers import StableDiffusionPipeline
import torch
model_id = "vinesmsuic/bg-visualnovel-v02"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "a classroom"
image = pipe(prompt).images[0]
image.save("./classroom.png")
prompt = "a hospital building, two trees"
image = pipe(prompt).images[0]
image.save("./hospital.png")
prompt = "a street at night with nobody around"
image = pipe(prompt).images[0]
image.save("./nightstreet.png")
a classroom

a hospital building, two trees

a street at night with nobody around

This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies: