Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,87 @@
|
|
1 |
-
---
|
2 |
-
license: openrail++
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: openrail++
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: diffusers
|
6 |
+
---
|
7 |
+
|
8 |
+
# Sintetico XL
|
9 |
+
|
10 |
+
This repo contains models previously [published in Civitai](https://civitai.com/collections/240084).
|
11 |
+
|
12 |
+
## Base Version
|
13 |
+
|
14 |
+
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.
|
15 |
+
|
16 |
+
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.
|
17 |
+
|
18 |
+
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.
|
19 |
+
|
20 |
+
## Prude Version
|
21 |
+
|
22 |
+
The Prude version is "a marvel of digital decorum and pixelated restraint! 🎩🕊️" aimed at avoiding accidental nudity and sexual content.
|
23 |
+
|
24 |
+
<div style="display:flex; flex-direction:row;">
|
25 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/18a78ff4-0184-4475-a638-5864d9a22988/width=450/image_55143786405128_00002_.jpeg" style="margin-right: 10px;" />
|
26 |
+
<img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b6e2f958-3022-4330-80c5-958e1957d02c/width=450/image_55143786405128_00006_.jpeg" />
|
27 |
+
</div>
|
28 |
+
|
29 |
+
## How to Use
|
30 |
+
|
31 |
+
The model is already merged with FreeU and Self-Attention Guidance. You may try different VAE as per your own aesthetic preferences.
|
32 |
+
|
33 |
+
Commercial usage of generated images is allowed.
|
34 |
+
|
35 |
+
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.
|
36 |
+
|
37 |
+
You may not resell this model or provide it as a service.
|
38 |
+
|
39 |
+
To use the base model you can use the following.
|
40 |
+
|
41 |
+
```Python
|
42 |
+
import torch
|
43 |
+
from diffusers import StableDiffusionXLPipeline
|
44 |
+
|
45 |
+
pipeline = StableDiffusionXLPipeline.from_single_file(
|
46 |
+
"https://huggingface.co/lucianosb/sinteticoXL-models/blob/main/sinteticoXL_v1dot2.safetensors",
|
47 |
+
torch_dtype=torch.float16,
|
48 |
+
variant="fp16",
|
49 |
+
use_safetensors=True,
|
50 |
+
).to("cuda")
|
51 |
+
|
52 |
+
generator = torch.Generator("cuda").manual_seed(31)
|
53 |
+
image = pipeline(
|
54 |
+
"monocolor profile portrait of a beautiful naked african woman, coral key light, crimson back light, burgundy red fill light, glamour, high fashion",
|
55 |
+
generator=generator,
|
56 |
+
height=768,
|
57 |
+
width=512,
|
58 |
+
num_inference_steps=20,
|
59 |
+
guidance_scale=5).images[0]
|
60 |
+
image
|
61 |
+
|
62 |
+
```
|
63 |
+
|
64 |
+
To use the prude model you can use the following.
|
65 |
+
|
66 |
+
```Python
|
67 |
+
import torch
|
68 |
+
from diffusers import StableDiffusionXLPipeline
|
69 |
+
|
70 |
+
pipeline = StableDiffusionXLPipeline.from_single_file(
|
71 |
+
"https://huggingface.co/lucianosb/sinteticoXL-models/blob/main/sinteticoXL_prude_v1dot2.safetensors",
|
72 |
+
torch_dtype=torch.float16,
|
73 |
+
variant="fp16",
|
74 |
+
use_safetensors=True,
|
75 |
+
).to("cuda")
|
76 |
+
|
77 |
+
generator = torch.Generator("cuda").manual_seed(31)
|
78 |
+
image = pipeline(
|
79 |
+
"monocolor profile portrait of a beautiful naked african woman, coral key light, crimson back light, burgundy red fill light, glamour, high fashion",
|
80 |
+
generator=generator,
|
81 |
+
height=768,
|
82 |
+
width=512,
|
83 |
+
num_inference_steps=20,
|
84 |
+
guidance_scale=5).images[0]
|
85 |
+
image
|
86 |
+
|
87 |
+
```
|