Discovery

List lenses and stacks

Returns all available lenses (single analysis dimensions) and curated stacks (pre-bundled lenses for specific domains/use-cases). Use lens names in the modules, modulesAdd, or modulesRemove fields of the analyze request. Use stack names in the preset field. Users can combine lenses with a curated stack via modulesAdd/modulesRemove, or build a custom stack from scratch by passing modules directly.

Naming note. The API surface uses the wire field names modules (individual lenses) and presets (curated stacks) for backward compatibility with existing SDK callers. The MCP server exposes the same units as lenses and stacks. The concept words are lens / stack; the wire field names are modules / preset and stay that way.

get/v1/modules

Request

  • Base URL: https://api.phototology.com
  • URL: https://api.phototology.com/v1/modules
  • Auth: HTTP bearer

Response

Available lenses and curated stacks.

Example response

{
  "modules": [
    {
      "name": "dating",
      "description": "Estimate photo date from visual cues, technology anchors, and temporal markers",
      "category": "temporal",
      "outputFields": [
        "estimatedDate",
        "dateAnchors",
        "season"
      ],
      "billable": true,
      "defaultColumns": [
        {
          "label": "estimated_year",
          "jsonPath": "dating.estimatedYear",
          "format": "number"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "full-analysis",
      "description": "Full photo analysis with every available lens",
      "modules": [
        "dating",
        "people",
        "location",
        "atmosphere"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.