# Match a pizza photo to a 2-item menu (quick demo)

**Use case:** 

Minimal working example: matches a Margherita pizza photo to a 2-item menu, returns {photoUrl, dishName, matched}. Add your own Gemini API key to run.

## Input

```json
{
  "menuItems": [
    {
      "name": "Margherita Pizza",
      "category": "Pizza",
      "description": "Tomato, mozzarella and basil"
    },
    {
      "name": "Tiramisu",
      "category": "Dessert"
    }
  ],
  "photoUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Eq_it-na_pizza-margherita_sep2005_sml.jpg/960px-Eq_it-na_pizza-margherita_sep2005_sml.jpg"
  ],
  "geminiModel": "gemini-3.1-flash-lite",
  "maxPhotos": 27,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "photoUrl": {
    "label": "Photo URL",
    "format": "string"
  },
  "dishName": {
    "label": "Matched dish",
    "format": "string"
  },
  "matched": {
    "label": "Matched",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Restaurant Dish Photo Matcher — Photos to Menu Items](https://apify.com/nomad-agent/dish-photo-matcher) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nomad-agent/dish-photo-matcher) to learn more, explore other use cases, and run it yourself.