🚀 Stable Diffusion 3.5 Large on DiffusionKit MLX!
本項目基於DiffusionKit MLX實現了Stable Diffusion 3.5 Large模型,可用於文本到圖像的生成。用戶能借助它輕鬆創建出高質量的圖像。
🚀 快速開始
環境準備
首先,你需要創建一個Conda環境並安裝diffusionkit
庫。以下是具體的操作步驟:
conda create -n diffusionkit python=3.11 -y
conda activate diffusionkit
pip install diffusionkit
運行命令行工具
環境準備好後,你可以使用diffusionkit-cli
命令來生成圖像。以下是一個示例命令:
diffusionkit-cli --prompt "detailed cinematic dof render of a \
detailed MacBook Pro on a wooden desk in a dim room with items \
around, messy dirty room. On the screen are the letters 'SD3 on \
DiffusionKit' glowing softly. High detail hard surface render" \
--model-version argmaxinc/mlx-stable-diffusion-3.5-large \
--height 768 \
--width 1360 \
--seed 1001 \
--step 50 \
--cfg 7 \
--t5 \
--output ~/Desktop/sd3_on_mac.png
📦 安裝指南
創建Conda環境
conda create -n diffusionkit python=3.11 -y
conda activate diffusionkit
pip install diffusionkit
💻 使用示例
基礎用法
運行以下命令,根據指定的提示詞生成圖像:
diffusionkit-cli --prompt "detailed cinematic dof render of a \
detailed MacBook Pro on a wooden desk in a dim room with items \
around, messy dirty room. On the screen are the letters 'SD3 on \
DiffusionKit' glowing softly. High detail hard surface render" \
--model-version argmaxinc/mlx-stable-diffusion-3.5-large \
--height 768 \
--width 1360 \
--seed 1001 \
--step 50 \
--cfg 7 \
--t5 \
--output ~/Desktop/sd3_on_mac.png
📄 許可證
本項目使用的許可證為stabilityai-ai-community。
更多信息

屬性 |
詳情 |
庫名稱 |
diffusionkit |
基礎模型 |
stabilityai/stable-diffusion-3.5-large |
標籤 |
text-to-image、image-generation、mlx |
推理 |
false |
語言 |
en |