Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Stability AI: Stable Diffusion 3 Medium

This model is no longer available.

Add AI to your application with Puter.js.

Explore Other Models

Model Card

Stable Diffusion 3 Medium is a Multimodal Diffusion Transformer (MMDiT) text-to-image model by Stability AI featuring improved image quality, typography, and complex prompt understanding. It uses three pretrained text encoders and was trained on over 1 billion images. The model is optimized for resource efficiency, making it suitable for both consumer hardware and enterprise GPUs.

Cost Per Image $0.0019

per generation

Configuration N/A

resolution

Release Date Jun 12, 2024

 

Code Example

Add AI to your app with the Puter.js AI API, no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.txt2img("A serene mountain landscape at sunset").then(image => {
    document.body.appendChild(image);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2img("A serene mountain landscape at sunset").then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

More AI Models From Stability AI

Find other Stability AI models

Image

Stable Diffusion 3.5 Medium

Stable Diffusion 3.5 Medium is the smallest model in Stability AI's SD 3.5 family, built on an improved MMDiT-X architecture with 2.5 billion parameters, roughly a third the size of SD 3.5 Large. Stability AI positions it as outperforming other medium-sized image models, and it supports a wider range of output resolutions, from 0.25 to 2 megapixels, than the fixed 1-megapixel target of Large. It sits between Large and Large Turbo on the quality-speed-cost curve, less detailed and prompt-adherent than Large, but cheaper to call through the API and still capable of the typography and complex-prompt handling introduced across the SD 3.5 lineup. It fits applications generating high volumes of images where Large's extra fidelity isn't worth the added cost.

Image

Stable Diffusion 3.5 Large

Stable Diffusion 3.5 Large is Stability AI's flagship image model in the SD 3.5 family, built on a Multimodal Diffusion Transformer (MMDiT) architecture with 8.1 billion parameters. It combines three text encoders, OpenCLIP-ViT/G, CLIP-ViT/L, and T5-XXL, with QK-normalization for more stable training. Stability AI describes it as leading the market in prompt adherence and rivaling larger models in image quality, generating images up to 1 megapixel (1024x1024) with improved typography and complex-prompt understanding over the earlier SD3 Medium. Within the SD 3.5 lineup, Large is the highest-quality but slowest option, compared with the faster Large Turbo and the smaller, more resource-efficient Medium. It fits professional design work, marketing content, and any use case where prompt fidelity and image detail matter more than generation speed.

Image

Stable Diffusion 3.5 Large Turbo

Stable Diffusion 3.5 Large Turbo is a distilled version of Stable Diffusion 3.5 Large, built to generate images in as few as four inference steps instead of the dozens a standard diffusion model needs. It keeps the same 8-billion-parameter MMDiT architecture and multi-encoder text understanding as Large, compressed for speed through step distillation. Stability AI markets it as one of the fastest inference options for a model of its size while staying competitive on quality and prompt adherence, trading some of Large's fidelity for lower latency. It targets applications where response time matters, such as interactive tools, rapid prototyping, or high-volume generation, and it costs less per image than Large through this API, making it a reasonable default when fast turnaround matters more than maximum detail.

Frequently Asked Questions

How do I use Stable Diffusion 3 Medium?

Stable Diffusion 3 Medium is no longer available through Puter.js. Explore other AI models for alternatives.

What is the pricing for Stable Diffusion 3 Medium?
Stable Diffusion 3 Medium costs $0.0019 per image.
Price
Per image$0.0019
Who created Stable Diffusion 3 Medium?

Stable Diffusion 3 Medium was created by Stability AI and released on Jun 12, 2024.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Stable Diffusion 3 Medium API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add AI to your application without worrying about API keys or setup.

Explore Models View Tutorials