Actions12
- Audio Actions
- Image Actions
- Storage Actions
- Text Actions
- Video Actions
Storage → Retrieve
AI-generatedSummary
Retrieve media file by hash from Pollinations storage, optionally including metadata.
Inputs
- fileHash (required) — Content hash of the file to retrieve
- includeMetadata — Whether to also fetch file metadata
Output shape
Returns an object with a JSON payload and binary file data. The JSON payload contains the file hash and MIME type, and optionally metadata if includeMetadata is true. A pairedItem marker is also included for n8n item tracking.
The binary data represents the retrieved file contents. Metadata is fetched from a separate endpoint if requested.
Examples
Example 1: Fetch a stored audio file and its metadata.
Set fileHash to the content hash, enable includeMetadata to true. The node returns the file binary and JSON with hash, mimeType, and metadata.