---
title: Lai API | Text to Image | ModelsLab
description: Generate images from text with Lai. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lai/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/lai/api.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-05-13T08:40:26.130222Z
---

[![Lai thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Lai
===

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)Lai

`lai`

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/lai/llms.txt)

[API Playground](/models/modelslab/lai) [API Documentation](/models/modelslab/lai/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 

lai

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)

[![女児服/girl's clothes - v8.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a9db6c11-f891-4e63-81ef-f3043edcce43/width=1024/8646656.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/girl-s-clothes-v8-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [女児服/girl's clothes - v8.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/girl-s-clothes-v8-0)

[![illustrious/Pony Nonomura_Ami (cream lemon be my baby) - Ver2.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9a91149a-7967-4da7-bba7-6ad519c7f706/width=768/5219727.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/illustrious-pony-nonomura-ami-cream-lemon-be-my-baby-ver2-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [illustrious/Pony Nonomura\_Ami (cream lemon be my baby) - Ver2.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/illustrious-pony-nonomura-ami-cream-lemon-be-my-baby-ver2-0)

[![This Ain t Snow White "1995" XL + SD1.5 + F1D + Illu + Pony - Snow White SD1.5 v1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3824f124-a530-4f89-ba85-83f2f0e66e89/width=768/4721304.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/this-ain-t-snow-white-1995-xl-sd1-5-f1d-illu-pony-snow-white-sd1-5-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [This Ain t Snow White "1995" XL + SD1.5 + F1D + Illu + Pony - Snow White SD1.5 v1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/this-ain-t-snow-white-1995-xl-sd1-5-f1d-illu-pony-snow-white-sd1-5-v1)

[![Aurora](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/a94ff9ee-8a22-459c-98be-3805399b1c87-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/aurora)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Aurora

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

[![ - Film Grain 1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9688736b-17a2-414b-af16-9f174a1c2555/width=1024/1086775.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/filmgrain10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- Film Grain 1.0

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

[![ - Reality 3.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/10ac3502-0bec-4abf-ad08-0020b692fac7/width=1024/816069.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/reality30)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- Reality 3.0

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

[![SDXL/SD1.5 Clarity And Old Style Lora - TuningSkin_v3.0-LCM](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/de39e371-7b8e-49d0-8456-aba543be1003/width=1024/6319707.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sdxl-sd1-5-clarity-and-old-style-lora-tuningskin-v3-0-lcm)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [SDXL/SD1.5 Clarity And Old Style Lora - TuningSkin\_v3.0-LCM

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sdxl-sd1-5-clarity-and-old-style-lora-tuningskin-v3-0-lcm)

[![MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero) - -Mar](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/dc0951cc-01e8-47a3-b382-3d5aeb15615c/width=1536/4931072.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenless-zone-1751952016)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero) - -Mar

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenless-zone-1751952016)

[![- v6.0-remark](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/625890dd-abe9-4912-8cef-9fbfe8d8d084/width=1024/42362972.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/v60remark)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- v6.0-remark

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

[![majicMix_Fantasy111](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/167d2fa9-a4d0-4c07-9e5d-85cca648e6db-0.png)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/majicmixfantasy111)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [majicMix\_Fantasy111

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

[![RealCartoon-Pixar v8](https://images.stablediffusionapi.com/?Image=https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/7345007901707517222.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/realcartoon-pixar-v8)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [RealCartoon-Pixar v8

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

[![SD & SDXL(PONY) | Comic 4koma | Concept & Style - Style | comic_Style_V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/98716b57-9621-4086-8d9d-0100b79fcef2/width=512/6857584.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sd-sdxl-pony-comic-4koma-concept-style-style-comic-style-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [SD & SDXL(PONY) | Comic 4koma | Concept & Style - Style | comic\_Style\_V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sd-sdxl-pony-comic-4koma-concept-style-style-comic-style-v1)

[![Margot Robbie mhh](https://images.stablediffusionapi.com/?Image=https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/14044790021724397025.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/margot-robbie-mhh)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Margot Robbie mhh

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

[![MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero) - & -H](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/de4b39f6-e576-4cb6-9dc6-85004f150b1c/width=1200/51708569.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenless-zone-1751951886)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero) - & -H

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenless-zone-1751951886)

[![AingDiffusion - v16.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/907c3b63-f623-459d-bae2-750cf75ce028/width=1024/6813722.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/aingdiffusion-v165)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [AingDiffusion - v16.5

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

[![Realistic Vision V6.0 B1 - V3.0-inpainting (VAE)](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/41ce091f-1006-491f-916d-873a9c80dfde/width=96/SG_161222.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/realisticvisionv60b1-v30inpaintingvae)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Realistic Vision V6.0 B1 - V3.0-inpainting (VAE)

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

[![- v13.1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/84c2208d-712d-4181-9b46-74ed5fa27875/width=1024/9068910.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/v131)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- v13.1

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

[![MagMix - v10](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/15d6f6c9-c681-4342-8361-680623bd8cbf/width=1280/5700609.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/magmix-v10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [MagMix - v10

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

About Lai
---

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

### Technical Specifications

Model IDlaiProviderModelslabTaskAI GenerationPrice$0.0047 per API callAddedNovember 5, 2023

### Quick Start

Integrate Lai 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": "lai",
        "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/lai/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Lai 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)

Lai FAQ
---

### What is Lai?

Lai 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 Lai API?

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

### How much does Lai cost?

Lai 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 Lai model ID?

The model ID for Lai is "lai". Use this ID in your API requests to specify this model.

### Does Lai have a free tier?

Yes, ModelsLab offers a free tier that lets you try Lai 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-05-13*