Practical overview
When it fits
Use Onyx when an Android app needs image or video tags to inform its own content handling. The documented image input is a URL; the video input is a byte array.
Who it is for
- Android developers adding image-content tagging to an app.
- Developers building video-tagging flows that can provide video data as a byte array.
- Teams implementing app-specific content rules, such as restrictions for child-focused apps.
Documented uses
- Retrieve tags for an image supplied by URL.
- Retrieve tags and probabilities for an image.
- Retrieve tags for video supplied as a byte array.
- Use recognition results as input to an app's own allow-or-block decision.
Requirements & limits
- The README lists Java as the project language and requires a minimum Android API level of 7.
- Dependency coordinates are provided for Gradle, Maven and Ivy at version 1.1.4.
- The README identifies Clarifai as the visual recognition technology behind the library.
- The repository is licensed under Apache-2.0.
- The README warns that the default develop branch is under maintenance and some features may not work as expected.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Request image tags in an Android app
Use an image URL with Onyx to receive content tags or tags with probabilities.
Before you start
- An Android project using Java
- Onyx dependency version 1.1.4, added with Gradle, Maven or Ivy
- An image URL
Steps
Add the Onyx dependency using the coordinate for your chosen build tool.
Create an Onyx request with an Android Context and the image URL.
Call getTagsfromApi() to receive tags, or getTagsandProbability() to receive tags with probabilities, in the completion callback.
Expected outcome
The callback receives an ArrayList of tags, or tag-and-probability values when using the probability method.
Guide limitations
- The README says the default develop branch is under maintenance and some features may not work as expected.
Request tags from video bytes
Pass a video byte array to Onyx and retrieve tags, optionally with probabilities.
Before you start
- An Android project using Java
- Onyx dependency version 1.1.4
- Video data converted to a byte array
Steps
Convert the video into a byte array.
Pass the array to Onyx using fromVideoArray().
Call getTagsfromApi() for tags or getTagsandProbability() for tags with probabilities, and handle the response in the completion callback.
Expected outcome
The callback receives video content tags, with probabilities when the probability method is used.
Guide limitations
- The README says the default develop branch is under maintenance and some features may not work as expected.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- hanuor/onyx · Official homepage title · retained in its source language

