WAI Illustrious SDXL

Images from a text prompt, paid per image returned.

wai-illustrious-sdxl
Create an account
Modalities
Text to image
Price
$0.0102 per image
Sizes
1024x1024, 1024x768, 768x1024, 1408x1024, 1024x1408, 1920x1088, 1088x1920
Images per request
1 to 4

Overview

Uncensored. One hard rule: nothing sexual involving minors.

Pricing

Per image
$0.0102any size

API

POST https://api.aerless.si/v1/images/generations

request
curl
curl https://api.aerless.si/v1/images/generations \
  -H "Authorization: Bearer $AERLESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wai-illustrious-sdxl",
    "prompt": "A lighthouse on a cliff at dusk, oil painting",
    "n": 1,
    "size": "1024x1024",
    "response_format": "url"
  }'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.aerless.si/v1", api_key=os.environ["AERLESS_API_KEY"])

result = client.images.generate(
    model="wai-illustrious-sdxl",
    prompt="A lighthouse on a cliff at dusk, oil painting",
    n=1,
    size="1024x1024",
    response_format="b64_json",
)
print(len(result.data[0].b64_json), "base64 characters")
example reply
{
  "created": 1764147600,
  "data": [{ "url": "https://…" }]
}
FieldWhat it does
modelRequired. wai-illustrious-sdxl
promptRequired. Up to 4,000 characters.
nImages to make, 1 to 4.
size1024x1024, 1024x768, 768x1024, 1408x1024, 1024x1408, 1920x1088, 1088x1920

Every field and the response