OverviewProductsPlatformsAPI ReferenceResources

Media requirements

Image and video requirements for TikTok posts, and the rules for media URLs.


A post holds either one video or up to 35 photos, never both.

Videos are uploaded in chunks of 5 to 64 MB.

Images

PropertyRequirement
Max photos35 per carousel
FormatsJPEG, PNG, WebP
Max file size20 MB per image
Aspect ratio9:16 recommended
ResolutionDownscaled to fit inside 1080 x 1920 px, aspect ratio kept; an image already inside those bounds is sent untouched

Videos

PropertyRequirement
Max videos1 per post
FormatsMP4, MOV, WebM
Max file size4 GB
Max duration10 minutes
Min duration3 seconds
Aspect ratio9:16 vertical (the only format that works well)
Resolution1080 x 1920 px recommended
CodecH.264
Frame rate30 fps recommended

Media URLs

Dropbox, OneDrive, SharePoint and iCloud links return an HTML page, not the file, so TikTok cannot download from them.

Google Drive links work when the file is shared with "Anyone with the link", for the video and for video_cover_image_url.

A media URL must:

  • be public, with no authentication
  • return the media bytes with the correct Content-Type
  • not redirect to an HTML page
  • sit on a fast host

Test it in an incognito window. Or upload through the media endpoint.

Was this page helpful?

On this page