Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:# Run inference directly in the terminal:
llama-cli -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:# Run inference directly in the terminal:
./llama-cli -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:# Run inference directly in the terminal:
./build/bin/llama-cli -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Use Docker
docker model run hf.co/QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:QuantFactory/MagicPrompt-Stable-Diffusion-GGUF
This is quantized version of Gustavosta/MagicPrompt-Stable-Diffusion created using llama.cpp
Original Model Card
MagicPrompt - Stable Diffusion
This is a model from the MagicPrompt series of models, which are GPT-2 models intended to generate prompt texts for imaging AIs, in this case: Stable Diffusion.
๐ผ๏ธ Here's an example:
This model was trained with 150,000 steps and a set of about 80,000 data filtered and extracted from the image finder for Stable Diffusion: "Lexica.art". It was a little difficult to extract the data, since the search engine still doesn't have a public API without being protected by cloudflare, but if you want to take a look at the original dataset, you can have a look here: datasets/Gustavosta/Stable-Diffusion-Prompts.
If you want to test the model with a demo, you can go to: "spaces/Gustavosta/MagicPrompt-Stable-Diffusion".
๐ป You can see other MagicPrompt models:
- For Dall-E 2: Gustavosta/MagicPrompt-Dalle
- For Midjourney: Gustavosta/MagicPrompt-Midourney [โ ๏ธ In progress]
- MagicPrompt full: Gustavosta/MagicPrompt [โ ๏ธ In progress]
โ๏ธ Licence:
When using this model, please credit: Gustavosta
Thanks for reading this far! :)
- Downloads last month
- 169
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:# Run inference directly in the terminal: llama-cli -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF: