This script generates NFT art based on its desired traits with their specific rarities. It has been used to generate the full collection of Rude Golems.
The intention behind this is simply the authentication of this project but also a way for new projects to easily create their own NFT collection without any coding experience.
- NFT generation with unlimited amount of traits
- Quantity and rarity of each trait taken into account
- Removal of duplicates while generating
- Metadata creation for instant Candy Machine use
Ensure you have Python installed
Install PIP if you haven’t yet
pip install pillow
- Clone the repository or download the .zip. Example:
git clone [email protected]:RudeGolems/nft-generator.git
- Paste all your traits in the
- Open main.py
- Insert your trait file names in the lists or create/remove lists (make sure to edit code after that)
- Fill out the rarities json object with quantity and rarity (1 is 100%, 0.5 is 50%…)
- Go to the bottom and edit the metadata to your liking
- Run the script. Example:
cd nft-generator python main.py
More information regarding all this you find in the code. You should understand it better there.