SDXL Lightning
Very fast prompt-to-image generation for early concepts, moodboards, visual variations, and rapid prompt iteration.
API Model ID
sdxl-lightning-free
Developer
ByteDance
Context Window
— tokens
Median Latency (TTFT)
—
Capabilities & Features
Image Generation Text to Image Fast Generation
Pricing & Access
Price
API reference rate for bundled or free models, not an extra charge.
| Tier | Rate | Unit | Details |
|---|---|---|---|
| Approximate 4-step, 1024px run | $0.0034 | per image |
Approximate cost per successful sample run, not fixed list price; cost depends on inputs and compute duration.
BotConnector access
Included in BotConnector subscription plans (Beginner, Plus, Pro).
Usage of this model is drawn from your monthly combined plan allowance.
API Usage Example (/v1/images/generations)
BotConnector provides an OpenAI-compatible image generations endpoint.
cURL
curl https://api.botconnector.id/v1/images/generations \
-H "Authorization: Bearer $BOTCONNECTOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sdxl-lightning-free",
"prompt": "Scenic Indonesian landscape at sunrise, highly detailed",
"n": 1,
"size": "1024x1024"
}'Python (OpenAI SDK)
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.botconnector.id/v1",
api_key=os.environ.get("BOTCONNECTOR_API_KEY")
)
response = client.images.generate(
model="sdxl-lightning-free",
prompt="Scenic Indonesian landscape at sunrise, highly detailed",
n=1,
size="1024x1024"
)
print(response.data[0].url)Provider & Infrastructure Disclaimer
This model was developed by ByteDance. BotConnector accesses models via official developer APIs or verified large-scale cloud providers. BotConnector does not rebrand or alter original developer attributions.