---
title: M&D 4.0 API Docs | Text to Image | ModelsLab
description: API documentation, code examples, and SDKs for M&D 4.0. Integrate AI into your app with Python, JavaScript, cURL, and CLI. Pay-per-use pricing.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/md40/api
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/md40/api
type: product
component: Playground/Endpoint/Index
generated_at: 2026-04-01T15:53:00.060830Z
---

# M&D 4.0 API Docs | Text to Image | ModelsLab

> API documentation, code examples, and SDKs for M&D 4.0. Integrate AI into your app with Python, JavaScript, cURL, and CLI. Pay-per-use pricing.

**Navigation**: [Home](https://modelslab-frontend-v2-927501783998.us-east4.run.app) > [Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models) > [ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab) > [M&D 4.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/md40/api) > API Documentation

## Model

### [M&D_4.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/md40)

**Model ID:** md40
**Category:** Stable Diffusion
**Type:** Sd1.5
**Provider:** Modelslab

M4RV3LS &amp; DUNGEONS from civitai by DarkAgent
https://civitai.com/models/30711/m4rv3ls-and-dungeons-new-v40-comics-and-fantasy-model

Tags: cartoon

## Endpoint

### Text to Image Community Model

**Endpoint:** `v6/images/text2img`
**Provider:** Modelslab
**Category:** Image

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

Per image generation will cost 0.0047$ 
For premium plan image generation will cost 0.00$ i.e Free.

## API Docs

- [API Docs](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/md40/llms.txt)

## Related Models

### [RealCartoon3D - V13](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/realcartoon3d-v13)
Category: Stable Diffusion | Provider: Modelslab

### [SDXL Yamer's Realistic 5 👁‍🗨🖼️📷 - V4 NO VAE](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sdxlyamersrealistic5-v4novae)
Category: Stable Diffusion | Provider: Modelslab

### [revanimated_v122](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/revanimatedv122)
Category: Stable Diffusion | Type: Sd1.5 | Provider: Modelslab

### [CAVEtexture](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/cavetexture)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Art Style Hiro Style/ - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/art-style-hiro-style-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Citlali (Pony IL XL 1.5) - v1.0-SD1.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/citlali-pony-il-xl-1-5-v1-0-sd1-5-1751953782)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Susan Test [ PXL / S1.5 ][ Johnny Test ] by Leaf - v0.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/susan-pxl-s1-5-johnny-by-leaf-v0-5)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [AniVerse - V1.0 - Pruned](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/aniverse-v1-0-pruned)
Category: Stable Diffusion | Provider: Modelslab

### [- LEGACY – SD1.5](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/legacysd15)
Category: Stable Diffusion | Provider: Modelslab

### [darksushimix_v2_25](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/darksushimixv225)
Category: Stable Diffusion | Type: Sd1.5 | Provider: Modelslab

### [SDXL Yamer's Anime 🌟💖😏 Unstable Illustrator - Y's Anime V5 + VAE](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sdxlyamersanimeunstableillustrator-ysanimev5vae)
Category: Stable Diffusion | Provider: Modelslab

### [[IL & PONY & SD1.5] Honkai Star Rail - Aglaea | - [SD1.5] v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/il-pony-sd1-5-honkai-star-rail-aglaea-sd1-5-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Ban | Nanatsu no Taizai / The Seven Deadly Sins - sd1-v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ban-nanatsu-no-taizai-the-seven-deadly-sins-sd1-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Wendy (Wendy's) [Pony & SD1.5] - v1.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/wendy-wendy-s-pony-sd1-5-v1-0)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Realistic Vision V5.1 2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/v51_inpainting)
Category: Stable Diffusion | Provider: Modelslab

### [midjourney style cat](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/midjourney-style-cat)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab

### [Sultry Grace Mix - 🎨 Inpainting v2.0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/sultrygracemix-inpaintingv20)
Category: Stable Diffusion | Provider: Modelslab

### [Spider-Woman (Jessica Drew) [LoRA] - v3.0 (AOM2) [Clip skip 2]](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/spider-woman-jessica-drew-lora-v3-0-aom2-clip-skip-2)
Category: Stable Diffusion | Type: Lora | Provider: Modelslab


---

*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-04-01*