Pollinations icon

Pollinations

Generate images, videos, text, audio, and music using Pollinations.ai

Storage → Retrieve

AI-generated

Summary

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.

Links

Discussion