File size: 951 Bytes
3efb7f0
 
 
 
 
 
 
 
0a8db2f
3efb7f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c3fda17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
40
41
42
43
44
45
46
47
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: Dog, Realistic, 4k, 8k
base_model: runwayml/stable-diffusion-v1-5
instance_prompt: null
license: unknown
---
# MiniDiffusion 1

## Model description 

Welcome to MiniDiffusion 1!
My first ever model!
Try it now!


## Download model

Weights for this model are available in Safetensors format.

[Download](/GamerC0der/MiniDiffusion1/tree/main) them in the Files & versions tab.

## Use Via Code!!!
```python
import requests

API_URL = "https://api-inference.huggingface.co/models/GamerC0der/MiniDiffusion1"
headers = {"Authorization": "Bearer INSERTKEYHERE"}

def query(payload):
	response = requests.post(API_URL, headers=headers, json=payload)
	return response.content
image_bytes = query({
	"inputs": prompthere,
})
# You can access the image with PIL.Image for example
import io
from PIL import Image
image = Image.open(io.BytesIO(image_bytes))
```