---
title: Stable Diffusion 2.0 API | Text to Image | ModelsLab
description: Generate images from text with Stable Diffusion 2.0. High-resolution AI image generation. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/stable-diffu.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/stable-diffu.md
type: product
component: Playground/Endpoint/Index
generated_at: 2026-06-29T21:43:30.585190Z
---

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

[by ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)This stable-difussion-2 model trained for 150k steps using a [v-objective](https://arxiv.org/abs/2202.00512) on the same dataset. Resumed for another 140k steps on `768x768` images.

`stable-diffu`

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

[API Playground](/models/modelslab/stable-diffu)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

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)

[![[Pony XL & SD 1.5] Nanami Yachiyo (Additional outfits) (Magia Record: Puella Magi Madoka Magica Side](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/711a0fee-0d83-4445-b5fc-49504d95cee5/width=1024/30261655.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/ponyxlsd15nanamiyachiyoadditionaloutfitsmagiarecordpuellamagimadokamagicasidestory-sd15v10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\[Pony XL & SD 1.5\] Nanami Yachiyo (Additional outfits) (Magia Record: Puella Magi Madoka Magica Side

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

[![StellarBlade ENYA 690](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/59375bd0-fbf9-44e2-8b5c-a6217884aedd-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/stellarblade-enya-690)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [StellarBlade ENYA 690

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

[![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-frontend-v2-927501783998.us-east4.run.app/models/modelslab/egyptian-icons-fantasy-game-asset-illustrious-sd1-5-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

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

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/egyptian-icons-fantasy-game-asset-illustrious-sd1-5-v1-0)

[![Blood Magic](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/d441dd14-9154-4b88-86c1-6a78b630a8c0-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/blood-magic)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Blood Magic

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

[![Stoked Reality - v2.2](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bd36e606-bdf5-45ad-8c2a-0fe5d02ddcce/width=1024/3040998.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/stoked-reality-v2-2)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Stoked Reality - v2.2

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

[![Model blending style condensed body demonstration - Model splicing 6-24-10](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b795e67f-70c8-4406-9a0d-d889608578ee/width=768/16976111.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/modelblendingstylecondensedbodydemonstration-modelsplicing62410)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Model blending style condensed body demonstration - Model splicing 6-24-10

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

[![Yakushi Saya | (Blue Archive) [Illustrious & SD1.5] - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/96c3c7a2-84a3-471c-aaaa-2bd2faacb99b/width=1024/40639514.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/yakushi-saya-blue-archive-illustrious-sd1-5-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Yakushi Saya | (Blue Archive) \[Illustrious & SD1.5\] - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/yakushi-saya-blue-archive-illustrious-sd1-5-v1-0)

[![- Skin tone SD1.5 v0.9](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6e8ff103-d3d9-4371-93da-48a5db42222f/width=1024/23898308.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/skintonesd15v09)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [\- Skin tone SD1.5 v0.9

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

[![Archer (Ragnarok Online) - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c1b580cc-792d-458d-8192-199f6ca0c52c/width=1800/5400523.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/archer-ragnarok-online-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Archer (Ragnarok Online) - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/archer-ragnarok-online-v1-0)

[![Asta | Black Clover - sd1-v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/cb8d797b-c4d8-4b31-971c-b2e00c24b3e5/width=512/56550378.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/asta-black-clover-sd1-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Asta | Black Clover - sd1-v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/asta-black-clover-sd1-v1-0)

[![MengX girl_Mix](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/2929c613-266d-4298-a64a-3c23449aeea2-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/mengx-girlmix)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [MengX girl\_Mix

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

[![Miko Yotsuya || Mieruko-Chan - v1.4](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8aff1e7b-329d-4355-afba-400f385eaeda/width=1024/5540942.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/miko-yotsuya-mieruko-chan-v1-4)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Miko Yotsuya || Mieruko-Chan - v1.4

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/miko-yotsuya-mieruko-chan-v1-4)

[![acne_skin_1.0](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/35806075-c899-4502-901e-b01ff5318c7e-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/acneskin10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [acne\_skin\_1.0

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

[![CivBot: CivitAI Bot Mk 3 [Flux & Illustrious & Pony & SD1.5] - v1.0](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/29f9f880-3041-4b17-aae7-9b5027de3073/width=1024/9380775.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/civbot-civitai-bot-mk-3-flux-illustrious-pony-sd1-5-v1-0)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [CivBot: CivitAI Bot Mk 3 \[Flux & Illustrious & Pony & SD1.5\] - v1.0

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/civbot-civitai-bot-mk-3-flux-illustrious-pony-sd1-5-v1-0)

[![horror](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/6f75c826-e2e4-49d5-884e-95a7ec4b9ad4-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/horror)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [horror

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

[![WinterMoonMix 冬之月 - WinterMoonMix-V1](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a774637b-de6c-4223-844d-621bc1c1f200/width=800/143787.jpeg)Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/wintermoonmix-wintermoonmixv1)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [WinterMoonMix 冬之月 - WinterMoonMix-V1

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

[![majicMIX realistic.safetensors](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/b6ca8018-a710-4c49-9c24-af21ed2f49e5-0.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/majicmix-realisticsafeten)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [majicMIX realistic.safetensors

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

[![Yuu Setoguchi | Itsudatte Bokura no Koi wa 10 cm Datta. / Our love has always been 10 centimeters ap](https://images.stablediffusionapi.com/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/354f8f7d-f767-4cbb-99cf-0cb317a45f34/width=512/87617213.jpeg)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/yuu-setoguchi-itsudatte-bokura-no-koi-wa-10-cm-datta-our-love-has-always-been-10)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Yuu Setoguchi | Itsudatte Bokura no Koi wa 10 cm Datta. / Our love has always been 10 centimeters ap

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/yuu-setoguchi-itsudatte-bokura-no-koi-wa-10-cm-datta-our-love-has-always-been-10)

About Stable Diffusion 2.0
---

This stable-difussion-2 model&nbsp; trained for 150k steps using a v-objective on the same dataset. Resumed for another 140k steps on 768x768 images.

### Technical Specifications

Model IDstable-diffu

ProviderModelslab

TaskAI Generation

Price$0.0047 per API call

### Quick Start

Integrate Stable Diffusion 2.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": "stable-diffu",
        "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

Stable Diffusion 2.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)

Stable Diffusion 2.0 FAQ
---

### What is Stable Diffusion 2.0?

This stable-difussion-2 model&nbsp; trained for 150k steps using a v-objective on the same dataset. Resumed for another 140k steps on 768x768 images.

### How do I use the Stable Diffusion 2.0 API?

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

### How much does Stable Diffusion 2.0 cost?

Stable Diffusion 2.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 Stable Diffusion 2.0 model ID?

The model ID for Stable Diffusion 2.0 is "stable-diffu". Use this ID in your API requests to specify this model.

### Does Stable Diffusion 2.0 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Stable Diffusion 2.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-06-30*