Skip to content

TikTok API video and photo requirements

TikTok media limits: 4GB video on the Content Posting API but 1GB on the API for Business, 3 to 600 seconds, MP4, MOV, or WebM, and up to 35 photos of 20MB each.

TikTok’s Content Posting API takes video up to 4GB; the API for Business, which PubNio uses, caps it at 1GB and 3 to 600 seconds in MP4, MOV, or WebM. Photo posts carry up to 35 JPG or WebP images of 20MB each. Captions stop at 2,200 characters. (Checked 2026-12-05.)

Facts

Fact Official value Source Checked
Video max size 4GB TikTok for Developers: Media Transfer Guide 2026-12-05
API for Business: video length 3 to 600 seconds TikTok API for Business: Publish a public video post to an owned account 2026-12-05
API for Business: video formats MP4, MOV, WebM TikTok API for Business: Publish a public video post to an owned account 2026-12-05
API for Business: photo size 20MB per image (JPG, JPEG, WebP) TikTok API for Business: Publish a photo post to an owned account 2026-12-05
Photos per photo post 35 TikTok API for Business: Publish a photo post to an owned account 2026-12-05
API for Business: video caption max characters 2,200 TikTok API for Business: Publish a public video post to an owned account 2026-12-05

Where official docs disagree

What PubNio enforces

  • Video uploaded to a PubNio workspace is capped at 5GiB, and other media at 256MiB. Only media given to a post by URL can be larger, so a provider limit above those sizes applies to URL media only.
  • PubNio accepts MP4, MOV, WebM video up to 1GB, and JPEG, WebP photo posts of up to 35 images, 20MB each.
  • Captions are capped at 2,200 characters.

Read the live value

  • PubNio reports a file it will not send as media_mime_type, media_too_large, or media_count on the target, before any provider call.
  • tiktok_upload_required and tiktok_too_many_mentions are TikTok-specific issues PubNio reports before publishing.
  • TikTok error codes lists the errors PubNio returns for TikTok and how to fix each.

Limits

  • PubNio does not accept TikTok video over 1GB, even though the Content Posting API allows 4GB.

Sources

Type to search…

↑↓ navigate↵ selectEsc close