---
title: Z Image Base API | Text to Image | ModelsLab
description: Z-Image Base Stable Diffusion model with 6B parameters and S3-DiT architecture delivers top-quality, diverse photorealistic images, supports.
url: https://modelslab.com/models/modelslab/z-image-base.md
canonical: https://modelslab.com/models/modelslab/z-image-base.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-04-16T21:14:39.686984Z
---

[![Z Image Base thumbnail](https://modelslab.com/images/logo-favicon.png)](https://modelslab.com/models/modelslab)Z Image Base
---

[by Modelslab](https://modelslab.com/models/modelslab)**Z-Image Base** Stable Diffusion model with 6B parameters and S3-DiT architecture delivers top-quality, diverse photorealistic images, supports CFG/negative prompts, LoRA training, and runs on <16GB VRAM GPUs for research and complex prompting.

`z-image-base`

Open Source Model [Unlimited Usage](https://modelslab.com/pricing) [LLMs.txt](https://modelslab.com/models/modelslab/z-image-base/llms.txt)

[API Playground](/models/modelslab/z-image-base) [API Documentation](/models/modelslab/z-image-base/api)Vibe CodeRelated ModelsDeveloper SupportModel Specs

Input
---

Prompt 

A highly detailed, ultra-realistic scene inside a modern McDonald’s restaurant. At the counter stands a friendly anthropomorphic creature resembling a furry monster or gentle beast. The creature has thick golden-brown fur, expressive round eyes, a wide flat nose, and a soft, friendly facial expression. It is wearing an official McDonald’s uniform: a dark grey short-sleeve button-up shirt with a red-and-yellow McDonald’s logo patch on the chest, dark trousers, and a navy-blue McDonald’s cap with the iconic yellow ‘M’. The creature has large, clawed hands covered in brown fur, and is handing over a classic McDonald’s brown takeaway bag with the yellow ‘M’ printed on it. 

Width 

Height 

Number of Images 

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.com/models)

[![shencai](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/d961e924-7a79-481f-8152-54d00c340fcf-0.png)](https://modelslab.com/models/modelslab/shencai)[ModelsLab](https://modelslab.com/models/modelslab)

 [shencai

Open Source Model](https://modelslab.com/models/modelslab/shencai)

[![helloFlatColorful2D - helloFlatColorful2D_v1.2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/656f086d-48ce-494e-ac12-04fd8b94cc21/width=768/1656501.jpeg)Popular](https://modelslab.com/models/modelslab/helloflatcolorful2d-helloflatcolorful2dv12)[ModelsLab](https://modelslab.com/models/modelslab)

 [helloFlatColorful2D - helloFlatColorful2D\_v1.2

Open Source Model](https://modelslab.com/models/modelslab/helloflatcolorful2d-helloflatcolorful2dv12)

[![Fairy Tail Anime Style LoRA - sd1-v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4b1c1211-59d2-4370-b388-de5379a27b43/width=512/60900392.jpeg)Popular](https://modelslab.com/models/modelslab/fairy-tail-anime-style-lora-sd1-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Fairy Tail Anime Style LoRA - sd1-v1.0

Open Source Model](https://modelslab.com/models/modelslab/fairy-tail-anime-style-lora-sd1-v1-0)

[![Mitsuru Abe | Osananajimi ga Zettai ni Makenai Love Comedy / Osamake: Romcom Where The Childhood Fri](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3d74e26d-9b88-4ac4-9530-0280d8128cfe/width=512/31493372.jpeg)](https://modelslab.com/models/modelslab/mitsuru-abe-osananajimi-ga-zettai-ni-makenai-love-comedy-osamake-romcom-where-th)[ModelsLab](https://modelslab.com/models/modelslab)

 [Mitsuru Abe | Osananajimi ga Zettai ni Makenai Love Comedy / Osamake: Romcom Where The Childhood Fri

Open Source Model](https://modelslab.com/models/modelslab/mitsuru-abe-osananajimi-ga-zettai-ni-makenai-love-comedy-osamake-romcom-where-th)

[![helloFlatHardEdge - v1.2gVAE](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f7b4734b-484a-4dc7-badb-5594f79dfe4b/width=1024/46348851.jpeg)Popular](https://modelslab.com/models/modelslab/helloflathardedge-v1-2gvae)[ModelsLab](https://modelslab.com/models/modelslab)

 [helloFlatHardEdge - v1.2gVAE

Open Source Model](https://modelslab.com/models/modelslab/helloflathardedge-v1-2gvae)

[![[SD1.5 & PONY] Honkai Star Rail - Tingyun & Fugue | & - [SD1.5] v2.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/46229863-1373-4476-a9aa-29b4e408cc0b/width=96/fallenL.jpeg)Popular](https://modelslab.com/models/modelslab/sd1-5-pony-honkai-star-rail-tingyun-fugue-sd1-5-v2-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [\[SD1.5 & PONY\] Honkai Star Rail - Tingyun & Fugue | & - \[SD1.5\] v2.0

Open Source Model](https://modelslab.com/models/modelslab/sd1-5-pony-honkai-star-rail-tingyun-fugue-sd1-5-v2-0)

[![dreamlike-diffusion-1.0](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/1e75cbd9-5013-4c73-a861-84c56216142e-0.png)Popular](https://modelslab.com/models/modelslab/dreamlike-diffusion-)[ModelsLab](https://modelslab.com/models/modelslab)

 [dreamlike-diffusion-1.0

Open Source Model](https://modelslab.com/models/modelslab/dreamlike-diffusion-)

[![Stoked Reality - v1.2 InPaint](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/49a46fa3-5f38-415d-98d6-c54363b8a0a4/width=640/1520809.jpeg)Popular](https://modelslab.com/models/modelslab/stoked-reality-v1-2-inpaint)[ModelsLab](https://modelslab.com/models/modelslab)

 [Stoked Reality - v1.2 InPaint

Open Source Model](https://modelslab.com/models/modelslab/stoked-reality-v1-2-inpaint)

[![counterfeit_v3](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/63af504b-4f8c-4b64-8be6-1a8b71150a46-0.png)](https://modelslab.com/models/modelslab/counterfeitv3)[ModelsLab](https://modelslab.com/models/modelslab)

 [counterfeit\_v3

Open Source Model](https://modelslab.com/models/modelslab/counterfeitv3)

[![Collection of OCs - Pink Mage](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ef114a62-5f9c-48e0-96a5-10b1a8534b0a/width=512/7218291.jpeg)Popular](https://modelslab.com/models/modelslab/collectionofocs-pinkmage)[ModelsLab](https://modelslab.com/models/modelslab)

 [Collection of OCs - Pink Mage

Open Source Model](https://modelslab.com/models/modelslab/collectionofocs-pinkmage)

[![CyberRealistic - v6.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/470770d5-5afd-4b2d-bc2e-f2cecb3f4f58/width=1600/29558860.jpeg)Popular](https://modelslab.com/models/modelslab/cyberrealistic-v6-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [CyberRealistic - v6.0

Open Source Model](https://modelslab.com/models/modelslab/cyberrealistic-v6-0)

[![MIHOYO Collection (Honkai Impact 3rd | Honkai Star Rail | Genshin Impact | Zenless Zone Zero) - - -C](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a7ffbe23-727a-4c87-a11f-a566db564dae/width=1024/4461373.jpeg)Popular](https://modelslab.com/models/modelslab/mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenless-zone-1751951611)[ModelsLab](https://modelslab.com/models/modelslab)

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

Open Source Model](https://modelslab.com/models/modelslab/mihoyo-collection-honkai-impact-3rd-honkai-star-rail-genshin-impact-zenless-zone-1751951611)

[![Egyptian Icons (Fantasy Game Asset) [Illustrious & SD1.5] - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e5c8efcf-eb35-4e3e-9e7d-e4ecde91523c/width=1536/4418809.jpeg)Popular](https://modelslab.com/models/modelslab/egyptian-icons-fantasy-game-asset-illustrious-sd1-5-v1-0)[ModelsLab](https://modelslab.com/models/modelslab)

 [Egyptian Icons (Fantasy Game Asset) \[Illustrious & SD1.5\] - v1.0

Open Source Model](https://modelslab.com/models/modelslab/egyptian-icons-fantasy-game-asset-illustrious-sd1-5-v1-0)

[![UnstableInkDream - V6](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/53a56a16-221c-4919-13fa-ed2b1d2d5c00/width=512/48283.jpeg)Popular](https://modelslab.com/models/modelslab/unstableinkdream-v6)[ModelsLab](https://modelslab.com/models/modelslab)

 [UnstableInkDream - V6

Open Source Model](https://modelslab.com/models/modelslab/unstableinkdream-v6)

[![- nawsjmajic_v1.1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/10be7471-32c7-43c9-ac7d-1f0739975a82/width=512/703176.jpeg)](https://modelslab.com/models/modelslab/nawsjmajicv11)[ModelsLab](https://modelslab.com/models/modelslab)

 [\- nawsjmajic\_v1.1

Open Source Model](https://modelslab.com/models/modelslab/nawsjmajicv11)

[![Anime Tarot](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/c0dd9d1a-a414-486a-b1dc-2bf0091c4b19-0.png)](https://modelslab.com/models/modelslab/anime-tarot)[ModelsLab](https://modelslab.com/models/modelslab)

 [Anime Tarot

Open Source Model](https://modelslab.com/models/modelslab/anime-tarot)

[![Wedding dress](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/8656c04e-b476-47e2-8c19-7f34093dbe23-0.png)](https://modelslab.com/models/modelslab/wedding-dress)[ModelsLab](https://modelslab.com/models/modelslab)

 [Wedding dress

Open Source Model](https://modelslab.com/models/modelslab/wedding-dress)

[![LunarPunkAI](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/18ff1255-e398-49bb-887c-2132097791dd-0.png)](https://modelslab.com/models/modelslab/lunarpunkai)[ModelsLab](https://modelslab.com/models/modelslab)

 [LunarPunkAI

Open Source Model](https://modelslab.com/models/modelslab/lunarpunkai)

About Z Image Base
---

Z-Image Base Stable Diffusion model with 6B parameters and S3-DiT architecture delivers top-quality, diverse photorealistic images, supports CFG/negative prompts, LoRA training, and runs on <16GB VRAM GPUs for research and complex prompting.

### Technical Specifications

Model IDz-image-baseProviderModelslabTaskAI GenerationPrice$0.0047 per generationAddedFebruary 3, 2026

### Quick Start

Integrate Z Image Base into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/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": "z-image-base",
        "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.com/models/modelslab/z-image-base/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Z Image Base API costs $0.0047 per generation. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

[Browse All Models](https://modelslab.com/models) [More from Modelslab](https://modelslab.com/models/modelslab) [View Pricing](https://modelslab.com/pricing)

Z Image Base FAQ
---

### What is Z Image Base?

\*\*Z-Image Base\*\* Stable Diffusion model with 6B parameters and S3-DiT architecture delivers top-quality, diverse photorealistic images, supports CFG/negative prompts, LoRA training, and runs on <16GB VRAM GPUs for research and complex prompting.

### How do I use the Z Image Base API?

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

### How much does Z Image Base cost?

Z Image Base costs $0.0047 per generation. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Z Image Base model ID?

The model ID for Z Image Base is "z-image-base". Use this ID in your API requests to specify this model.

### Does Z Image Base have a free tier?

Yes, ModelsLab offers a free tier that lets you try Z Image Base 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-04-17*