Model reference · open weights

SSD

Available as managed deployment Image segmind Text→image 1 variants 12k dl/mo

SSD is an open-weight image model from segmind. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released bysegmind
TypeImage models
TaskText→image
Parameters (lead)1.3B
Runs withdiffusers
Released2023-10-19
Popularity12k downloads / month
LicenceOpen weights

About

What SSD is

📣 Read our technical report for more details on our disillation method

AUTOMATIC1111 compatibility added. Supporting file here

Demo

Try out the model at Segmind SSD-1B for ⚡ fastest inference. You can also try it on 🤗 Spaces

Model Description

The Segmind Stable Diffusion Model (SSD-1B) is a distilled 50% smaller version of the Stable Diffusion XL (SDXL), offering a 60% speedup while maintaining high-quality text-to-image generation capabilities. It has been trained on diverse datasets, including Grit and Midjourney scrape data, to enhance its ability to create a wide range of visual content based on textual prompts.

Read the full model card

This model employs a knowledge distillation strategy, where it leverages the teachings of several expert models in succession, including SDXL, ZavyChromaXL, and JuggernautXL, to combine their strengths and produce impressive visual outputs.

Special thanks to the HF team 🤗 especially Sayak, Patrick and Poli for their collaboration and guidance on this work.

Image Comparision (SDXL-1.0 vs SSD-1B)

Usage:

This model can be used via the 🧨 Diffusers library.

Make sure to install diffusers from source by running

pip install git+https://github.com/huggingface/diffusers

In addition, please install transformers, safetensors and accelerate:

pip install transformers accelerate safetensors

To use the model, you can run the following:

from diffusers import StableDiffusionXLPipeline
import torch
pipe = StableDiffusionXLPipeline.from_pretrained("segmind/SSD-1B", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
pipe.to("cuda")
# if using torch < 2.0
# pipe.enable_xformers_memory_efficient_attention()
prompt = "An astronaut riding a green horse" # Your prompt here
neg_prompt = "ugly, blurry, poor quality" # Negative prompt here
image = pipe(prompt=prompt, negative_prompt=neg_prompt).images[0]

Update: Our model should now be usable in ComfyUI.

Please do use negative prompting, and a CFG around 9.0 for the best quality!

Model Description

Key Features

  • Text-to-Image Generation: The model excels at generating images from text prompts, enabling a wide range of creative applications.

  • Distilled for Speed: Designed for efficiency, this model offers a 60% speedup, making it a practical choice for real-time applications and scenarios where rapid image generation is essential.

  • Diverse Training Data: Trained on diverse datasets, the model can handle a variety of textual prompts and generate corresponding images effectively.

  • Knowledge Distillation: By distilling knowledge from multiple expert models, the Segmind Stable Diffusion Model combines their strengths and minimizes their limitations, resulting in improved performance.

Model Architecture

The SSD-1B Model is a 1.3B Parameter Model which has several layers removed from the Base SDXL Model

Training info

These are the key hyperparameters used during training:

  • Steps: 251000
  • Learning rate: 1e-5
  • Batch size: 32
  • Gradient accumulation steps: 4
  • Image resolution: 1024
  • Mixed-precision: fp16

Multi-Resolution Support

SSD-1B can support the following output resolutions.

  • 1024 x 1024 (1:1 Square)
  • 1152 x 896 (9:7)
  • 896 x 1152 (7:9)
  • 1216 x 832 (19:13)
  • 832 x 1216 (13:19)
  • 1344 x 768 (7:4 Horizontal)
  • 768 x 1344 (4:7 Vertical)
  • 1536 x 640 (12:5 Horizontal)
  • 640 x 1536 (5:12 Vertical)

Speed Comparision

We have observed that SSD-1B is upto 60% faster than the Base SDXL Model. Below is a comparision on an A100 80GB.

Below are the speed up metrics on a RTX 4090 GPU.

Model Sources

For research and development purposes, the SSD-1B Model can be accessed via the Segmind AI platform. For more information and access details, please visit Segmind.

Uses

Direct Use

The Segmind Stable Diffusion Model is suitable for research and practical applications in various domains, including:

  • Art and Design: It can be used to generate artworks, designs, and other creative content, providing inspiration and enhancing the creative process.

  • Education: The model can be applied in educational tools to create visual content for teaching and learning purposes.

  • Research: Researchers can use the model to explore generative models, evaluate its performance, and push the boundaries of text-to-image generation.

  • Safe Content Generation: It offers a safe and controlled way to generate content, reducing the risk of harmful or inappropriate outputs.

  • Bias and Limitation Analysis: Researchers and developers can use the model to probe its limitations and biases, contributing to a better understanding of generative models' behavior.

Downstream Use

The Segmind Stable Diffusion Model can also be used directly with the 🧨 Diffusers library training scripts for further training, including:

export MODEL_NAME="segmind/SSD-1B"
export VAE_NAME="madebyollin/sdxl-vae-fp16-fix"
export DATASET_NAME="lambdalabs/pokemon-blip-captions"

accelerate launch train_text_to_image_lora_sdxl.py 

From the published model card. Full card on the HuggingFace links in the sidebar.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys ssd for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (ssd 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":"ssd","prompt":"a red bicycle","size":"1024x1024"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms