Skip to main content
Channel3 supports visual search by image URL or base64 upload.

Search by image URL

Pass any publicly accessible image URL to find visually matching products.
import Channel3 from "@channel3/sdk";

const client = new Channel3();

const results = await client.products.search({
  image_url: "https://example.com/images/blue-couch.jpg",
});

console.log(results.products[0].title);

Search by base64 image

Upload an image directly as a base64 string — no public URL required. Great for in-app camera flows or screenshots.
import fs from "node:fs";
import Channel3 from "@channel3/sdk";

const client = new Channel3();

const b64 = fs.readFileSync("shoe.jpg").toString("base64");
const results = await client.products.search({ base64_image: b64 });

console.log(results.products[0].title);