A fantasy portrait of a woman with honey-blonde hair and emerald eyes, looking upwards with a tear on her cheek, wearing ornate silver earrings and a necklace, illuminated by dramatic chiaroscuro lighting.
Four animated Neo-Victorian heroines in a sunlit attic conservatory, wielding magical sparks, a sword, and an open glowing grimoire, with a steampunk city visible through large arched windows.

Parametri Consigliati

steps

10 - 30

resolution

1024x1024

Suggerimenti

Use the 3.6 billion parameter version of Stage C for best results due to extensive finetuning.

Choose the larger variant (1.5 billion params) of Stage B to better reconstruct small and fine image details.

The model supports popular Stable Diffusion extensions such as LoRA, ControlNet, IP-Adapter, and LCM.

Install the 'diffusers' Python package from the specified branch for code compatibility.

Sponsor del Creatore

Demos:

Stable Cascade

This model is built upon the Würstchen architecture and its main

difference to other models like Stable Diffusion is that it is working at a much smaller latent space. Why is this

important? The smaller the latent space, the faster you can run inference and the cheaper the training becomes.

How small is the latent space? Stable Diffusion uses a compression factor of 8, resulting in a 1024x1024 image being

encoded to 128x128. Stable Cascade achieves a compression factor of 42, meaning that it is possible to encode a

1024x1024 image to 24x24, while maintaining crisp reconstructions. The text-conditional model is then trained in the

highly compressed latent space. Previous versions of this architecture, achieved a 16x cost reduction over Stable

Diffusion 1.5. <br> <br>

Therefore, this kind of model is well suited for usages where efficiency is important. Furthermore, all known extensions

like finetuning, LoRA, ControlNet, IP-Adapter, LCM etc. are possible with this method as well.

Model Details

Model Description

Stable Cascade is a diffusion model trained to generate images given a text prompt.

  • Developed by: Stability AI

  • Funded by: Stability AI

  • Model type: Generative text-to-image model

Model Sources

For research purposes, we recommend our StableCascade Github repository (https://github.com/Stability-AI/StableCascade).

Model Overview

Stable Cascade consists of three models: Stage A, Stage B and Stage C, representing a cascade to generate images,

hence the name "Stable Cascade".

Stage A & B are used to compress images, similar to what the job of the VAE is in Stable Diffusion.

However, with this setup, a much higher compression of images can be achieved. While the Stable Diffusion models use a

spatial compression factor of 8, encoding an image with resolution of 1024 x 1024 to 128 x 128, Stable Cascade achieves

a compression factor of 42. This encodes a 1024 x 1024 image to 24 x 24, while being able to accurately decode the

image. This comes with the great benefit of cheaper training and inference. Furthermore, Stage C is responsible

for generating the small 24 x 24 latents given a text prompt. The following picture shows this visually.

For this release, we are providing two checkpoints for Stage C, two for Stage B and one for Stage A. Stage C comes with

a 1 billion and 3.6 billion parameter version, but we highly recommend using the 3.6 billion version, as most work was

put into its finetuning. The two versions for Stage B amount to 700 million and 1.5 billion parameters. Both achieve

great results, however the 1.5 billion excels at reconstructing small and fine details. Therefore, you will achieve the

best results if you use the larger variant of each. Lastly, Stage A contains 20 million parameters and is fixed due to

its small size.

Evaluation

According to our evaluation, Stable Cascade performs best in both prompt alignment and aesthetic quality in almost all

comparisons. The above picture shows the results from a human evaluation using a mix of parti-prompts (link) and aesthetic prompts. Specifically, Stable Cascade (30 inference steps) was compared against Playground v2 (50 inference

steps), SDXL (50 inference steps), SDXL Turbo (1 inference step) and Würstchen v2 (30 inference steps).

Code Example

⚠️ Important: For the code below to work, you have to install diffusers from this branch while the PR is WIP.

pip install git+https://github.com/kashif/diffusers.git@wuerstchen-v3

import torch

from diffusers import StableCascadeDecoderPipeline, StableCascadePriorPipeline

device = "cuda"

num_images_per_prompt = 2

prior = StableCascadePriorPipeline.from_pretrained("stabilityai/stable-cascade-prior", torch_dtype=torch.bfloat16).to(device)

decoder = StableCascadeDecoderPipeline.from_pretrained("stabilityai/stable-cascade", torch_dtype=torch.float16).to(device)

prompt = "Anthropomorphic cat dressed as a pilot"

negative_prompt = ""

prior_output = prior(

prompt=prompt,

height=1024,

width=1024,

negative_prompt=negative_prompt,

guidance_scale=4.0,

num_images_per_prompt=num_images_per_prompt,

num_inference_steps=20

)

decoder_output = decoder(

image_embeddings=prior_output.image_embeddings.half(),

prompt=prompt,

negative_prompt=negative_prompt,

guidance_scale=0.0,

output_type="pil",

num_inference_steps=10

).images

#Now decoder_output is a list with your PIL images

Uses

Direct Use

The model is intended for research purposes for now. Possible research areas and tasks include

  • Research on generative models.

  • Safe deployment of models which have the potential to generate harmful content.

  • Probing and understanding the limitations and biases of generative models.

  • Generation of artworks and use in design and other artistic processes.

  • Applications in educational or creative tools.

Excluded uses are described below.

Out-of-Scope Use

The model was not trained to be factual or true representations of people or events,

and therefore using the model to generate such content is out-of-scope for the abilities of this model.

The model should not be used in any way that violates Stability AI's Acceptable Use Policy.

Limitations and Bias

Limitations

  • Faces and people in general may not be generated properly.

  • The autoencoding part of the model is lossy.

Recommendations

The model is intended for research purposes only.

How to Get Started with the Model

Check out https://github.com/Stability-AI/StableCascade

Precedente
✨ LazyPositive LazyNegative for ALL illustrious NoobAI Pony SDXL model Lazy Embeddings (Positive and Negative plus more!) - lazydn Pony
Successivo
SilverjowStyle_FLUX - V1

Dettagli del Modello

Tipo di modello

Checkpoint

Modello base

Stable Cascade

Versione del modello

base

Hash del modello

0d28c8562d

Creatore

Discussione

Per favore log in per lasciare un commento.

Immagini di Stable Cascade - base

A fantasy portrait of a woman with honey-blonde hair and emerald eyes, looking upwards with a tear on her cheek, wearing ornate silver earrings and a necklace, illuminated by dramatic chiaroscuro lighting.
Four animated Neo-Victorian heroines in a sunlit attic conservatory, wielding magical sparks, a sword, and an open glowing grimoire, with a steampunk city visible through large arched windows.

Immagini con anime

A confident girl with burgundy hair in greyscale stands under a bridge at night wearing a black crop top, checkered jacket, and denim pants.
Cyberpunk bar interior bathed in violet neon lighting with patrons wearing futuristic helmets and outfits seated at a long bar counter under mechanical piping and glowing screens.
Digital painting of a blonde anime girl with striking blue eyes, wearing a white dress with thin straps, illuminated by soft, warm light in a detailed CGI style.
A beautiful anime girl with blue hair and iridescent eyes wearing a dark blue dress and a jellyfish-themed hat, surrounded by glowing jellyfish in the deep sea.
An elderly father walking alone down a sunlit village alley with reflections and pink petals on wet ground.
Megumin with black hair, red eyes, wearing an off-shoulder red dress, black gloves, and a black witch hat, standing indoors with a soft light background.
Anime girl Onodera Kosaki with dark hair, red ribbon bow, white blouse, and white wing-shaped hairpins with red gems.
Saber from Fate stay night dressed in blue and silver armor with a fur-trimmed cape, holding Excalibur sword with a sparkle background.
Highly detailed anime-style elf girl with silver twintails, green eyes, and a white capelet, surrounded by a field of blue flowers under daylight.
Anime style portrait of a young woman with blue eyes and brown hair, wearing a cobalt blue dress with floral patterns, set against a mosaic floral background in shades of blue.

Immagini con art

A closeup abstract portrait of a face featuring expressive brush strokes, tricolor ink splashes in orange, blue, and black with high contrast and emotional intensity.
A vibrant digital illustration of a mandrill’s head with bold red face, yellow eyes, pink nose and intricate black, white, and red fur patterns on a solid black background.
Sketch art of a large red and black dragon emerging in the rain at night facing a lone figure.
A futuristic cityscape with tall skyscrapers shrouded in fog and glowing orange and blue lights, featuring a large circular floating structure above.
A detailed portrait of a military commander blending Napoleonic era style with cyberpunk elements, dressed in luxurious black and gold uniform, in a smoky urban background.
Detailed portrait of an elven hemomancer woman wearing scarlet robes and hood, with glowing red eyes and intricate golden embroidery, standing in a dark forest cave.
Confident woman wearing black leather bralette and wide-legged pants with bright green platform heels standing against a green wall with dramatic striped shadows.
Minimalist flat vector artwork showing a slender silhouette of a woman walking on a beach at Cap Canaille, Southern France, with a vivid Cote d'Azur seascape and large expressive clouds in the background.
Silhouette of a woman with gold foil dress, standing in a lake with a giant golden moon in the background, set in an Asian landscape.
Interior of a grand opera house featuring ornate architecture and dramatic lighting.

Immagini con modello base

Photorealistic scene of undead characters including zombies and skeletons walking through a spooky Halloween cemetery filled with glowing jack-o'-lantern pumpkins and desiccated trees in a dark, foggy atmosphere.

Immagini con logo

Close-up of a big squid man with orange eyes and striped shirt working as a cashier behind a shop counter filled with instant ramen cups and snacks.
Digital art of D.Va from Overwatch kneeling in a detailed blue and white bodysuit with a handgun, set against a pink and white background with a large close-up of her face.
Black and white graphic of an anime girl standing beside a detailed cyberpunk-style motorcycle, designed as a bold logo.
Steampunk style coffee machine with smiling girl, watercolor sketch.
Pixel art of chibi Shiroko from Blue Archive with a sword on an isometric grid.
A detailed still life with various fruits and lit candles, AI generated using Stable Diffusion.
Vintage style illustration of a muscular man with long flowing hair in a heroic pose surrounded by mystical symbols and ghostly hands, AI generated using stable diffusion.

Immagini con realism

A surreal portrayal of a person's face held by two hands, with one side showing a cracked skull and the other a distressed expression, all in dark, muted tones.
A highly detailed blue watercolor and line-art portrait of a female face with intricate patterns and a serene expression, featuring meditative designs and realism.
Glowing golden One Ring resting on a detailed Middle-earth map with cinematic dramatic lighting and shadows.
Photo of an old village at evening with traditional thatched-roof houses, green trees, and dramatic clouds reflected in a narrow water canal.
Close-up oil painting of a youthful woman wearing an elegant hat adorned with a ribbon, soft curls framing her face, and classic attire, set against a serene outdoor background.
Space traveler in a detailed spaceship cockpit oversees a stunning outer space view with light speed graphics and Earth below in high definition detail.
Female rock singer with short white hair wearing a black leather jacket and gloves, holding a microphone on stage with dramatic lighting and blurred guitarist in background.
Old castle ruins overgrown with trees and moss, sunlight filtering through lush green foliage onto collapsed brick walls and ancient stones.