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 does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for kviai/sdxl-turbo

Finetuned
(14)
this model