Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.3 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.3 KB

Generative-NFT

Generate Unique Images based on Rarity

A python based library to help you create unique generative images based on Rarity for your next NFT Project ⭐️.

How to use

  • Install the dependencies using pip -r requirements.txt
  • Place all your layers in the layers folder. Make folders for each traits and add images inside it. For example: layers
    ├── body
    |    |─── body.png
    ├── clothes                    
    │   ├── red-top.png          
    │   ├── blue-shirt.png         
    │   └── green-top.png                
    └── ...
    
    
  • Edit the traits in main.py. Create Variant under each trait and add their respective rarity (0<= && <=1)
  • Edit the count in main to the number of Unique NFT you want to generate.
  • Edit minimumDifference if needed, this is the number of minimum difference in Traits each NFT will have to ensure complete uniqueness. Make sure you don't keep this very high which would end up in a very slow process/infinite loop.
  • That's it! Run the main.py and wait for the images to be created.

Loved the project?

Buy Me A Coffee