Stable Diffusion

Stable Diffusion - AI Image Generation AI工具使用教程与评测

Free

Stable Diffusion is Stability AI's open-source AI image generation model supporting local deployment and cloud API access, backed by the world's most active open-source community ecosystem. Users can freely download model weights for local use, or access via DreamStudio web app or API, with rich features including text-to-image, image-to-image, inpainting, and upscaling.

AI artopen sourcelocal deploymentimage generationtext to imageimg2imginpaintingStable Diffusion
📋

Overview

Stable Diffusion Overview

Stable Diffusion is an open-source AI image generation model developed by Stability AI, which has rapidly become the world's most popular AI art foundation model since its 2022 release. Its defining feature is being fully open-source — users can freely download model weights and run them locally without internet access or subscriptions.

The latest Stable Diffusion 3.5 series includes Large (8B parameters), Large Turbo, Medium, and Flash variants, achieving new heights in image quality and prompt adherence. Stability AI also offers DreamStudio web app and Developer Platform API serving everyone from individual creators to enterprise users.

Core Features

Core Features

  • Text to Image: Generate high-quality images from text descriptions in virtually any artistic style and composition
  • Image to Image: Use a reference image as a base for style transfer or content transformation
  • Inpainting: Use masks to selectively modify specific regions while preserving the rest
  • Outpainting: Seamlessly extend the canvas in any direction with new content
  • Upscaling: Creative Upscaler (4K AI upscale), Conservative Upscaler (faithful upscale), Fast Upscaler (quick 4x)
  • Background Removal: One-click background removal while preserving the foreground subject
  • Background Replace & Relight: Swap backgrounds and adjust lighting to match the subject
  • Style Control: Structure (structural guidance), Sketch (line art guidance), Style Guide (style reference), Style Transfer
  • 3D Generation: Stable Fast 3D generates high-quality 3D assets from a single 2D image
  • Audio Generation: Stable Audio 2 generates up to 3 minutes of high-quality audio from text prompts
  • Local Deployment: Run locally via AUTOMATIC1111, ComfyUI, and other tools
🚀

How to Use

How to Use

Web App (DreamStudio)

  1. Visit dreamstudio.stability.ai
  2. Register — new users receive 25 free credits
  3. Enter your prompt, select model, size, and style parameters
  4. Generate and pay per credit consumed

API Integration

import requests
response = requests.post(
    'https://api.stability.ai/v2beta/stable-image/generate/ultra',
    headers={
        'authorization': 'Bearer YOUR_API_KEY',
        'accept': 'image/*'
    },
    files={'none': ''},
    data={
        'prompt': 'A futuristic cityscape at sunset',
        'output_format': 'webp'
    }
)
with open('output.webp', 'wb') as f:
    f.write(response.content)

Local Deployment

Key Advantages

Key Advantages

  • Fully Open Source: Free model weights, local execution, no privacy concerns, no usage limits
  • Richest Community Ecosystem: World's largest AI art open-source community with tens of thousands of custom models (LoRA, Checkpoints), plugins, and workflows
  • Highly Customizable: Supports LoRA fine-tuning, ControlNet precision control, and custom training for professional creative needs
  • Multimodal Coverage: Image, video, 3D, and audio generation — one platform for diverse creative needs
  • Enterprise-Ready: Self-hosted licensing, enterprise deployment, AWS/Azure cloud platform integration
  • Cost-Effective: Zero marginal cost for local deployment; transparent credit-based API pricing
  • Continuous Innovation: SD 3.5 series pushes boundaries in image quality and prompt understanding
  • Widely Adopted: Used by HubSpot, EA, Lenovo, NVIDIA, Universal Music Group, and more
💰

Pricing

Pricing

Free Options

  • Local Deployment: Downloading open-source model weights is completely free — just provide your own hardware
  • API Free Credits: Register at platform.stability.ai for 25 free credits ($0.25 value)

API Credit Pricing (1 credit = $0.01)

Image Generation

Service Price (credits/image)
Stable Image Ultra (SD 3.5 Large) 8 credits ($0.08)
Stable Diffusion 3.5 Large 6.5 credits ($0.065)
SD 3.5 Large Turbo 4 credits ($0.04)
SD 3.5 Medium 3.5 credits ($0.035)
SD 3.5 Flash 2.5 credits ($0.025)
Stable Image Core 3 credits ($0.03)

Image Editing: 5–8 credits/operation Upscaling: 2–60 credits/operation 3D Generation: 4–10 credits/operation

🛟

Get Help

Support & Resources

📥

Download Client

Download & Access

ℹ️

Other Info

Additional Information

  • Company: Stability AI, London, UK — globally distributed team
  • Model Lineage: SD 1.x → SD 2.x → SDXL → SD 3.0 → SD 3.5 (current)
  • License: SD 3.5 uses Stability AI Community License — commercial use requires annual revenue under $1M or a commercial license purchase
  • Partners: ARM, AWS, Lenovo, Microsoft Azure, NVIDIA, HubSpot, EA, Universal Music Group, Warner Music Group
  • Use Cases: Marketing assets, game assets, film production, e-commerce product images, personal creative work
  • Safety Policy: stability.ai/safety — responsible AI usage guidelines