Media libraryUpdated 2026-06-01

Media library

Upload, organize, and manage product images, logos, and files with AI generation.

The media library is your central store for images and files. Upload via drag-and-drop, browse by type, copy URLs, and generate images with AI.

Where to find it

Admin → Media (/admin/media).

Uploading

Drag files onto the large dashed dropzone (it highlights in brand when dragging). Supported types include images, PDF, Word, PowerPoint, Excel, text, audio, and video (mp4/webm/mpeg). Files up to 50MB are auto-bucketed by type and saved to your configured S3-compatible storage.

Browsing & filtering

A responsive card grid shows thumbnails for images and file-type icons for documents. Filter by type (Images, Word, PPT, Excel, Text, Audio, Other) and search by name. Pagination supports page-size options. Each card has copy-URL and delete actions.

AI image generation

Click Generate image to create an image from a text prompt via Pollinations AI. Choose a model and size (512, 1024, or widescreen variants). The generated PNG is saved to your media library for use in products, ad creatives, or pages.

Media endpoints
POST/upload
Upload a single file (<=50MB). Auto-buckets by type.
Session
GET/upload/list
Paginated media library. Filters: folder, search, imagesOnly.
Session
POST/upload/generate-image
AI image generation via Pollinations (prompt, model, size).
Session
DELETE/upload/:id
Delete a media file (removes from storage + DB).
Session

Use everywhere

Media library images are referenced by URL across the admin — product images, branding (logo/favicon), ad creatives, storefront blocks, and email campaigns all pull from the same library.