Skip to content

A python based library to help you create unique generative NFT's.

Notifications You must be signed in to change notification settings

kaybhutani/generative-nft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A python based library to help you create unique generative NFT's.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages