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

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

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)This image captures a scene rendered in the realism style, highlighting the intricate details and lifelike quality that define this artistic approach.

`realvisxl-v40`

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

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

Select models...

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)

[![Object Showcase Collection of 60 Items [XL] - 09 Handbag Showcase](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a2ff49af-7fe7-44a1-b11e-694b1da084a0/width=1024/17449448.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/objectshowcasecollectionof60itemsxl-09handbagshowcase)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Object Showcase Collection of 60 Items \[XL\] - 09 Handbag Showcase

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

[![miki_sayaka_noobxl_eps_1.0 - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0fdc4d46-1e97-4417-8735-90048c342146/width=768/49510613.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/miki-sayaka-noobxl-eps-1-0-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [miki\_sayaka\_noobxl\_eps\_1.0 - v1.0

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

[![JJ's Office - Office Cabin - XL v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1581df6c-b1a2-4698-ac37-8d866b4af2a7/width=1152/85396798.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-office-office-cabin-xl-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [JJ's Office - Office Cabin - XL v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-office-office-cabin-xl-v1-0)

[![Multiple XL Sliders - Age, weight, Hands, etc - cartoon](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ee5d1bdf-72c2-4e6f-b173-fa124ffe3f18/width=1024/4737512.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/multiple-xl-sliders-age-weight-hands-etc-cartoon)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Multiple XL Sliders - Age, weight, Hands, etc - cartoon

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/multiple-xl-sliders-age-weight-hands-etc-cartoon)

[![Virtual Goddess SDXL Female Face Pack - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a74b2cb9-1818-4449-bcb7-f94a5c9671e0/width=768/9046443.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/virtual-goddess-sdxl-female-face-pack-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Virtual Goddess SDXL Female Face Pack - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/virtual-goddess-sdxl-female-face-pack-v1-0)

[![3D Vector Artstyle | Minimal | LoRA - SDXL v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/eb363798-6c91-4c0e-9ce2-e698ece563d1/width=1024/67710721.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/3d-vector-artstyle-minimal-lora-sdxl-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [3D Vector Artstyle | Minimal | LoRA - SDXL v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/3d-vector-artstyle-minimal-lora-sdxl-v1-0)

[![TechJelly: Mechanical Jellyfish (Citron Scifi) [Illustrious & SDXL] - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/de0ea5ea-5ac3-4b5f-815a-7316ad92634c/width=832/85744084.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/techjelly-mechanical-jellyfish-citron-scifi-illustrious-sdxl-sdxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [TechJelly: Mechanical Jellyfish (Citron Scifi) \[Illustrious & SDXL\] - SDXL

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/techjelly-mechanical-jellyfish-citron-scifi-illustrious-sdxl-sdxl)

[![kano-singer - Animagine XLv1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b64904e7-ea22-4762-9bb1-5a19880cda0b/width=1536/42400463.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kano-singer-animagine-xlv1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [kano-singer - Animagine XLv1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/kano-singer-animagine-xlv1-0)

[![Sakura Morph - V1.0 - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8c29e26c-93fc-4ee3-83b8-72203b56a3f2/width=1800/53296468.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sakura-morph-v1-0-sdxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Sakura Morph - V1.0 - SDXL

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

[![AAM XL](https://images.stablediffusionapi.com/?Image=https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/generations/2676702241735948581.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/aam-xl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [AAM XL

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

[![Symphtia Quality - XL - v5.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8e85a957-4165-4d38-a920-027bcc2e36ce/width=1280/41092420.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/symphtia-quality-xl-v5-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Symphtia Quality - XL - v5.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/symphtia-quality-xl-v5-0)

[![Mavuika (Pony, IL, XL, 1.5) - v1.0-SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8604d9d1-5661-4cac-a118-fb67a340cc53/width=1800/25353025.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mavuika-pony-il-xl-1-5-v1-0-sdxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Mavuika (Pony, IL, XL, 1.5) - v1.0-SDXL

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mavuika-pony-il-xl-1-5-v1-0-sdxl)

[![world morph helper collection - gears/clockwork](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8f6e8680-8597-4294-be57-e3a353963233/original=true/85476181.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/world-morph-helper-collection-gears-clockwork)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [world morph helper collection - gears/clockwork

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/world-morph-helper-collection-gears-clockwork)

[![hc-kagome-higurashi](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ac749424-4bc2-4300-9a63-3436ad835b25-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/hc-kagome-higurashi)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [hc-kagome-higurashi

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

[![JJ's - PostModern Architecture - XL v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e76deadb-cfa9-44ce-9094-da044e63fa96/width=1152/11122625.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-postmodern-architecture-xl-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [JJ's - PostModern Architecture - XL v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/jj-s-postmodern-architecture-xl-v1-0)

[![Roof Shingles SDXL - SDXL](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/19deac84-a7e6-4dfa-9ec5-97befcdc2dd5/width=1200/19766324.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/roof-shingles-sdxl-sdxl)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Roof Shingles SDXL - SDXL

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

[![Anime Art Diffusion XL - alpha2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e3d8d492-2cd8-4a5a-9c76-3d5ae58f837a/width=1536/1743709.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/animeartdiffusionxl-alpha2)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Anime Art Diffusion XL - alpha2

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

[![Ebony and Ivory Scrimshaw style - SDXL - V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/05d47967-b3cb-463f-8110-588448b3b772/width=832/21772468.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ebony-and-ivory-scrimshaw-style-sdxl-v1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Ebony and Ivory Scrimshaw style - SDXL - V1

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ebony-and-ivory-scrimshaw-style-sdxl-v1)

About RealVisXL V4.0
---

This image captures a scene rendered in the realism style, highlighting the intricate details and lifelike quality that define this artistic approach.

### Technical Specifications

Model IDrealvisxl-v40ProviderModelslabTaskAI GenerationPrice$0.0047 per API callAddedJune 6, 2024

### Quick Start

Integrate RealVisXL V4.0 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": "realvisxl-v40",
        "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/realvisxl-v40/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

RealVisXL V4.0 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)

RealVisXL V4.0 FAQ
---

### What is RealVisXL V4.0?

This image captures a scene rendered in the realism style, highlighting the intricate details and lifelike quality that define this artistic approach.

### How do I use the RealVisXL V4.0 API?

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

### How much does RealVisXL V4.0 cost?

RealVisXL V4.0 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 RealVisXL V4.0 model ID?

The model ID for RealVisXL V4.0 is "realvisxl-v40". Use this ID in your API requests to specify this model.

### Does RealVisXL V4.0 have a free tier?

Yes, ModelsLab offers a free tier that lets you try RealVisXL V4.0 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*