On-device AI Models for Android and Kotlin
Kotlin libraries that run models on device across Android and the JVM, on LiteRT and ONNX Runtime.
The Kotlin packages run on Android and the JVM. All publish to Maven Central under the `ai.desertant` namespace. Bundled models keep everything on the device, with no network call at runtime.
Add the dependency and call the model from Kotlin or Java. You get the same models and the same answers as on Apple and the web, native to Android.
Available models
Reversible PII redaction across 27 languages, from a LiteRT model bundled for Android and the JVM.
Emoji suggestions from text in 22 languages, on device via LiteRT.
Content topics from any text across 101 languages, on device via LiteRT.
Single-stroke shape recognition for Android canvases and Compose.
Speech enhancement on Android through LiteRT.
Language identification for short text across 84 languages, from a 2MB model bundled in the jar.
Spoken language identification across 99 languages from 30 seconds of audio, on LiteRT.
Pricing
Every model is free up to 100k monthly active devices per SDK. Unlimited inference per user.