- Current stable version: 1.14.6
- Minimum JDK version: 1.6
This SDK provides two sets of APIs for image search and product discovery:
| API | Dashboard | Description |
|---|---|---|
| ViSearch | dashboard.visenze.com | Legacy image search API. Index images and search by image, color, or metadata. |
| Product Search | ms.console.rezolve.com | Modern product discovery API with catalog-level aggregation, recommendations, and visual analytics. |
Add the dependency for your build tool. Replace the version with the latest available.
Maven (pom.xml):
<dependency>
<groupId>com.visenze</groupId>
<artifactId>visearch-java-sdk</artifactId>
<version>1.14.6</version>
</dependency>Gradle (build.gradle):
compile 'com.visenze:visearch-java-sdk:1.14.6'SBT (build.sbt):
libraryDependencies += "com.visenze" % "visearch-java-sdk" % "1.14.6"// Default endpoint
ViSearch client = new ViSearch("access_key", "secret_key");
// Custom endpoint
ViSearch client = new ViSearch("https://custom-visearch.yourdomain.com", "access_key", "secret_key");For full documentation see docs/visearch-api.md.
// Basic
ProductSearch api = new ProductSearch.Builder(APP_KEY, PLACEMENT_ID).build();
// Custom endpoint (e.g. Azure region endpoint for Azure apps)
ProductSearch api = new ProductSearch.Builder(APP_KEY, PLACEMENT_ID)
.setApiEndPoint("https://multimodal.search.rezolve.com")
.build();APP_KEY and PLACEMENT_ID can be found in the Rezolve Console under your app's Integration section.
For full documentation see docs/product-search-api.md.