Media requirements

File types, size limits and recommended dimensions for images and video you attach through the API.

Last checked against the API October 10, 2026 · View as Markdown

Accepted files

TypeFormatsMaximum size
ImageJPEG, PNG, GIF, WebP10 MB
VideoMP4, MOV100 MB (raw upload), 10 MB (base64)
  • Upload every file with POST /api/v1/media and attach the returned url. Links to files hosted elsewhere are rejected.
  • A post can carry up to 10 files.
  • The file contents must match the declared type. SVG is not accepted.
  • Images are stored as WebP. Platforms that need JPEG receive JPEG automatically.
  • Larger videos can be uploaded in the Postprism app instead.

What each network does with media

PlatformUsesNeeds media?
TikTokOne video, or a photo post of up to 35 imagesYes
YouTubeOne video, plus an optional custom thumbnailYes, a video
PinterestOne imageYes, an image
LinkedInThe first image or videoNo
X (Twitter)Up to 4 imagesNo
BlueskyText only today; attachments are not postedNo
PlacementRatioPixels
Instagram feed (portrait)4:51080 × 1350
Stories, Reels, TikTok9:161080 × 1920
Square post (all feeds)1:11080 × 1080
LinkedIn / Facebook link preview1.91:11200 × 627
X in-feed image16:91600 × 900
YouTube video and thumbnail16:91280 × 720 or larger
Pinterest pin2:31000 × 1500

More on sizing in the aspect ratio and safe zone guides, and free resizers in Tools.