I Sold My First API Subscription!

Fashion Classification API — Deep Learning

Amir Ali Hashemi
3 min readJul 6, 2022
Image Credit

Motivation 💡

If you are a machine learning enthusiast like me, you might, at some point, start thinking about how you can publicize your AI model and possibly charge people for the service you provide.

Throughout my studies, I have built many models, but I never thought about creating an API for the model and publishing it on RapidAPI, a platform where people can subscribe and use it in their applications. So I decided to try it with my very recent AI model and find out if people are interested in paying for it.

AI Model 🧠

In the past few weeks, I have been working on a new machine learning project that classifies images of fashion products into the appropriate categories. The project was done completely from scratch meaning that the AI model was trained on a dataset that was gathered by me, and not on the overly used popular datasets.

My dataset is to a large extent superior to the ones available because it contains images of human models wearing the corresponding cloth rather than the cloth itself. This allowed me to build a way more realistic and generalized model with relatively higher accuracy (85% accuracy). The image below illustrates the performance of the model.

--

--

Amir Ali Hashemi

I'm an AI student who attempts to find simple explanations for questions and share them with others