An easy-to-use, extensible, and customizable tool for generating NFTs.
- Python 3.7 or newer
- Pillow (PIL)
- Progress
- NumPy
traits.pyfile with your defined traits, layers for each trait and each layer's weight in the form of:NOTE: The only required trait istraitList = ["background", "body", "shirt"...] background = ["Black And White", "Green And Blue"] background_weights = [50, 50]... # must add up to 100backgroundwhich will be used as the base for the token images.assetsfolder with all the possible layers for each trait in the form of:assets > background > BlackAndWhite.png...
NOTE: Folder and file names must match exactly with thetraitsfile, aside from spaces in trait option names, which will be removed.
- Complete setup section (above)
- Run
pip install -r requirements.txt - Run
python3 generate.py