---
title: Xia API | Text to Image | ModelsLab
description: Generate images from text with Xia. High-resolution AI image generation. Plans from $21/month.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/xia.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/xia
type: product
component: Playground/Endpoint/Index
generated_at: 2026-08-03T07:17:40.159998Z
---

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

[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.

`xia`

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

[API Playground](/models/modelslab/xia)ShowcaseAPI DocumentationVibe 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 

Select models...

Width 

Height 

Advanced Settings Customize your input with more control.

Configure

Login 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

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.

[![Flux Dev](https://images.modelslab.sh/?Image=https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/livewire-tmp/INUhOmK2vRypASxSSePFMDbbUqKXQs-metaMC0yNWU4MGE5ZC03Yjc4LTRmYWQtODI4Zi0xNTI4ZmZjOThlNzMuanBn-.jpg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/flux)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Flux Dev

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

[![Gemini 2.5 Flash (nano banana)](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/2fda7bb1-ecb1-4ab4-a15b-6f2ad7ba715d.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 2.5 Flash (nano banana)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana)

[![Imagen 4](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/6570e8e8-45e4-4dd8-a636-0fd599ad306b.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-4)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Imagen 4

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-4)

[![Nano Banana Pro](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/5ee72f26-dfa9-4d26-a546-7d496ef71be7.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana-pro)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Nano Banana Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/nano-banana-pro)

[![Seedream 5.0 Lite Image Edit](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/70af0fa2-f20f-4a47-b8c3-71f66f6252a0.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-5-lite-i2i)[BytePlus](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus)

 [Seedream 5.0 Lite Image Edit

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/byteplus/seedream-5-lite-i2i)

[![Imagen 3.0](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/8af88782-3a7a-4d95-9e6f-38c8a7b24b2a.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-3)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Imagen 3.0

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/imagen-3)

### Faster turnaround

Built for speed when you are iterating on a prompt.

[![Grok Imagine Text To Image](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-t2i)[xAI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai)

 [Grok Imagine Text To Image](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/xai/grok-imagine-image-t2i)

[![Wan 2.7 Image Edit](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/eb0785a4-e281-44c1-9c1e-7a9c6a07d6e2.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-i2i)[Alibaba](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud)

 [Wan 2.7 Image Edit](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-i2i)

[![Wan 2.7 Text To Image](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/aba76d25-b19c-4fee-9123-4cbb29e71646.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-t2i)[Alibaba](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud)

 [Wan 2.7 Text To Image](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/alibaba_cloud/wan-2.7-t2i)

Related Models
---

Discover similar models you might be interested in

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

[![Demon Slayer Characters/ - Douma v1.0](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ffd8d592-4269-4123-a52d-d9811f55a129/width=1800/1115481.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/n-slayer-characters-douma-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Demon Slayer Characters/ - Douma v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/n-slayer-characters-douma-v1-0)

[![Atsumu Matsuyuki | Ano Hi Mita Hana no Namae wo Bokutachi wa Mada Shiranai. / Anohana: The Flower We](https://images.modelslab.sh/?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](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/atsumumatsuyukianohimitahananonamaewobokutachiwamadashiranaianohanatheflowerwesawthatday-sd1v10)

[![NeatNess Fluffy Fur Mix - Nebula](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d4ae867d-9f37-4f7a-9c09-42e2057b0f7f/width=1800/851734.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/neatness-fluffy-fur-mix-nebula)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [NeatNess Fluffy Fur Mix - Nebula](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/neatness-fluffy-fur-mix-nebula)

[![JJs Karaoke Room - v1.0](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b0bfac12-b4ed-41dd-bf9b-9c6978c20a10/width=1024/50251733.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jjs-karaoke-room-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [JJs Karaoke Room - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jjs-karaoke-room-v1-0)

[![The Simpsons: My Character Collection SD 1.5 - Rayshelle Peyton](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/025019c6-f1de-4af3-8b11-6365bd242bf8/width=1024/23728951.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/the-simpsons-my-character-collection-sd-1-5-rayshelle-peyton)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [The Simpsons: My Character Collection SD 1.5 - Rayshelle Peyton](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/the-simpsons-my-character-collection-sd-1-5-rayshelle-peyton)

[![gd-texture-illustration](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/bbafb96e-2b30-470f-b390-a9e4ce6f7f0c-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/gd-texture-illustration)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [gd-texture-illustration](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/gd-texture-illustration)

View all 18 related models

About  Xia
---

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

### Technical Specifications

Model IDxia

ProviderModelsLab

TaskAI Generation

Price$0.0047 per API call

AddedJune 14, 2025

### Quick Start

Integrate  Xia 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": "xia",
        "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>
```

### Pricing

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

 Xia FAQ
---

### What is Xia?

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

### How do I use the Xia API?

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

### How much does Xia cost?

 Xia costs $0.0047 per API call. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Xia model ID?

The model ID for Xia is "xia". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Xia?

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-08-03*