---
title: Diorama   SD XL API | Text to Image | ModelsLab
description: Generate images from text with Diorama   SD XL. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/diorama-sd-xl/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/diorama-sd-xl/api.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-04-17T13:45:26.248537Z
---

[![Diorama - SD XL thumbnail](https://modelslab.com/images/logo-favicon.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Diorama - SD XL
---

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

`diorama-sd-xl`

Open Source Model [Unlimited Usage](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/diorama-sd-xl/llms.txt)

[API Playground](/models/modelslab/diorama-sd-xl) [API Documentation](/models/modelslab/diorama-sd-xl/api)Vibe CodeRelated ModelsDeveloper SupportModel SpecsEnterprise Deployment

Input
---

prompt 

R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro

Model 

lora Model 

diorama-sd-xl

Width 

Height 

Advanced Settings Customize your input with more control.

Configure

Add FundsLogin to Generate

**Per image generation** will cost **0.0047$** 
**For premium plan image generation** will cost **0.00$** i.e **Free.**

Output
---

Idle

Unknown content type

Related Models
---

Discover similar models you might be interested in

 [View all Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models)

[![ZavyChromaXL](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0e54b56b-a471-4ce3-947c-21b9633661a0-0.png)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/zavychromaxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [ZavyChromaXL

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/zavychromaxl)

[![2|emoticon_collection(A3.1) - wuyingguo face](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/73e2dba0-3e5a-41cb-b3a2-cfdd088616ae/width=1024/18013719.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/2-emoticon-collection-a3-1-wuyingguo-face)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [2|emoticon\_collection(A3.1) - wuyingguo face

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/2-emoticon-collection-a3-1-wuyingguo-face)

[![Vivian animal crossing - V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/87ab0831-7db1-4548-8eb9-86d61ac143e6/width=1024/95925074.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/vivian-animal-crossing-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Vivian animal crossing - V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/vivian-animal-crossing-v1)

[![joseph_joestar_noobxl_eps_1.0 - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e6d05be8-00b7-444d-8d06-333e8f0e3e38/width=768/51963015.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/joseph-joestar-noobxl-eps-1-0-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [joseph\_joestar\_noobxl\_eps\_1.0 - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/joseph-joestar-noobxl-eps-1-0-v1-0)

[![Halcyon SDXL - Photorealism - v1.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/21a66468-0dd1-4290-91e8-30424e2c4fb1/width=1240/10694243.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/halcyon-sdxl-photorealism-v1-5)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Halcyon SDXL - Photorealism - v1.5

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/halcyon-sdxl-photorealism-v1-5)

[![Celia Claire - Seirei Gensouki - AnimagineXL3.1 - v1.0 - Combined booru](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/83555c39-d421-40e2-a303-a7c8ba2eff50/width=1800/33604760.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/celia-claire-seirei-gensouki-animaginexl3-1-v1-0-combined-booru)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Celia Claire - Seirei Gensouki - AnimagineXL3.1 - v1.0 - Combined booru

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/celia-claire-seirei-gensouki-animaginexl3-1-v1-0-combined-booru)

[![Lora- -Feixiao- Honkai Star Rail (SDXL | Pony | Noob | Artiwaifu | SD15) - noob](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e086c84c-89ee-4b9c-8e15-78358f6a8ed6/width=1120/35993660.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lora-feixiao-honkai-star-rail-sdxl-pony-noob-artiwaifu-sd15-noob)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Lora- -Feixiao- Honkai Star Rail (SDXL | Pony | Noob | Artiwaifu | SD15) - noob

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lora-feixiao-honkai-star-rail-sdxl-pony-noob-artiwaifu-sd15-noob)

[![Xi - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8e2f65c5-96e0-471d-8869-056ed745fe8f/width=1672/5328767.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/xi-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Xi - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/xi-v1-0)

[![Tgirls (XL and SD1.5) - TgirlsXL1.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bd6ec1cb-01ce-4d7e-b6b5-829facd6668f/original=true/25627430.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/tgirls-xl-and-sd1-5-tgirlsxl1-5)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Tgirls (XL and SD1.5) - TgirlsXL1.5

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/tgirls-xl-and-sd1-5-tgirlsxl1-5)

[![City - CityScape - Skyline-Animagine Lycoris](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/22501f3a-dba2-401a-a682-9b88e20a988c/width=1152/54597300.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/city-cityscape-skyline-animagine-lycoris)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [City - CityScape - Skyline-Animagine Lycoris

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/city-cityscape-skyline-animagine-lycoris)

[![Bloodstained - Vector](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ccb3791d-626b-42e4-827c-4e1de6a7db83-0.png)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/bloodstained---vecto)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Bloodstained - Vector

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/bloodstained---vecto)

[![YDY-Mix - ydy-XLvA](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b550880c-d0a2-4402-8ce5-84f72833d0f4/width=1792/23984046.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ydy-mix-ydy-xlva)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [YDY-Mix - ydy-XLvA

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ydy-mix-ydy-xlva)

[![Low-key lighting Style XL + F1D + Illu + Pony - Low-key xl v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/991d0cac-b8e4-4ce5-bc79-f8195b06fff7/width=1024/5941047.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/low-key-lighting-style-xl-f1d-illu-pony-low-key-xl-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Low-key lighting Style XL + F1D + Illu + Pony - Low-key xl v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/low-key-lighting-style-xl-f1d-illu-pony-low-key-xl-v1-0)

[![PIXAI style collection - Pastel color](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ff7efe2a-b4b9-4208-931e-3969a3561c29/width=768/87035520.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/pixai-style-collection-pastel-color)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [PIXAI style collection - Pastel color

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/pixai-style-collection-pastel-color)

[![MooMooSDXL - DreamXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6f635c89-e677-4c8d-8094-86ef592d1d86/width=832/20080589.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/moomoosdxl-dreamxl-1752000177)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [MooMooSDXL - DreamXL

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/moomoosdxl-dreamxl-1752000177)

[![LUTE - SDXL Medieval - Renaissance - LUTE SDXL E10 V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6dc04acf-c412-4c76-825a-a2f31436f4c8/original=true/117248902.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lute-sdxl-medieval-renaissance-lute-sdxl-e10-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [LUTE - SDXL Medieval - Renaissance - LUTE SDXL E10 V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lute-sdxl-medieval-renaissance-lute-sdxl-e10-v1)

[![Challenge Winnifier - 25.01](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b1afcaa4-acb6-48f5-a550-2cfa1b5dbfd5/width=1024/52200800.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/challenge-winnifier-25-01)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Challenge Winnifier - 25.01

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/challenge-winnifier-25-01)

[![miss tatase 2 - V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7b609912-179b-44e6-bdf5-16cd807103b8/original=true/111015625.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/miss-tatase-2-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [miss tatase 2 - V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/miss-tatase-2-v1)

About Diorama - SD XL
---

Diorama - SD XL is a ai generation AI model available on ModelsLab. Access Diorama - SD XL through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDdiorama-sd-xlProviderModelslabTaskAI GenerationPrice$0.0047 per API callAddedJuly 9, 2025

### Quick Start

Integrate Diorama - SD XL into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v6/images/text2img"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "diorama-sd-xl",
        "prompt": "your prompt here",
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/diorama-sd-xl/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Diorama - SD XL API costs $0.0047 per API call. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

[Browse All Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models) [More from Modelslab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Diorama - SD XL FAQ
---

### What is Diorama - SD XL?

Diorama - SD XL is a ai generation AI model available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Diorama - SD XL API?

You can integrate Diorama - SD XL into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "diorama-sd-xl" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Diorama - SD XL cost?

Diorama - SD XL costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Diorama - SD XL model ID?

The model ID for Diorama - SD XL is "diorama-sd-xl". Use this ID in your API requests to specify this model.

### Does Diorama - SD XL have a free tier?

Yes, ModelsLab offers a free tier that lets you try Diorama - SD XL and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-17*