Skip to main content

ResolutionPreset

resolution selects a preset canvas size. When resolution is not custom, preset dimensions override width and height.

type ResolutionPreset =
| "sd"
| "hd"
| "full-hd"
| "squared"
| "youtube-short"
| "youtube-video"
| "tiktok"
| "instagram-reel"
| "instagram-post"
| "instagram-story"
| "instagram-feed"
| "twitter-landscape"
| "twitter-portrait"
| "twitter-square"
| "facebook-video"
| "facebook-story"
| "facebook-post"
| "snapchat"
| "custom";
PresetDimensionsUse case
sd640 x 480Standard definition
hd1280 x 720HD landscape
full-hd1920 x 1080Full HD landscape
squared1080 x 1080Square format
youtube-short1080 x 1920YouTube Shorts
youtube-video1920 x 1080YouTube videos
tiktok1080 x 1920TikTok videos
instagram-reel1080 x 1920Instagram Reels
instagram-post1080 x 1080Instagram posts
instagram-story1080 x 1920Instagram Stories
instagram-feed1080 x 1080Instagram feed posts
twitter-landscape1200 x 675Landscape social video
twitter-portrait1080 x 1350Portrait social video
twitter-square1080 x 1080Square social video
facebook-video1080 x 1920Facebook vertical video
facebook-story1080 x 1920Facebook Stories
facebook-post1080 x 1080Facebook posts
snapchat1080 x 1920Snapchat content
customwidth x heightCustom dimensions
warning

The API accepts snapchat, but this preset is still being standardized. Prefer explicit width and height for Snapchat-sized renders when you need predictable dimensions.

Used By