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

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

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

`modern-villa`

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

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

modern-villa

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)

[![One Piece Anime Style LoRA - sd1-v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d0fc2953-413d-47ec-aaba-59fb38b47161/width=512/40451375.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/one-piece-anime-style-lora-sd1-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [One Piece Anime Style LoRA - sd1-v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/one-piece-anime-style-lora-sd1-v1-0)

[![Trinity Mix - Shasta V5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e1fe1c7b-c50a-4039-a955-980b9971f620/width=1800/24484871.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/trinity-mix-shasta-v5)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Trinity Mix - Shasta V5

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

[![Human Realistic - v5.1-BEST](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0ebf2018-5865-4118-944c-978cce995c23/width=672/13056726.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/human-realistic-v5-1-best)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Human Realistic - v5.1-BEST

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/human-realistic-v5-1-best)

[![Mecha - TalDarimMecha](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d3e46cd4-a67f-4943-877e-53b6e8bb2899/width=1024/1473093.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mecha-taldarimmecha-1752000396)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Mecha - TalDarimMecha

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

[![Atsumu Matsuyuki | Ano Hi Mita Hana no Namae wo Bokutachi wa Mada Shiranai. / Anohana: The Flower We](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/858bd1d4-8822-412a-b6c0-2e273bfd0d38/width=512/86288575.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/atsumumatsuyukianohimitahananonamaewobokutachiwamadashiranaianohanatheflowerwesawthatday-sd1v10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Atsumu Matsuyuki | Ano Hi Mita Hana no Namae wo Bokutachi wa Mada Shiranai. / Anohana: The Flower We

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

[![Ron Fricke Film Director and Cinematographer style XL + SD1.5 + F1D - Ron Fricke "SD1.5" v1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0a5f45d4-1221-4d42-945d-a320d8e7b581/width=1024/24871757.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ron-fricke-film-director-and-cinematographer-style-xl-sd1-5-f1d-ron-fricke-sd1-5)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Ron Fricke Film Director and Cinematographer style XL + SD1.5 + F1D - Ron Fricke "SD1.5" v1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ron-fricke-film-director-and-cinematographer-style-xl-sd1-5-f1d-ron-fricke-sd1-5)

[![- Checkpoint_Model](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ea7176d5-c157-4caf-a928-674433f0425f/width=512/24865189.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/checkpointmodel)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- Checkpoint\_Model

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

[![[FLUX.1 D&XL&1.5] 2B ( YoRHa No.2 Type B) Nier:Automata - v2.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/73014260-0466-483c-8487-6f496855694d/width=96/Monobot.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux-1-d-xl-1-5-2b-yorha-no-2-type-b-nier-automata-v2-0-1751952380)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\[FLUX.1 D&XL&1.5\] 2B ( YoRHa No.2 Type B) Nier:Automata - v2.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux-1-d-xl-1-5-2b-yorha-no-2-type-b-nier-automata-v2-0-1751952380)

[![gmic iocn_F1 Famine Style - SD1.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9282aeee-2c45-4c8b-bd6a-04ff85e1c791/width=924/1641097.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/gmic-iocn-f1-famine-style-sd1-5)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [gmic iocn\_F1 Famine Style - SD1.5

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/gmic-iocn-f1-famine-style-sd1-5)

[![T-realistic-ym-mix](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/7420ab24-88c7-49d0-966c-062d2763085c-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/t-realistic-ym-mix)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [T-realistic-ym-mix

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

[![Himmel | Sousou no Frieren / Frieren: Beyond Journey's End - sd1-v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4b179955-f756-4d3c-817a-d4a08a83143f/width=512/44168563.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/himmel-sousou-no-frieren-frieren-beyond-journey-s-end-sd1-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Himmel | Sousou no Frieren / Frieren: Beyond Journey's End - sd1-v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/himmel-sousou-no-frieren-frieren-beyond-journey-s-end-sd1-v1-0)

[![Library bookshelf111](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/d9b35784-0c2d-4560-a33e-af7a0a94c542-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/library-bookshelf111)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Library bookshelf111

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

[![RealCartoon3D](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/079a41c7-3fe5-4969-b0e1-c37be5058cb5-0.png)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/realcartoon3d)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [RealCartoon3D

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

[![ae-t15-idphoto](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/6bf13205-a7de-42cf-8676-4dd91875e019-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ae-t15-idphoto)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [ae-t15-idphoto

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

[![Charizard & Mega X Form (Pokemon) (Pokedex #0006) [Illustrious & SD1.5] - v2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/66966bbc-f769-4eb6-aebb-81ad2f0553cd/width=768/6436889.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/charizard-mega-x-form-pokemon-pokedex-0006-illustrious-sd1-5-v2)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Charizard & Mega X Form (Pokemon) (Pokedex #0006) \[Illustrious & SD1.5\] - v2

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/charizard-mega-x-form-pokemon-pokedex-0006-illustrious-sd1-5-v2)

[![helloYoung25d - helloYoung25d_v1.5j](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b9c85f48-27d4-404f-955c-4f0cb7925e07/width=768/7176708.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/helloyoung25d-helloyoung25dv15j)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [helloYoung25d - helloYoung25d\_v1.5j

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

[![Genshin Impact & -Hutao&Xiangling - sd](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/67e17224-51a6-41fd-bf27-34ecfcb60fd3/width=1200/53433464.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/genshin-impact-hutao-xiangling-sd)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Genshin Impact & -Hutao&Xiangling - sd

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/genshin-impact-hutao-xiangling-sd)

[![- v2.0-SD1.5](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/32bd99c3-a758-42c3-a0ab-0538e59726df/width=1600/5755626.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/v20sd15)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- v2.0-SD1.5

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

About Modern Villa
---

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

### Technical Specifications

Model IDmodern-villaProviderModelslabTaskAI GenerationPrice$0.0047 per API callAddedJuly 7, 2024

### Quick Start

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

### Pricing

Modern Villa 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)

Modern Villa FAQ
---

### What is Modern Villa?

Modern Villa 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 Modern Villa API?

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

### How much does Modern Villa cost?

Modern Villa 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 Modern Villa model ID?

The model ID for Modern Villa is "modern-villa". Use this ID in your API requests to specify this model.

### Does Modern Villa have a free tier?

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