Overview
The Postiz Media Library is your centralized hub for managing all media assets used across your social media posts. Upload, organize, and reuse images, videos, and other media files efficiently.Accessing the Media Library
The media library can be accessed in several ways:Post Editor
Click “Insert Media” when creating or editing a post
Standalone Page
Navigate to Media Library from the main menu
Quick Upload
Drag and drop files directly into the post editor
API Upload
Upload via REST API for integration workflows
Uploading Media
Upload Methods
- Drag and Drop
- Click to Upload
- API Upload
- Multipart Upload
Simply drag files from your computer into the media library.
Upload Limits
- Maximum file size: 1 GB per upload session
- Supported formats: Images (JPEG, PNG, GIF, WebP), Videos (MP4, MOV)
- Storage: Cloud-based (Cloudflare R2 or local storage)
Upload Service
Postiz uses Uppy for robust file uploading:Media Storage Backend
Storage Factory
Postiz supports multiple storage backends:Cloudflare R2 Storage
Browsing Media
Media Grid View
The media library displays files in a paginated grid:Filtering Media
- Images Only
- Videos Only
- All Media
Media API Endpoints
Fetching Media
Saving Media
Deleting Media
Using Media in Posts
Selecting Media
Media Settings
Configure media-specific settings for each post:Media Organization
Drag to Reorder
Reorder media in posts using drag and drop:Media Metadata
AI-Generated Media
Generate Images
Generate Videos
Third-Party Media
Integrate media from third-party sources:Video Handling
Video Previews
Video Thumbnails
Generate and set custom video thumbnails:Media Optimization
Automatic Optimizations
Automatic Optimizations
- Image Compression - Images are automatically compressed for web
- Format Conversion - Convert to optimal formats (WebP for images)
- Lazy Loading - Media loads only when visible
- CDN Delivery - Fast delivery via Cloudflare CDN
Best Practices
Use Descriptive Names
Name your media files descriptively before uploading for easy identification.
Add Alt Text
Always add alt text to images for accessibility and SEO.
Optimize Before Upload
Compress large images before uploading to save storage and bandwidth.
Regular Cleanup
Periodically delete unused media to keep your library organized.
Pagination Component
The media library includes a smart pagination system:Troubleshooting
- Upload Failed
- Media Not Displaying
- Slow Upload
- Check file size is under 1GB
- Verify file format is supported
- Check internet connection
- Try uploading smaller batches
- Clear browser cache
API Reference
| Endpoint | Method | Description |
|---|---|---|
/media | GET | Fetch paginated media |
/media/upload-simple | POST | Upload single file |
/media/upload-server | POST | Upload with server processing |
/media/:endpoint | POST | Multipart upload endpoints |
/media/:id | DELETE | Delete media file |
/media/information | POST | Save media metadata |
/media/generate-image | POST | Generate AI image |
/media/generate-video | POST | Generate AI video |
Next Steps
Post Scheduling
Use your media library assets in scheduled posts
AI Features
Generate images and videos with AI