SinteticoXL-Models / README.md
lucianosb's picture
Update README.md
c57d325 verified
metadata
license: openrail++
language:
  - en
library_name: diffusers

Sintetico XL

This repo contains models previously published in Civitai.

Base Version

This model can do good images of cities and buildings, as well as logos and other cartoonish styles. Those are the 3 qualities I wanted this model to excel at, but it can also do other styles and subjects.

It can also generate photorealistic images of people with decent anatomy but not much nudity. I recommend using LoRAs for such tasks as this is not my primary goal.

Sometimes the model may output written text when prompted for it, but it's far from perfect. It's actually random luck to get decent text.

Prude Version

The Prude version is "a marvel of digital decorum and pixelated restraint! 🎩🕊️" aimed at avoiding accidental nudity and sexual content.

How to Use

The model is already merged with FreeU and Self-Attention Guidance. You may try different VAE as per your own aesthetic preferences.

Commercial usage of generated images is allowed.

You are solely responsible for any content that you create using this model. In addition, your use of this model implies that you accept an agreement to not use it to produce harassing, harmful, illegal, or otherwise highly-objectionable imagery.

You may not resell this model or provide it as a service.

To use the base model you can use the following.

import torch
from diffusers import StableDiffusionXLPipeline

pipeline = StableDiffusionXLPipeline.from_single_file(
    "https://huggingface.co/lucianosb/sinteticoXL-models/blob/main/sinteticoXL_v1dot2.safetensors",
    torch_dtype=torch.float16,
    variant="fp16",
    use_safetensors=True,
).to("cuda")

generator = torch.Generator("cuda").manual_seed(31)
image = pipeline(
    "monocolor profile portrait of a beautiful naked african woman, coral key light, crimson back light, burgundy red fill light, glamour, high fashion", 
    generator=generator, 
    height=768, 
    width=512,
    num_inference_steps=20,
    guidance_scale=5).images[0]
image

To use the prude model you can use the following.

import torch
from diffusers import StableDiffusionXLPipeline

pipeline = StableDiffusionXLPipeline.from_single_file(
    "https://huggingface.co/lucianosb/sinteticoXL-models/blob/main/sinteticoXL_prude_v1dot2.safetensors",
    torch_dtype=torch.float16,
    variant="fp16",
    use_safetensors=True,
).to("cuda")

generator = torch.Generator("cuda").manual_seed(31)
image = pipeline(
    "monocolor profile portrait of a beautiful naked african woman, coral key light, crimson back light, burgundy red fill light, glamour, high fashion", 
    generator=generator, 
    height=768, 
    width=512,
    num_inference_steps=20,
    guidance_scale=5).images[0]
image