paralaif/MagicPrompt-Stable-Diffusion-ONNX
By paralaif · ↓ 3 · ♥ 0 · Updated 2025-12-10
What's in this repo
This page lists the files in paralaif/MagicPrompt-Stable-Diffusion-ONNX, including model.onnx, model_bnb4.onnx, model_fp16.onnx and more.
- 8 ONNX models (.onnx files)
- 18 files, including 8 .onnx, 7 .json, 1 .md, 1 .txt
- Last updated 2025-12-10
ONNX files
| File | Size | Download |
|---|---|---|
| onnx/model.onnx | — | Download |
| onnx/model_bnb4.onnx | — | Download |
| onnx/model_fp16.onnx | — | Download |
| onnx/model_int8.onnx | — | Download |
| onnx/model_q4.onnx | — | Download |
| onnx/model_q4f16.onnx | — | Download |
| onnx/model_quantized.onnx | — | Download |
| onnx/model_uint8.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
MagicPrompt-Stable-Diffusion (ONNX)
This is an ONNX version of Gustavosta/MagicPrompt-Stable-Diffusion. It was automatically converted and uploaded using this Hugging Face Space.
Usage with Transformers.js
See the pipeline documentation for text-generation: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.TextGenerationPipeline
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! :)
Model info
Created: 2025-12-10
Updated: 2025-12-10
View on Hugging FaceFiles (18)
Related models
More from paralaif
No other models by this author.