---
title: 'Limits and restrictions'
category: 'basics'
position: 2
---

# Limits and restrictions

## Original media

TwicPics imposes limits on your original media to avoid specific problems related to their recovery – e.g., slowness or overload, time-out, etc.

### Images

- Max pixels: `36 million`
- Max weight: `20Mb`

<!-- TODO: create a dedicated page in the future "image best practices" section
* NOTION – https://www.notion.so/twicpics/Recommandations-images-masters-5b87f70d93444193a26d8a59ee37b29b?pvs=4
* Help center – https://help.twicpics.com/en/articles/6550163-any-image-recommendations

<doc-alert>[See recommendations](/) on normalizing your original images.</doc-alert>
-->

### Videos

- Max duration: `30 seconds`
- Max FPS: `30 FPS`
- Max pixels: `36 million`
- Max weight: `36Mb`

<doc-alert>When a media to optimize exceeds at least one of these limits, the TwicPics API will return a `502` error.</doc-alert>
