Pexels icon

Pexels

Search and browse free photos and videos from Pexels | Documentation: https://dps.media/node-n8n-cho-pexels-tu-dong-hoa-tim-kiem-anh-va-video-mien-phi/

Photo → Get

AI-generated

Summary

Retrieve a single photo by ID from Pexels

Inputs

  • photoId (required) — ID of the photo to retrieve

Output shape

A photo object from the Pexels API, returned as a JSON array element by the node

The node wraps the result in an array via returnJsonArray; even a single photo is delivered as one-element array.

Examples

Example 1: Fetch a specific photo when its ID is known

Set Photo ID to the numeric or alphanumeric identifier from Pexels; the node issues a GET request to /v1/photos/:photoId and returns the photo metadata.

Discussion