This is a repo for generating metadata dynamically based on rarity. It is setup for the Solana blockchain.
Video tutorial:
https://twitter.com/boobs_scary/status/1740702201620877729
Simply Fill the directory with the pngs you want to sample from, And then edit script.py with your own .png files and desired rarities.
The script will generate the JSON, png, and log the results for you to verify.
Ex.
python script.py
sonic.png: 100 NFTs created
tails.png: 100 NFTs created
knuckles.png: 100 NFTs created
amy.png: 75 NFTs created
big.png: 50 NFTs created
shadow.png: 50 NFTs created
eggman.png: 20 NFTs created
metalsonic.png: 5 NFTs created