Model reference · open weights
stable-diffusion-5 is an open-weight image model from stable-diffusion-v1-5, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Stable Diffusion v1-5 Model Card ⚠️ This repository is a mirror of the now deprecated ruwnayml/stable-diffusion-v1-5, this repository or organization are not affiliated in any way with RunwayML. Modifications to the original model card are in <span style="color:crimson"red</span or <span style="color:darkgreen"green</span 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. The Stable-Diffusion-v1-5 checkpoint was initialized with the weights of the Stable-Diffusion-v1-2 checkpoint and subsequently fine-tuned on 595k steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10% dropping of the text-conditioning to improve classifier-free guidance sampling. You can use this both with the 🧨Diffusers library and RunwayML GitHub repository (<span style="color:crimson"now deprecated</span), <span style="color:darkgreen"ComfyUI, Automatic1111, SD.Next, InvokeAI</span. Use with Diffusers For more detailed instructions, use-cases and examples in JAX follow the instructions here Use with GitHub Repository <span style="color:crimson"(now deprecated)</span, <span style="color:darkgreen"ComfyUI or Automatic1111</span 1. Download the weights - v1-5-pruned-emaonly.safetensors - ema-only weight. uses less VRAM - suitable for inference - v1-5-pruned.safetensors - ema+non-ema weights. uses more VRAM - suitable for fine-tuning 2. Follow instructions here. <span style="color:crimson"(now deprecated)</span 3. <span style="color:darkgreen"Use locally with <a href="https://github.com/comfyanonymous/ComfyUI"ComfyUI</a, <a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui"AUTOMATIC1111</a, <a href="https://github.com/vladmandic/automatic"SD.Next</a, <a href="https://github.com/invoke-ai/InvokeAI"InvokeAI</a</span Model Details - Developed by: Robin Rombach, Patrick Esser - Model type: Diffusion-based text-to-image generation model - Language(s): English - License: The CreativeML OpenRAIL M license is an Open RAIL M license, adapted from the work that BigScience and the RAIL Initiative are joint
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | stable-diffusion-v1-5 |
|---|---|
| Type | Image models |
| Parameters (lead) | 860M |
| Variants | 1 |
| Runs with | diffusers |
| Released | 2024-08-30 |
| Popularity | 1.5M downloads / month |
| Likes | 1,257 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| stable-diffusion-v1-5 | 860M | BF16 | ~2 GB | ✓ | Weights ↗ |
Using it via the API
Once AxForge deploys stable-diffusion-5 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (stable-diffusion-5 below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"stable-diffusion-5","prompt":"a red bicycle","size":"1024x1024"}'
Details
Tags
Papers
Licence
Open weights under creativeml-openrail-m — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗