Stability AI SDXL 1.0,HF 月下載 224 萬次,6.6B 參數,1024×1024 高解析度輸出,社群最廣泛使用的圖像生成基礎模型。
節點式工作流編輯器,支援 LoRA、ControlNet 和進階管線。
# 1. Install ComfyUI git clone https://github.com/comfyanonymous/ComfyUI cd ComfyUI && pip install -r requirements.txt # 2. Download model to models/checkpoints/ # 3. Run: python main.py
新手友好的 Web UI,支援大量擴充插件。
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui cd stable-diffusion-webui # Place model in models/Stable-diffusion/ bash webui.sh
適合自訂管線和程式化圖像生成的 Python API。
pip install diffusers transformers accelerate
python -c "
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained('https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0')
pipe = pipe.to('cuda')
image = pipe('a photo of a cat').images[0]
image.save('output.png')"Stable Diffusion XL 1.0 是一個開源圖像生成,擁有 6.6B 參數,採用 CreativeML OpenRAIL++-M 授權。可使用 ComfyUI、Automatic1111、Diffusers 進行部署。適用場景包括:生成逼真的藝術作品、產品設計圖或廣告素材,滿足專業視覺內容需求。、為遊戲開發、虛擬實境或元宇宙應用創造多樣化的場景與角色圖像。。核心優勢:高品質圖像、高解析度輸出、廣泛應用、社群熱門。 可在本地硬體上自行部署,完全保護隱私,無需 API 金鑰。
分享你的使用體驗,幫助其他人了解這個模型