Downloads · 30 days
28
4% of all-time downloads
kviai/sdxl-turbo
sdxl-turbo is a text-to-image model from kviai. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
It is lora fine-tuned model based on stabilityai/sdxl-turbo
Downloads · 30 days
28
4% of all-time downloads
All-time downloads
666
Public
Repo size
394 MB
Likes
2
Public
Click a slice to open those files.
.safetensors394 MB · 100%
From the Hugging Face model README
It is lora fine-tuned model based on stabilityai/sdxl-turbo
You can use it via interface api:
import requests
import io
from PIL import Image
API_URL = "https://api-inference.huggingface.co/models/kviai/sdxl-turbo"
headers = {"Authorization": "Bearer YOUR_HF_API_TOKEN"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.content
image_bytes = query({
"inputs": "Astronaut riding a horse",
})
image = Image.open(io.BytesIO(image_bytes))
Or you can download model from Files and Versions tab