Photo Pack

Description: Displays a collection of relevant images related to the search query in a grid or carousel format.

API Response Structure:

{
  "title": "Images for search query",
  "tags": ["nature", "landscape", "mountains"],
  "imageCount": 15,
  "images": [
    {
      "url": "https://example.com/image1.jpg",
      "thumbnailUrl": "https://example.com/thumb1.jpg",
      "title": "Mountain Landscape",
      "description": "Beautiful mountain vista at sunset",
      "dimensions": {
        "width": 1920,
        "height": 1080
      },
      "source": {
        "name": "Photographer Name",
        "website": "photography.com"
      },
      "license": "Creative Commons"
    }
  ],
  "hasMore": true,
  "type": "photoPack"
}

Fields:

  • title (string): Section title

  • tags (array): Related image categories

  • imageCount (number): Total images available

  • images (array): Image collection

    • url (string): Full image URL

    • thumbnailUrl (string): Preview image URL

    • title (string): Image title

    • description (string): Image description

    • dimensions (object): Image size

    • source (object): Image creator/source

    • license (string): Usage rights

  • hasMore (boolean): More images available

  • type (string): Always "photoPack"