---
title: "YouTube API video and thumbnail requirements"
description: "YouTube upload limits: 256 GiB or 12 hours per video, any video MIME type, 50 MiB thumbnails in JPEG or PNG, 100-character titles, and PubNio's smaller caps."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube API video and thumbnail requirements

videos.insert takes any video/\* file up to 256 GiB; YouTube Help also caps length at 12 hours. Thumbnails can be 50 MiB (2 MiB for the Movies category) in JPEG or PNG. Titles stop at 100 characters and descriptions at 5,000. PubNio's own caps are much smaller. (Checked 2026-12-05.)

## Facts

| Fact                       | Official value                                  | Source                                                                                            | Checked    |
| -------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------- |
| Video max size             | 256 GiB                                         | [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert)   | 2026-12-05 |
| Video MIME types           | video/\*, application/octet-stream              | [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert)   | 2026-12-05 |
| Thumbnail max size         | 50 MiB (2 MiB for the Movies category)          | [YouTube Data API: Thumbnails: set](https://developers.google.com/youtube/v3/docs/thumbnails/set) | 2026-12-05 |
| Thumbnail MIME types       | image/jpeg, image/png, application/octet-stream | [YouTube Data API: Thumbnails: set](https://developers.google.com/youtube/v3/docs/thumbnails/set) | 2026-12-05 |
| Title max characters       | 100                                             | [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos)         | 2026-12-05 |
| Description max characters | 5,000                                           | [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos)         | 2026-12-05 |

## Where official docs disagree

- **Video max size**: 256 GiB in [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert); 256 GB or 12h, whichever is less in [YouTube Help: Upload videos longer than 15 minutes](https://support.google.com/youtube/answer/71673).
- PubNio caps thumbnails at 2MiB and accepts JPEG, PNG, GIF; the API now takes 50 MiB and lists no GIF.

## 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 5GiB, its own media cap.
- Descriptions are capped at 5,000 characters, matching the API.

## Read the live value

- [`GET /api/v1/capabilities`](https://pubnio.com/api/v1/docs#tag/capabilities/GET/api/v1/capabilities) returns PubNio's media rules for every YouTube
  placement, and [`POST /api/v1/posts/{postId}/validate`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/validate) checks a draft against them without
  publishing.

## Related errors

- 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.
- [YouTube error codes](https://pubnio.com/docs/errors/youtube/) lists the errors PubNio returns for YouTube and how to fix each.

## Limits

- PubNio's YouTube rule stops at 5GiB, even for URL media; upload larger files to YouTube directly.

## Sources

- [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert), checked 2026-12-05

  ```text
  256 GiB (about 275 GB)
  video/*, application/octet-stream
  ```

- [YouTube Help: Upload videos longer than 15 minutes](https://support.google.com/youtube/answer/71673), checked 2026-12-05

  ```text
  The maximum file size you can upload is 256 GB or 12 hours
  ```

- [YouTube Data API: Thumbnails: set](https://developers.google.com/youtube/v3/docs/thumbnails/set), checked 2026-12-05

  ```text
  50 MiB (2 MiB for Movies category videos; minimum 4 bytes)
  image/jpeg, image/png, application/octet-stream
  ```

- [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos), checked 2026-12-05

  ```text
  The value has a maximum length of 100 characters
  The value has a maximum length of 5,000 characters
  ```

## Related

- [Posting limits](https://pubnio.com/docs/providers/youtube/limits/)
- [Rate limits and quota](https://pubnio.com/docs/providers/youtube/quota/)
- [Scopes and permissions](https://pubnio.com/docs/providers/youtube/scopes/)
- [App review and access](https://pubnio.com/docs/providers/youtube/app-review/)
- [Token lifetimes](https://pubnio.com/docs/providers/youtube/tokens/)
- [API versions](https://pubnio.com/docs/providers/youtube/versioning/)
- [YouTube error codes](https://pubnio.com/docs/errors/youtube/)
- [Publishing to YouTube](https://pubnio.com/docs/networks/youtube/)
- [Provider API explainers](https://pubnio.com/docs/providers/)

Source: https://pubnio.com/docs/providers/youtube/media/index.mdx
