Stable Diffusion v1.5

stability-ai/stable-diffusion-v15

Stable Diffusion V15 by Stability AI - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.

Base price
$0.0013 / run
Execution
async
Model type
image
Input fields
11

Try the model

Playground

Open playground
Input
The prompt to use for generating the image. Be as descriptive as possible for best results.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
020
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Range: 0 to 20.
150
The number of inference steps to perform. Range: 1 to 50.
The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time.
The list of LoRA weights to use.
The list of embeddings to use.
The version of the safety checker to use. v1 is the default CompVis safety checker. v2 uses a custom ViT model. Allowed values: v1, v2.
If set to true, the prompt will be expanded with additional prompts.
An id bound to a request, can be used with response to identify the request itself.
The format of the generated image. Allowed values: jpeg, png.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Specifications

Pricing

Base price
$0.0013 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Stability AI
Model ID
stability-ai/stable-diffusion-v15
Execution
async
API
Unified Run API
Endpoint
/v1/run

API README

Stable Diffusion v1.5

Stable Diffusion v1.5 occupies a clearly bounded position in a image production pipeline under the route stability-ai/stable-diffusion-v15. It is best evaluated as a named workflow endpoint rather than as a generic substitute for neighboring versions: planners can assign the route to a specific brief, record the chosen revision, and keep approval history tied to one predictable integration surface from intake through delivery.

A practical rollout of Stable Diffusion v1.5 should begin with source-readiness checks, ownership of the submitted material, an agreed budget, and a written definition of the final stable diffusion v15 deliverable. Before automation is enabled, the acceptance pass should verify that the returned asset opens correctly, fits the intended downstream toolchain, satisfies the project’s review criteria, and can be reproduced from the stored request and route identity stability-ai/stable-diffusion-v15.

Highlights

  • Distinct output behavior. For Stable Diffusion v1.5, for Stable Diffusion v1.5, create the image without a source-image field In Stable Diffusion v1.5, this capability is applied through the exact stability-ai/stable-diffusion-v15 workflow with seed as a relevant request control; the seed control exposes the corresponding choice in this route; the seed control exposes the corresponding choice in this route.
  • Creative control. For Stable Diffusion v1.5, for Stable Diffusion v1.5, attach LoRAs and embeddings independently In Stable Diffusion v1.5, this capability is applied through the exact stability-ai/stable-diffusion-v15 workflow with loras as a relevant request control; the loras control exposes the corresponding choice in this route; the loras control exposes the corresponding choice in this route.
  • Workflow fit. For Stable Diffusion v1.5, for Stable Diffusion v1.5, turn on expand_prompt when automatic additional prompting is wanted In Stable Diffusion v1.5, this capability is applied through the exact stability-ai/stable-diffusion-v15 workflow with format as a relevant request control; the format control exposes the corresponding choice in this route; the format control exposes the corresponding choice in this route.
  • Production detail. For Stable Diffusion v1.5, for Stable Diffusion v1.5, use safety-checker v1 by default or request v2 In Stable Diffusion v1.5, this capability is applied through the exact stability-ai/stable-diffusion-v15 workflow with prompt as a relevant request control; the prompt control exposes the corresponding choice in this route; the prompt control exposes the corresponding choice in this route.

Pricing

ConfigurationPrice
Per request$0.00125

When to Use

ScenarioWhy this model fits
Choose Stable Diffusion v1.5Use it when the required deliverable is specifically the image result documented for stability-ai/stable-diffusion-v15.
Match the source materialSelect this route when your inputs naturally map to seed, loras, format, prompt.
Use its distinguishing capabilityFor Stable Diffusion v1.5, create the image without a source-image field In Stable Diffusion v1.5, this capability is applied through the exact stability-ai/stable-diffusion-v15 workflow with seed as a relevant request control; the seed control exposes the corresponding choice in this route
Plan repeatable productionFor Stable Diffusion v1.5, attach LoRAs and embeddings independently In Stable Diffusion v1.5, this capability is applied through the exact stability-ai/stable-diffusion-v15 workflow with loras as a relevant request control; the loras control exposes the corresponding choice in this route
Confirm cost and deliveryUse the pricing combinations below and the output contract above when budgeting or automating Stable Diffusion v1.5 jobs.

Prompt Guide

Build the request around the exact stability-ai/stable-diffusion-v15 schema. Start with required fields, then add only the controls needed for the intended output; keep URLs reachable and enum values exactly as shown in Technical Specs.

{
  "prompt": "photo of a rhino dressed suit and tie sitting at a table in a bar with a bar stools, award winning photography, Elke vogelsang",
  "seed": 0,
  "loras": [],
  "format": "jpeg"
}

Technical Specs

SpecificationValue
Model IDstability-ai/stable-diffusion-v15
Execution modeasync
Required inputsprompt
Request fieldsseed (integer, optional); loras (array, optional); format (string, optional, options: jpeg / png); prompt (string, required); embeddings (array, optional); request_id (string, optional); aspect_ratio (string, optional, options: 21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16); expand_prompt (boolean, optional); guidance_scale (number, optional, min 0, max 20); num_inference_steps (integer, optional, min 1, max 50); safety_checker_version (string, optional, options: v1 / v2)
Outputurl (string); content_type (string)

Related Models

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Endpoint
https://api.sandbase.ai/v1/run
Model ID
stability-ai/stable-diffusion-v15
# Preserve Unicode and shell metacharacters in the request body.
result=$(printf '%s' 'ewogICJtb2RlbCI6ICJzdGFiaWxpdHktYWkvc3RhYmxlLWRpZmZ1c2lvbi12MTUiLAogICJsb3JhcyI6IFtdLAogICJmb3JtYXQiOiAianBlZyIsCiAgInByb21wdCI6ICJwaG90byBvZiBhIHJoaW5vIGRyZXNzZWQgc3VpdCBhbmQgdGllIHNpdHRpbmcgYXQgYSB0YWJsZSBpbiBhIGJhciB3aXRoIGEgYmFyIHN0b29scywgYXdhcmQgd2lubmluZyBwaG90b2dyYXBoeSwgRWxrZSB2b2dlbHNhbmciLAogICJlbWJlZGRpbmdzIjogW10sCiAgImV4cGFuZF9wcm9tcHQiOiBmYWxzZSwKICAiZ3VpZGFuY2Vfc2NhbGUiOiA3LjUsCiAgIm51bV9pbmZlcmVuY2Vfc3RlcHMiOiAyNSwKICAic2FmZXR5X2NoZWNrZXJfdmVyc2lvbiI6ICJ2MSIKfQ==' \
  | base64 --decode \
  | curl --fail-with-body --silent \
      -X POST "https://api.sandbase.ai/v1/run" \
      -H "Authorization: Bearer $SANDBASE_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @-)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Stability AI———Apr 16, 2024
Stability AI———Jun 12, 2024
Stability AI———Feb 28, 2024
Stability AI———Dec 1, 2023
Stability AI———Apr 16, 2024
Stability AI———Apr 16, 2024