AI & ML API Playground

Learn how to build a tiny machine learning model in Python, wrap it in a FastAPI service, and talk to it using requests. Bright colors, friendly icons, and a dash of 3D magic included ✨

Start the Adventure

Press Magic! to launch confetti, then follow the steps. You’ll read APIs, train a tiny model, and serve predictions. Sweet and simple.

Robot emoji Rocket emoji Brain emoji
Cute AI collage
coding laptop robot

Colorful Steps

Train a Mini Model

Click retrain to regenerate accuracy per epoch—imagine your model learning each round.

Fake Prediction Demo

Pretend your API is live. Click Predict to get class probabilities for Cat, Dog, Rocket, Robot.

Python: requests
Train: scikit-learn
Serve: FastAPI