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.
- Host: GitHub
- URL: https://github.com/zahidkhawaja/nft-classifier-backend
- Owner: zahidkhawaja
- Created: 2022-05-05T17:00:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T18:23:49.000Z (almost 4 years ago)
- Last Synced: 2025-02-26T05:41:22.928Z (over 1 year ago)
- Topics: flask, machine-learning, python
- Language: Python
- Homepage: https://nft-classifier.herokuapp.com/status
- Size: 122 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)