This Python script generates a QR code using the AIHorde API. It allows you to input a URL and a prompt for generating a scannable QR code image.
Prompt:
stars, nebula, space, high quality, detailed
(https://discord.dreamdiffusion.net/)
Before running the script, ensure you have the following installed:
- Python 3.x
- The necessary Python packages listed in
requirements.txt
Alternatively, you can use the provided Windows binary packaged with PyInstaller in the releases section. This binary eliminates the need to install Python and allows for faster generations with the AIHorde using a shared key instead of using the slower anonymous key found in-source: 0000000000
-
Clone the repository:
git clone https://github.com/CozmycDev/AI-QRCodeGenerator.git
-
Navigate to the project directory:
cd AI-QRCodeGenerator
-
Install the required Python packages:
pip install -r requirements.txt
Run the script main.py
:
python main.py
The script will prompt you to enter a URL and an image prompt. After generating the QR code, it will display the URL to the generated image.
The image generation is provided by crowdsourced compute a la AIHorde.
Contributions are welcome! If you find any issues or have suggestions for improvement, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.