Update README.md
Browse files
README.md
CHANGED
@@ -53,6 +53,8 @@ Sampler: DPM++ 2M SDE
|
|
53 |
Scheduler: Karras
|
54 |
Resolution: 1024x1024
|
55 |
|
|
|
|
|
56 |
# Use Cases
|
57 |
|
58 |
Generating evocative, nightmarish artwork for games, films, and books
|
@@ -60,4 +62,46 @@ Concept art and visual brainstorming for horror-themed projects
|
|
60 |
Exploring surreal, uncanny aesthetics and compositions
|
61 |
Pushing creative boundaries in the horror genre through AI-augmented workflows
|
62 |
|
63 |
-
CALAMITY opens up new avenues for horror-themed image generation, providing creatives with a powerful tool for conjuring up unsettling and imaginative visuals. Experiment with different prompt combinations and settings to delve into a rich spectrum of macabre imagery.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
Scheduler: Karras
|
54 |
Resolution: 1024x1024
|
55 |
|
56 |
+
# Style Trigger word:"Sythentic Anime"
|
57 |
+
|
58 |
# Use Cases
|
59 |
|
60 |
Generating evocative, nightmarish artwork for games, films, and books
|
|
|
62 |
Exploring surreal, uncanny aesthetics and compositions
|
63 |
Pushing creative boundaries in the horror genre through AI-augmented workflows
|
64 |
|
65 |
+
CALAMITY opens up new avenues for horror-themed image generation, providing creatives with a powerful tool for conjuring up unsettling and imaginative visuals. Experiment with different prompt combinations and settings to delve into a rich spectrum of macabre imagery.
|
66 |
+
|
67 |
+
# Use it with 🧨 diffusers
|
68 |
+
```python
|
69 |
+
import torch
|
70 |
+
from diffusers import (
|
71 |
+
StableDiffusionXLPipeline,
|
72 |
+
KDPM2AncestralDiscreteScheduler,
|
73 |
+
AutoencoderKL
|
74 |
+
)
|
75 |
+
|
76 |
+
# Load VAE component
|
77 |
+
vae = AutoencoderKL.from_pretrained(
|
78 |
+
"madebyollin/sdxl-vae-fp16-fix",
|
79 |
+
torch_dtype=torch.float16
|
80 |
+
)
|
81 |
+
|
82 |
+
# Configure the pipeline
|
83 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
84 |
+
"dataautogpt3/CALAMITY",
|
85 |
+
vae=vae,
|
86 |
+
torch_dtype=torch.float16
|
87 |
+
)
|
88 |
+
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
89 |
+
pipe.to('cuda')
|
90 |
+
|
91 |
+
# Define prompts and generate image
|
92 |
+
prompt = "Sythentic Anime"
|
93 |
+
negative_prompt = ""
|
94 |
+
|
95 |
+
image = pipe(
|
96 |
+
prompt,
|
97 |
+
negative_prompt=negative_prompt,
|
98 |
+
width=1024,
|
99 |
+
height=1024,
|
100 |
+
guidance_scale=7,
|
101 |
+
num_inference_steps=50,
|
102 |
+
clip_skip=2
|
103 |
+
).images[0]
|
104 |
+
|
105 |
+
|
106 |
+
image.save("generated_image.png")
|
107 |
+
```
|