This is a demonstation of using Google's Teachable Machine with node.js
It use nest js as the app framework.
It is a rest API for getting a prediction based on a image model created with Teachable Machine.
The API exposes two endpoints:
npm install
.env
file with your modelnpm start
/predict
Usage with Postman:
Response:
Usage with CURL:
curl -v -F "[email protected]" http://localhost:3000/predict