An open API service indexing awesome lists of open source software.

https://github.com/zahidkhawaja/nft-classifier-backend

Flask backend API for NFT Classifier app. Deployed the ML model to Heroku.
https://github.com/zahidkhawaja/nft-classifier-backend

flask machine-learning python

Last synced: 2 months ago
JSON representation

Flask backend API for NFT Classifier app. Deployed the ML model to Heroku.

Awesome Lists containing this project

README

          

# Backend API - NFT Classifier App

This API was built using Flask. It uses a classification ML model I trained to identify these popular NFTs on OpenSea: CryptoPunks, Bored Ape Yacht Club, Mutant Ape Yacht Club, Cool Cats, and mfers. More NFTs will be supported soon!

Note: this was deployed on Heroku's free plan, so the first API call might be delayed if the server has to wake back up. Subsequent calls should be fast. Stay tuned for updates.

## API endpoints:

### GET /status

Returns a 200 OK to confirm server is running.

### POST /classify

Return a 200 OK with the NFT classification result, as long as the image format is valid (.jpg, .jpeg, .png).

## Frontend
Here's the code for the [frontend](https://github.com/zahidkhawaja/NFT-Classifier)