We all know how strict Dall E is when it comes to Prompts. Let's all be safe and use Open AI's moderation API to check if our prompt is flagged before we use it in Dall E.
- Python installed on your system. Install Python - Quick Tutorial.
- Dall E/Open AI account to get API/Secret key.
Visit: https://beta.openai.com/account/api-keys to get your API/Secret key. You can just click "copy" and then paste it in "api.txt" file.
- Download source code from here.
- Unzip into any desired folder and open CMD in same folder. How to open CMD in same folder.
- Write
pip install -r requirements.txt
in Command Prompt and hit ENTER. - Before running the script, add your API key to "api.txt" file.
- Now to run the script type
python main.py
in CMD and hit ENTER.
This project is under license from MIT. For more details, see the License file.