prompt_gen
1.0.0
This project is an AI Prompt Generator that creates prompts for Midjourney v6 image generation and Udio music generation using the Anthropic API. It includes a command-line interface for generating prompts and a Flask web application for viewing the outputs.
app.py: Flask web application for viewing generated promptsmain.py: Command-line interface for generating promptsprompts/: Directory containing prompt templates
midjourney.txt: Template for Midjourney v6 promptsudio.txt: Template for Udio music promptsoutputs/: Directory where generated prompts are storedtemplates/: HTML templates for the web applicationInstall required dependencies:
pip install flask anthropic termcolor python-dotenv
Set up your Anthropic API key in a .env file:
ANTHROPIC_API_KEY=your_api_key_here
Run the prompt generator:
python main.py
Run the Flask web application:
python app.py
Access the web interface at http://127.0.0.1:5000
Key parameters:
Key features:
Contributions are welcome! Please submit pull requests or open issues for any bugs or feature requests.