random-pexels-image
Simple Node.js application that provides an endpoint to search Pexels and return a randomly selected image. It allows hotlinking images by directly returning...
The /search-image endpoint accepts optional apikey, size, keyword, and orientation query parameters and returns the raw image data so it can be hotlinked directly. When no keyword is provided, one is drawn from a configurable random-words.json file of 300 entries. Requires a Pexels API key in .env.