---
title: Stable Diffusion V1 5 API – Run Online | SD 1.5 Checkpoint
description: Stable Diffusion V1 5 is an SD 1.5 Checkpoint. Run it online with the API & playground. $0.0047 per image.
url: https://modelslab.com/models/modelslab/sd-1.5.md
canonical: https://modelslab.com/models/modelslab/sd-1.5
type: product
component: Playground/Endpoint/Index
generated_at: 2026-11-15T09:57:25.944666Z
---

[![Stable Diffusion V1-5 thumbnail](https://assets.modelslab.ai/api-logos/01KPMZY676ZM0Z7YJWBM9C78QP.png)](https://modelslab.com/models/modelslab)Stable Diffusion V1-5
---

Hosted on ModelsLab

Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at ?'s Stable Diffusion blog.

`sd-1.5`

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

[API Playground](/models/modelslab/sd-1.5)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel SpecsEnterprise Deployment

Input
---

Prompt 

a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography

Model 

LoRA Model 

HuggingFaceLibrary

Select models...

Width 

Height 

Advanced Settings Customize your input with more control.

**$0.0047** per image generation

Login to Generate

Output
---

Sample

![Generated Content](https://assets.modelslab.ai/generations/ef0f2c1f-58c6-4488-8475-f07428c51363-0.png)

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.

![Nano Banana Pro API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/5ee72f26-dfa9-4d26-a546-7d496ef71be7.webp)

[Google](/models/google)

 [Nano Banana Pro](/models/google/nano-banana-pro?config=nano-banana-pro-text2image)Closed Source Model

![Flux 3 Klein Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/eeded1dc-53f1-4aab-972b-8c9a4a8304b4.webp)

[ModelsLab](/models/modelslab) Popular

 [Flux 3 Klein Text To Image](/models/modelslab/flux-3-klein)Open Source Model

![Gen4 Text to Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b656bfe5-c402-456b-9980-f7447198887d.webp)

[Runway ML](/models/runway_ml)

 [Gen4 Text to Image](/models/runway_ml/gen4_image)Closed Source Model

![Grok Imagine Image 2.0 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/36454d6f-dd19-4a92-b618-d9332263045f.webp)

[xAI](/models/xai)

 [Grok Imagine Image 2.0 Text To Image](/models/x-ai/grok-imagine-image-2.0-t2i)Closed Source Model

![Seedream 5.0 Pro Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/280db637-e26a-4621-a7ea-572ca88c7876.png)

[BytePlus](/models/byteplus)

 [Seedream 5.0 Pro Text To Image](/models/byteplus/seedream-5.0-pro-t2i)Closed Source Model

![Nano Banana 2.1 Text To Image  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/f44e6b5c-f64c-456a-b63f-8fae5728b0f1.webp
)

[Google](/models/google)

 [Nano Banana 2.1 Text To Image](/models/google/gemini-nano-banana-2.1-t2i)Closed Source Model

### Faster Generation

Built for speed when you are iterating on a prompt.

![Grok Imagine Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/77fe7302-eee2-45bd-baae-45d2a822b52f.webp)

[xAI](/models/xai)

 [Grok Imagine Text To Image](/models/xai/grok-imagine-image-t2i)

![Wan 2.7 Text To Image API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/aba76d25-b19c-4fee-9123-4cbb29e71646.webp)

[Alibaba](/models/alibaba_cloud)

 [Wan 2.7 Text To Image](/models/alibaba_cloud/wan-2.7-t2i)

Related Models
---

Discover similar models you might be interested in

 [View all Models](https://modelslab.com/models)

![werewolf API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/8679ed75-b6ae-4671-9b55-acd9640389eb-0.png)

[ModelsLab](/models/modelslab)

 [werewolf](/models/modelslab/werewolf)

![Neck Rings for SD1.5 - v2.0 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/27786a73-8769-415c-ac0a-4278a7bf6dd2/width=512/74892371.jpeg)

[ModelsLab](/models/modelslab)

 [Neck Rings for SD1.5 - v2.0](/models/modelslab/neckringsforsd15-v20)

![- v6.0-remark API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/625890dd-abe9-4912-8cef-9fbfe8d8d084/width=1024/42362972.jpeg)

[ModelsLab](/models/modelslab)

 [\- v6.0-remark](/models/modelslab/v60remark)

![万象熔炉 | Anything XL - V5.0 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/56d4c63f-5be6-4ef0-b45b-7fdef85b44ad/width=1800/963335.jpeg)

[ModelsLab](/models/modelslab) Popular

 [万象熔炉 | Anything XL - V5.0](/models/modelslab/anything-xl-v5-0)

![Gas Lora - V1 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8d5d3796-3b94-45ee-a2d6-fe737607362c/width=1024/67478076.jpeg)

[ModelsLab](/models/modelslab)

 [Gas Lora - V1](/models/modelslab/gaslora-v1)

![RunDiffusion FX Photorealistic - v1.0 API](https://images.modelslab.sh/?Image=https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f7695f57-453f-484d-8412-bf8380ac9512/width=496/1099148.jpeg)

[ModelsLab](/models/modelslab) Popular

 [RunDiffusion FX Photorealistic - v1.0](/models/modelslab/rundiffusionfxphotorealistic-v10)

View all 18 related models

About Stable Diffusion V1-5
---

Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at ?'s Stable Diffusion blog.

### Stable Diffusion V1-5 facts

Base modelSD 1.5

TypeCheckpoint

Price$0.0047 per image

Model IDsd-1.5

### Quick Start

Integrate Stable Diffusion V1-5 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v6/images/text2img"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "sd-1.5",</div>
<div>        "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

const requestBody = {

 "model_id": "sd-1.5",

 "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",

 "key": "YOUR_API_KEY"

 };

async function makeApiRequest() {

 try {

 const response = await fetch(endpointUrl, {

 method: 'POST',

 headers: {

 'Content-Type': 'application/json',

 },

 body: JSON.stringify(requestBody)

 });

 if (!response.ok) {

 let errorResult;

 try {

 errorResult = await response.json();

 } catch (e) {

 errorResult = { error: { message: await response.text() } };

 }

 throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);

 }

 const result = await response.json();

 console.log('API Response:', result);

 return result;

 } catch (error) {

 console.error('Error making API request:', error.message);

 throw error;

 }

}

makeApiRequest();

 -H "Content-Type: application/json" \

 -d '{

 "model_id": "sd-1.5",

 "prompt": "a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography",

 "key": "YOUR_API_KEY"

}'

$url = 'https://modelslab.com/api/v6/images/text2img';

$headers = [

 'Content-Type: application/json'

];

$data = [

 'model_id' => 'sd-1.5',

 'prompt' => 'a cozy wooden cabin beside a calm mountain lake at sunrise, pine forest, soft golden light, mist over the water, highly detailed, sharp focus, professional photography',

 'key' => 'YOUR_API_KEY',

];

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 30);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

$curlError = curl_error($ch);

if ($curlError) {

 echo 'Curl error: ' . $curlError;

} else {

 echo "HTTP Status Code: " . $httpCode . "\n";

 $result = json_decode($response, true);

 if (json_last_error() !== JSON_ERROR_NONE) {

 echo "Error decoding JSON: " . json_last_error_msg() . "\n";

 echo "Raw response: " . $response . "\n";

 } else {

 echo "API Response:\n";

 print_r($result);

 }

}

?>

### Pricing

Stable Diffusion V1-5 API costs $0.0047 per API call. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [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)

Stable Diffusion V1-5 FAQ
---

### What is Stable Diffusion V1-5?

Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at ?'s Stable Diffusion blog.

### How do I use the Stable Diffusion V1-5 API?

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

### How much does Stable Diffusion V1-5 cost?

Stable Diffusion V1-5 costs $0.0047 per image. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Stable Diffusion V1-5 model ID?

The model ID for Stable Diffusion V1-5 is "sd-1.5". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Stable Diffusion V1-5?

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-11-15*