Skip to main content

Photo Format Requirements

This document outlines the photo format requirements for uploading to various social media platforms via the API. For platforms where specific requirements are not listed, standard image formats like JPEG and PNG are generally accepted. However, for the most accurate and up-to-date information, please consult the official documentation of each respective platform.

Threads Photo Requirements

  • Format: JPEG, PNG
  • File Size: 8 MB maximum
  • Aspect Ratio: Limit: 10:1 (e.g., can be from 1:10 to 10:1)
  • Width:
    • Minimum: 320px (images narrower than 320px will be scaled up to 320px)
    • Maximum: 1440px (images wider than 1440px will be scaled down to 1440px)
  • Color Space: sRGB (images with other color spaces will be converted to sRGB)

Instagram Photo Requirements

  • Media Type: The API supports "IMAGE" for feed posts and "STORIES".
  • General Guidance: Instagram typically supports JPEG format.
  • For detailed specifications (resolution, aspect ratio, file size), please refer to the official Instagram documentation.

TikTok Photo Requirements

  • While the API allows photo uploads to TikTok (e.g., for slideshows with auto_add_music), specific format requirements (resolution, aspect ratio, file size) are not detailed in the provided source.
  • General Guidance: Common image formats like JPEG and PNG are usually compatible.
  • Please refer to the official TikTok documentation for specific photo guidelines.

Facebook Photo Requirements

  • General Guidance: Facebook supports various image formats, including JPEG, PNG, GIF, and WebP.
  • The API upload-photo.md documentation notes that the caption is applied only to the first photo uploaded.
  • For detailed specifications, please refer to the official Facebook documentation.

X (Twitter) Photo Requirements

  • General Guidance: X (Twitter) supports JPEG, PNG, and GIF formats.
  • The API upload-photo.md notes no additional parameters are supported for photo uploads to X via this API.
  • For detailed specifications (e.g., file size limits, dimensions), please refer to the official X/Twitter documentation.

LinkedIn Photo Requirements

  • General Guidance: LinkedIn supports JPEG, PNG, and GIF formats.
  • The API upload-photo.md common parameters apply. The caption is used as post commentary.
  • For detailed specifications, please refer to the official LinkedIn documentation.

Note: The information for Instagram, TikTok, Facebook, X (Twitter), and LinkedIn photo requirements above is general. The provided source code focused primarily on video specifications and Threads image specifications. Always check the official platform guidelines for the latest and most precise requirements.