SDXL-Turbo

It is lora fine-tuned model based on stabilityai/sdxl-turbo

Examples

Prompt
astronaut riding a horse
Prompt
a cute cat

Usage

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

Downloads last month
3
Inference Examples
Examples
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.

Model tree for kviai/sdxl-turbo

Finetuned
(14)
this model