Skip to content

A generative art library for NFT avatar and collectible projects.

License

Notifications You must be signed in to change notification settings

osmo-support-lab/generative-ozzy-art

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generative Ozzy Art

Introduction

The generative-ozzy-art repository is a library for creating generative art, based upon the original repository for Scrappy Squirrels. It was originally developed by Rounak Banik for the purpose of creating NFT avatar & collectible projects.

Features

Generate over a million distinct images with less than 60 traits

The library allows you to generate images every distinct possible combination of your traits. For context, if you had trait art for a project like Bored Apes, the library could generate upwards of 1.2 billion distinct apes.

Add rarity weights

The library also allows you to configure the image generation process in such a way that you have complete control over how rare each and every trait is.

Generate compliant JSON metadata for your NFTs

There is now an added functionality to generate JSON metadata for your NFTs that are in compliance with OpenSea metadata requirements (and by extension, the general NFT metadata standard).

Fuzzy friendly

This library can be used even if you do not know how to program (in Python or otherwise). THe original repository author put out a Tutorial for more details on how to use (non-technical) and extend (technical) the library.

Installation

These instructions assume you already have at least Python 3 and Git installed for your respective system.

Clone this repository

git clone https://github.com/osmo-support-lab/generative-ozzy-art.git

Create the Virtual Environment

Make sure you are in the main directory for the repository.

cd <path>/<to>/generative-ozzy-art

The following command creates a virtual environment where all packages and python requirements can exist without needing to be installed globally. NOTE: On some operating systems you might need to replace python with python3.

python -m venv venv

Activate the Venv (Virtual Environment)

In order to properly utilize the environment, you must "Activate" it. This means that your shell will direct all commands to take place within the venv file.

Linux/MacOS:

source venv/bin/activate

On Windows (cmd.exe):

venv\Scripts\activate.bat

On Windows (Powershell):

venv\Scripts\Activate.ps1

Install the required packages

pip install Pillow pandas progressbar2

Add Assets/Information

Place your assets in logically named folders within assets, and ensure you update config.py to match.

Make those NFTs

Run python nft.py in the repository folder.

Make Metadata

In order to generate JSON metadata, define BASE_NAME, BASE_IMAGE_URL, and BASE_JSON in metadata.py.

Then run python metadata.py.

About

A generative art library for NFT avatar and collectible projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%