|
--- |
|
license: other |
|
license_name: stabilityai-ai-community |
|
license_link: >- |
|
https://huggingface.co/stabilityai/stable-diffusion-3.5-large/blob/main/LICENSE.md |
|
library_name: diffusionkit |
|
base_model: stabilityai/stable-diffusion-3.5-large |
|
tags: |
|
- text-to-image |
|
- image-generation |
|
- mlx |
|
inference: false |
|
language: |
|
- en |
|
--- |
|
# Stable Diffusion 3 Medium on DiffusionKit MLX! |
|
## Check out the [original model](https://huggingface.co/stabilityai/stable-diffusion-3.5-large)! |
|
## Check out the [DiffusionKit](https://github.com/argmaxinc/DiffusionKit) github repository! |
|
![SD3 Example Output](./sd3_on_mac_quantized.png) |
|
# Usage |
|
- ## Create conda environment |
|
```shell |
|
conda create -n diffusionkit python=3.11 -y |
|
conda activate diffusionkit |
|
pip install diffusionkit |
|
``` |
|
- ## Run the cli command |
|
```shell |
|
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-4bit-quantized \ |
|
--height 768 \ |
|
--width 1360 \ |
|
--seed 1001 \ |
|
--step 50 \ |
|
--cfg 7 \ |
|
--t5 \ |
|
--output ~/Desktop/sd3_on_mac.png |
|
``` |