MiniDiffusion Models
Collection
All Models in the MiniDiffusion Series
•
2 items
•
Updated
•
1
Welcome to MiniDiffusion 1! My first ever model! Try it now!
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
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))
Base model
runwayml/stable-diffusion-v1-5