https://github.com/kaludii/stable-diffusion-prompt-generator
Created for this model trained by Gustavosta for Stable Diffusion to create a prompt from a few words. You can submit your own text or select from provided examples.
https://github.com/kaludii/stable-diffusion-prompt-generator
ai machine-learning model prompt prompt-creator stable-diffusion streamlit trained
Last synced: about 1 year ago
JSON representation
Created for this model trained by Gustavosta for Stable Diffusion to create a prompt from a few words. You can submit your own text or select from provided examples.
- Host: GitHub
- URL: https://github.com/kaludii/stable-diffusion-prompt-generator
- Owner: Kaludii
- Created: 2023-02-13T17:20:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T21:55:36.000Z (over 3 years ago)
- Last Synced: 2025-04-10T22:53:55.756Z (about 1 year ago)
- Topics: ai, machine-learning, model, prompt, prompt-creator, stable-diffusion, streamlit, trained
- Language: Python
- Homepage: https://huggingface.co/spaces/Kaludi/Stable-Diffusion-Prompt-Generator_App
- Size: 61.5 KB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stable Diffusion Prompt Creator
Created for [this](https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion) model trained by Gustavosta for Stable Diffusion to create a prompt from a few words. You can submit your own text or select from provided examples.
# Web App
Click [Here](https://huggingface.co/spaces/Kaludi/Stable-Diffusion-Prompt-Generator_App "Here") To View This App Online!

## Features
- Generate prompts based on a starting text entered by the user
- Uses a pre-trained language model to generate the prompt
- Option to select examples or enter own starting text
## Usage
To use the app, enter a starting text in the input field or select an example from the provided examples. Then click on the "Generate" button to generate a prompt based on the starting text.
## Technical details
The app uses Streamlit for the user interface and the Hugging Face Transformers library to access the pre-trained language model. The model is a GPT-2 language model trained for Stable Diffusion.
## Requirements
- Python 3.6 or higher
- Streamlit
- Transformers (Hugging Face)
## Installation
1. Clone the repository:
`git clone https://github.com/Kaludii/Stable-Diffusion-Prompt-Generator.git`
2. Install the required packages:
`pip install streamlit transformers`
3. Run the app:
`streamlit run app.py`