File size: 1,069 Bytes
83d6be8
50118df
89224ab
 
 
 
 
 
50118df
83d6be8
89224ab
3e09ce7
 
2ecccc7
2deee07
67b8029
3e09ce7
 
 
101e424
 
3e09ce7
 
6f5b79c
3e09ce7
 
 
 
 
 
f2526a7
3e09ce7
 
 
1b61163
3e09ce7
 
1b61163
3e09ce7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
license: creativeml-openrail-m
language:
- en
library_name: diffusers
tags:
- text-to-image
- stable-diffusion
base_model: stabilityai/stable-diffusion-2-1
---

# graphic-art

![preview](.huggingface/preview.png)

Custom Stable Diffusion checkpoint (based on [SD 2.1](https://huggingface.co/stabilityai/stable-diffusion-2-1)) for generating graphic-design related images.

> Original model by [pmejna](https://civitai.com/user/pmejna) on [CivitAI](https://civitai.com/models/7884/graphic-art).

> ⚠️ For best results set at least one side to `768px`.

## 🧨 Diffusers

This model can be used just like any other Stable Diffusion model with Hugging Face pipelines,
[read the docs](https://huggingface.co/docs/diffusers/using-diffusers/loading) for more information.

```python
import torch
from diffusers import StableDiffusionPipeline

model_id = "n6ai/graphic-art"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "your prompt"
image = pipe(prompt).images[0]

image.save("./result.png")
```