Back to Developer Hub

AI Photo Tagging

Uwekaji Alama kwa Picha za AI

Powered by Gemini 1.5 Flash, our AI automatically analyzes property photos and generates descriptive tags in both English and Swahili. No manual labeling needed — just upload your images.

How It Works

1

Upload Images

Include image URLs in your bulk listing upload or upload via the dashboard

2

AI Analysis

Gemini 1.5 Flash processes each image in under 2 seconds

3

Get Tags

Receive structured tags, descriptions, and room-type classification

Bilingual Output

Tags and descriptions generated in both English and Swahili simultaneously

Room Detection

Automatically identifies room types: bedroom, kitchen, bathroom, living room, exterior

SEO-Optimized

Generated tags improve listing discoverability in search results

Quality Scoring

AI rates image quality and suggests improvements for low-quality photos

Response Format

json
// AI-generated tags are returned with each listing
{
  "listing_id": "a1b2c3d4-...",
  "images": [
    {
      "url": "https://cdn.makazi.io/listings/img1.jpg",
      "ai_tags": {
        "en": ["spacious living room", "modern kitchen",
               "hardwood floors", "natural lighting"],
        "sw": ["sebule kubwa", "jiko la kisasa",
               "sakafu ya mbao", "mwanga wa asili"]
      },
      "ai_description": {
        "en": "A bright, modern living room with open-plan kitchen...",
        "sw": "Sebule nyangavu ya kisasa yenye jiko wazi..."
      },
      "room_type": "living_room",
      "confidence": 0.94
    }
  ]
}

Supported Room Types

living_roombedroomkitchenbathroombalconyexteriorparkingpoolgardenrooftopofficestorage