Mixpeek Logo
    data

    Image
    Categories
    Converter

    Classify images into hierarchical category taxonomies using a vision-language model. Supports standard taxonomies like IAB Content Taxonomy, Google Product Categories, and custom category trees with multi-label classification and confidence scoring.

    Max file size: 50 MB
    Estimated: 1-4 sec per image
    5 input formats

    How It Works

    1

    Upload an image or provide a URL to the Mixpeek API.

    2

    A vision-language model analyzes the image content and composition.

    3

    The image is scored against each category in your selected taxonomy.

    4

    Multi-label classification assigns all relevant categories above the confidence threshold.

    5

    Hierarchical category paths are returned with confidence scores at each level.

    Code Examples

    from mixpeek import Mixpeek
    client = Mixpeek(api_key="YOUR_API_KEY")
    result = client.convert(
    source="https://example.com/product-photo.jpg",
    from_format="image",
    to_format="categories",
    options={
    "taxonomy": "google-product-categories",
    "max_categories": 5,
    "min_confidence": 0.3,
    "include_hierarchy": True
    }
    )
    for category in result.categories:
    print(f"{category.path} ({category.confidence:.2f})")

    Use Cases

    Classify product images into Google Product Categories for shopping feeds
    Categorize user-uploaded photos for content recommendation engines
    Map stock photography to IAB categories for programmatic ad targeting
    Organize medical images into diagnostic category hierarchies

    Supported Input Formats

    JPEG
    PNG
    WebP
    TIFF
    BMP

    Quick Info

    Categorydata
    Max File Size50 MB
    Est. Time1-4 sec per image

    Try This Conversion

    Get started with the Mixpeek API and convert your first file in minutes.

    Frequently Asked Questions

    Ready to convert image to categories?

    Start using the Mixpeek Image to Categories in minutes. Sign up for a free API key and follow the documentation to get started.