Images

Find semantically related images (embedding cosine similarity)

get/v1/images/{id}/related

Request

  • Base URL: https://api.memestack.ai
  • URL: https://api.memestack.ai/v1/images/{id}/related
  • Auth: none declared

Path parameters

idstring uuid required

Query parameters

limitinteger
content'safe' | 'all'

Safe by default: 'safe' (the default) excludes images classified controversial; 'all' includes them, each carrying controversial: true. Case-insensitive; any other value is 400 INVALID_CONTENT.

Response

Related images: a compact row per image, with the fields a citation needs and rights.

countinteger required

Example response

{
  "related_images": [
    {
      "rights": {
        "source": "publisher",
        "publisher": {
          "key": "usda_ers",
          "name": "USDA Economic Research Service"
        },
        "license": "US-PD",
        "license_name": "Public domain (U.S. federal work)",
        "license_url": "https://www.usa.gov/government-copyright",
        "attribution": "Source: USDA Economic Research Service",
        "attribution_required": true,
        "commercial_use": "yes",
        "note": null
      }
    }
  ]
}

Changes

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