Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions x-api/media/quickstart/best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Image files must meet all of the following criteria:

- **Supported image media types**: `JPG`, `PNG`, `GIF`, `WEBP`
- **Image size**: `<= 5 MB`
- **Image dimensions**: each side `<= 8192` px (`width` and `height` are checked separately) and `>= 4x4`. This is checked when the image is attached to a Post, not at upload, so an oversized image can finalize successfully and then fail `POST /2/tweets` with `Your media IDs are invalid.` Images with a long edge over 4096 px are downscaled for display.
- **Animated GIF size**: `<= 15 MB`

## Animated GIF recommendations
Expand Down
Loading