WebAI Studio
Back to Demos

Mystery Language

Text Input

Guess which language the snippet is written in — then see if you beat the Language Detector's confidence-ranked answer.

Why On-Device?

A trivia game that doubles as an API showcase: ranked detections with confidences, revealed instantly and offline — plus a translation of what the snippet actually says.

Interactive Demo

Language Detector: Loading...
0
You
vs
0
Detector
0/8
Round

Implementation Code

demo.js