---
title: Iwakura Lain (Serial Experiments Lain) V1 SDXL API
description: Iwakura Lain (Serial Experiments Lain) V1 SDXL is an SDXL LoRA from Civitai. Run it online with the API & playground. $0.0047 per image.
url: https://modelslab.com/models/modelslab/iwakura-lain-serial-experiments-lain-v1-sdxl.md
canonical: https://modelslab.com/models/modelslab/iwakura-lain-serial-experiments-lain-v1-sdxl
type: product
component: Playground/Endpoint/Index
generated_at: 2026-11-16T06:21:32.888013Z
---

[![Iwakura Lain (Serial Experiments Lain) - V1 SDXL thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab.com/models/modelslab)Iwakura Lain (Serial Experiments Lain) - V1 SDXL
---

[from Civitai, hosted on ModelsLab](https://civitai.com/models/882243)

Generate photorealistic and imaginative images from text prompts with advanced detail, inpainting, and image-to-image translation features, ideal for creatives and marketers.

`iwakura-lain-serial-experiments-lain-v1-sdxl`

Open Source Model [Unlimited Usage](https://modelslab.com/pricing) [LLMs.txt](https://modelslab.com/models/modelslab/iwakura-lain-serial-experiments-lain-v1-sdxl/llms.txt)

[API Playground](/models/modelslab/iwakura-lain-serial-experiments-lain-v1-sdxl)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel SpecsEnterprise Deployment

Input
---

Prompt 

a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography

Model 

LoRA Model 

HuggingFaceLibrary

iwakura-lain-serial-experiments-lain-v1-sdxl

Width 

Height 

Advanced Settings Customize your input with more control.

**$0.0047** per image generation

Login to Generate

Output
---

Sample

![Generated Content](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9f937da3-cbb2-4394-8c46-41d9ab99ca78/width=1024/39387052.jpeg)

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

![Nano Banana Pro API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/5ee72f26-dfa9-4d26-a546-7d496ef71be7.webp)

[Google](/models/google)

 [Nano Banana Pro](/models/google/nano-banana-pro?config=nano-banana-pro-text2image)Closed Source Model

![Flux 3 Klein Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/eeded1dc-53f1-4aab-972b-8c9a4a8304b4.webp)

[ModelsLab](/models/modelslab) Popular

 [Flux 3 Klein Text To Image](/models/modelslab/flux-3-klein)Open Source Model

![Gen4 Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b656bfe5-c402-456b-9980-f7447198887d.webp)

[Runway ML](/models/runway_ml)

 [Gen4 Text to Image](/models/runway_ml/gen4_image)Closed Source Model

![Grok Imagine Image 2.0 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/36454d6f-dd19-4a92-b618-d9332263045f.webp)

[xAI](/models/xai)

 [Grok Imagine Image 2.0 Text To Image](/models/x-ai/grok-imagine-image-2.0-t2i)Closed Source Model

![Seedream 5.0 Pro Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/280db637-e26a-4621-a7ea-572ca88c7876.png)

[BytePlus](/models/byteplus)

 [Seedream 5.0 Pro Text To Image](/models/byteplus/seedream-5.0-pro-t2i)Closed Source Model

![Nano Banana 2.1 Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/f44e6b5c-f64c-456a-b63f-8fae5728b0f1.webp
)

[Google](/models/google)

 [Nano Banana 2.1 Text To Image](/models/google/gemini-nano-banana-2.1-t2i)Closed Source Model

### Faster Generation

Built for speed when you are iterating on a prompt.

![Grok Imagine Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)

[xAI](/models/xai)

 [Grok Imagine Text To Image](/models/xai/grok-imagine-image-t2i)

![Wan 2.7 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/aba76d25-b19c-4fee-9123-4cbb29e71646.webp)

[Alibaba](/models/alibaba_cloud)

 [Wan 2.7 Text To Image](/models/alibaba_cloud/wan-2.7-t2i)

Related Models
---

Discover similar models you might be interested in

 [View all Models](https://modelslab.com/models)

![Leiji Matsumoto style (Interstella 5555, Maetel, Harlock, Galaxy railways...) - SDXL API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c91dcf81-96c6-44e6-bc38-dccab52ea922/width=1216/89325119.jpeg)

[ModelsLab](/models/modelslab)

 [Leiji Matsumoto style (Interstella 5555, Maetel, Harlock, Galaxy railways...) - SDXL](/models/modelslab/leiji-matsumoto-style-interstella-5555-maetel-harlock-galaxy-railways-sdxl)

![LYuyang_mix - v2.5 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/53b46f29-7adb-4058-bab2-9d106a867707/width=1344/7386859.jpeg)

[ModelsLab](/models/modelslab) Popular

 [LYuyang\_mix - v2.5](/models/modelslab/lyuyang-mix-v2-5)

![Azusawa Kohane (Brandnew Style) / Project SEKAI - AnimagineXL V3.1 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/fe60f56d-c645-4d01-ab2a-7676d0e83d9f/width=1024/27711432.jpeg)

[ModelsLab](/models/modelslab)

 [Azusawa Kohane (Brandnew Style) / Project SEKAI - AnimagineXL V3.1](/models/modelslab/azusawa-kohane-brandnew-style-project-sekai-animaginexl-v3-1)

![Kohaku-XL beta-7 API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/9776f891-3c4f-4f43-a2a2-7170f46c9a35-0.png)

[ModelsLab](/models/modelslab)

 [Kohaku-XL beta-7](/models/modelslab/kohaku-xl-beta-7)

![Aerith Gainsborough (Final Fantasy 7) - SDXL v1.0 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/97a6192f-cc7c-44eb-83c5-553b40bfc6af/width=1024/91758846.jpeg)

[ModelsLab](/models/modelslab)

 [Aerith Gainsborough (Final Fantasy 7) - SDXL v1.0](/models/modelslab/aerith-gainsborough-final-fantasy-7-sdxl-v1-0)

![Retro Ink & Halftone Old Comic LoRA (SDXL) - v1.0 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c3b07825-7272-4b7d-afb7-51de8b8be9fd/original=true/107820063.jpeg)

[ModelsLab](/models/modelslab)

 [Retro Ink & Halftone Old Comic LoRA (SDXL) - v1.0](/models/modelslab/retro-ink-halftone-old-comic-lora-sdxl-v1-0)

View all 18 related models

About Iwakura Lain (Serial Experiments Lain) - V1 SDXL
---

Iwakura Lain (Serial Experiments Lain) - V1 SDXL is an SDXL LoRA from Civitai, available on ModelsLab through the API and the playground above. API access starts at $21/month, and open-source models are unlimited on the $149/month plan.

### Iwakura Lain (Serial Experiments Lain) - V1 SDXL facts

Source[Civitai](https://civitai.com/models/882243)

Base modelSDXL

TypeLoRA

Versionv1 SDXL

Price$0.0047 per image

Added to ModelsLabJuly 9, 2025

Model IDiwakura-lain-serial-experiments-lain-v1-sdxl

### Quick Start

Integrate Iwakura Lain (Serial Experiments Lain) - V1 SDXL into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v6/images/text2img"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "iwakura-lain-serial-experiments-lain-v1-sdxl",</div>
<div>        "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

const requestBody = {

 "model_id": "iwakura-lain-serial-experiments-lain-v1-sdxl",

 "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",

 "key": "YOUR_API_KEY"

 };

async function makeApiRequest() {

 try {

 const response = await fetch(endpointUrl, {

 method: 'POST',

 headers: {

 'Content-Type': 'application/json',

 },

 body: JSON.stringify(requestBody)

 });

 if (!response.ok) {

 let errorResult;

 try {

 errorResult = await response.json();

 } catch (e) {

 errorResult = { error: { message: await response.text() } };

 }

 throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);

 }

 const result = await response.json();

 console.log('API Response:', result);

 return result;

 } catch (error) {

 console.error('Error making API request:', error.message);

 throw error;

 }

}

makeApiRequest();

 -H "Content-Type: application/json" \

 -d '{

 "model_id": "iwakura-lain-serial-experiments-lain-v1-sdxl",

 "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",

 "key": "YOUR_API_KEY"

}'

$url = 'https://modelslab.com/api/v6/images/text2img';

$headers = [

 'Content-Type: application/json'

];

$data = [

 'model_id' => 'iwakura-lain-serial-experiments-lain-v1-sdxl',

 'prompt' => 'a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography',

 'key' => 'YOUR_API_KEY',

];

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 30);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

$curlError = curl_error($ch);

if ($curlError) {

 echo 'Curl error: ' . $curlError;

} else {

 echo "HTTP Status Code: " . $httpCode . "\n";

 $result = json_decode($response, true);

 if (json_last_error() !== JSON_ERROR_NONE) {

 echo "Error decoding JSON: " . json_last_error_msg() . "\n";

 echo "Raw response: " . $response . "\n";

 } else {

 echo "API Response:\n";

 print_r($result);

 }

}

?>

### Pricing

Iwakura Lain (Serial Experiments Lain) - V1 SDXL API costs $0.0047 per API call. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

[Browse All Models](https://modelslab.com/models) [More from ModelsLab](https://modelslab.com/models/modelslab) [View Pricing](https://modelslab.com/pricing)

Iwakura Lain (Serial Experiments Lain) - V1 SDXL FAQ
---

### What is Iwakura Lain (Serial Experiments Lain) - V1 SDXL?

Iwakura Lain (Serial Experiments Lain) - V1 SDXL is an SDXL LoRA from Civitai, available on ModelsLab through the API and the playground above.

### How do I use the Iwakura Lain (Serial Experiments Lain) - V1 SDXL API?

You can integrate Iwakura Lain (Serial Experiments Lain) - V1 SDXL into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "iwakura-lain-serial-experiments-lain-v1-sdxl" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Iwakura Lain (Serial Experiments Lain) - V1 SDXL cost?

Iwakura Lain (Serial Experiments Lain) - V1 SDXL costs $0.0047 per image. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Iwakura Lain (Serial Experiments Lain) - V1 SDXL model ID?

The model ID for Iwakura Lain (Serial Experiments Lain) - V1 SDXL is "iwakura-lain-serial-experiments-lain-v1-sdxl". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Iwakura Lain (Serial Experiments Lain) - V1 SDXL?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*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-11-16*