---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Code examples](/recipes)
3.  E-commerce Catalog Enrichment

Back to code examples

Enhanced

# E-commerce Catalog Enrichment

Automatically enrich product listings with visual attributes, descriptions, and tags extracted from product images. Fill in missing catalog data at scale.

image

text

Multi-Tier

[Run in Builder](/build?recipe=ecommerce-catalog-enrichment)

Python

cURL

from mixpeek import Mixpeek

client \= Mixpeek(api\_key\="YOUR\_API\_KEY", namespace\="catalog")

\# 1. A bucket for product photos, and a collection whose Gemini step writes a

\#    caption, colors, visible objects and packaging text per photo

bucket \= client.buckets.create(

    bucket\_name\="products",

    bucket\_schema\={"properties": {"photo": {"type": "image"}}},

)

collection \= client.collections.create(

    collection\_name\="products",

    source\={"type": "bucket", "bucket\_ids": \[bucket\["bucket\_id"\]\]},

    feature\_extractor\={

        "feature\_extractor\_name": "multimodal\_extractor",

        "version": "v1",

        "parameters": {

            "run\_video\_description": True,

            "description\_prompt": "Describe this product for a catalog listing.",

            "response\_shape": {

                "type": "object",

                "properties": {

                    "caption": {"type": "string"},

                    "colors": {"type": "array", "items": {"type": "string"}},

                    "objects": {"type": "array", "items": {"type": "string"}},

                    "packaging\_text": {"type": "string"},

                },

            },

        },

    },

)

\# 2. Upload and process

client.buckets.upload(

    bucket\["bucket\_id"\],

    blobs\=\[{"property": "photo", "type": "image", "data": "s3://your-bucket/product-images/IMG\_0001.jpg"}\],

)

client.collections.trigger(collection\["collection\_id"\])

\# 3. Read the enriched attributes

docs \= client.documents.list(collection\["collection\_id"\], page\_size\=50)

for doc in docs\["results"\]:

    attrs \= doc.get("json\_output") or {}

    print(attrs.get("caption"), attrs.get("colors"), attrs.get("objects"))

### Feature Extractors

Multimodal Extractor

Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.

### Retriever Stages

## Frequently asked questions

### What attributes are extracted from product images?

Colors, materials, patterns, objects, text/labels, brand logos, and auto-generated descriptions.

### Can I use this to generate product descriptions?

Yes. The image captioning extractor generates natural-language descriptions that can be used as product copy or starting points for copywriters.

### How do I handle products with multiple images?

Upload all images for each product. Mixpeek tracks lineage and can aggregate attributes across multiple views of the same product.

## Use Cases Using This Recipe

Beginner

### Visual Product Search for E-commerce

Let shoppers find products by uploading a photo instead of typing keywords

+30% for visual search queries

Search-to-cart conversion rate

[

ecommerce

](/solutions/ecommerce)

Who It's For

E-commerce platforms, online retailers, and marketplace operators managing catalogs of 50K+ SKUs who want to offer camera-based product discovery

[View Details](/use-cases/visual-product-search)

Beginner

### Visual Search for Retail

Bridge the gap between in-store inspiration and online purchase

+35% higher than text search

In-app visual search conversion

[

ecommerce

](/solutions/ecommerce)

Who It's For

Omnichannel retailers, retail apps, and brands with physical and digital presence looking to connect in-store browsing with online purchasing

[View Details](/use-cases/visual-search-retail)

Intermediate

### AI Catalog Search for Marketplaces

Help buyers find exactly what they need across millions of multi-vendor listings

+40% over keyword baseline

Search relevance (NDCG@10)

[

ecommerce

](/solutions/ecommerce)

Who It's For

Online marketplace operators, B2B procurement platforms, and multi-vendor catalog aggregators managing 1M+ listings from thousands of sellers with inconsistent product data

[View Details](/use-cases/ai-catalog-search-marketplace)

## Related code examples and resources

Pages on the same stages, extractors and patterns.

[

Extractor

### Multimodal Extractor

Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.

Learn more





](/extractors/multimodal)[

Recipe

### Visual Product Search

Enable camera-based product discovery for e-commerce. Customers snap a photo of a product they like, and the pipeline returns visually similar items from your catalog along with pricing, availability, and product metadata.

Learn more





](/recipes/visual-product-search)[

Recipe

### AI-Powered Catalog Search

Replace keyword-based catalog search with AI-powered semantic and visual search. Understands natural language queries like "lightweight summer dress under $50" and combines text understanding with visual similarity for comprehensive product discovery.

Learn more





](/recipes/ai-catalog-search)[

Extractor

### Image Embedding

Generate visual embeddings for similarity search and clustering

Learn more





](/extractors/image)[

Extractor

### Face Identity Extractor

Detect, align, and embed faces to 512-D ArcFace vectors across image, video and PDF, using SCRFD for detection.

Learn more





](/extractors/face-identity)[

Recipe

### AI Content Moderation Pipeline

Automatically detect unsafe content across images, videos, and text. Flag NSFW material, violence, hate speech, and custom policy violations.

Learn more





](/recipes/content-moderation-pipeline)