Repository navigation
docs(media): match media upload limits to X app (512 MB / 20 min default, 16 GB / 6 hr Premium) - #622
Open
santiagomed wants to merge 2 commits into
Open
santiagomed wants to merge 2 commits into
santiagomed wants to merge 2 commits into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
…in default, 16 GB / 6 hr Premium)
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the public X API media upload and Post-attach documentation to state the X app–matching limits enforced after backend diff https://phabricator.twitter.biz/D1408594 (and error-message parser fix https://cursor.com/codebase/spacexsi/xai/pull/2058791):
tweet_videoandamplify_video: 20 minutes / 512 MB (matching the X app; previously 8 GB fortweet_videoand effectively 2 GB foramplify_video)tweet_videoandamplify_video: 6 hours / 16 GB (361 minutes with 1-minute backend buffer, matching the X app; previously 125 minutes at Post-attach fortweet_video)tweet_image,dm_image): 5 MBtweet_gif,dm_gif): 15 MB chunked (5 MB simple upload fortweet_gif; 15 seconds for MP4-as-GIF)dm_video): 140 seconds / 512 MB default; 10 minutes / 1 GB Premiumsubtitles): 1 MB (SRT only, 1 MB max segment)0–9999), up to 8 MB per segment (1 MB forsubtitles; keep JSON base64 payloads<= 4 MBper segment)x-ads-api/creatives.mdx(previously still stated 10 mins / 500 MB)Files updated
x-api/media/introduction.mdxx-api/media/quickstart/best-practices.mdxx-api/media/quickstart/media-upload-chunked.mdxx-ads-api/creatives.mdxx-api/posts/create-post.mdxx-api/posts/manage-tweets/introduction.mdxx-api/posts/manage-tweets/integrate.mdx