ThumbAPI logoThumbAPI

ThumbAPI Documentation

ThumbAPI is a REST API that generates production-ready thumbnails from any title. Send a title, pick a format, get an image — in under 25 seconds.

What You Can Build

  • YouTube thumbnails (1280x720) from video titles
  • OG images (1200x630) for blog posts and social sharing
  • Instagram images (1024x1024) from content titles
  • X/Twitter cards (1200x675) for social posts
  • LinkedIn images (1200x627) for posts and shares

Quick Overview

POST https://api.thumbapi.dev/v1/generate
x-api-key: YOUR_API_KEY
Content-Type: application/json

{
  "title": "How to Build a SaaS in 2026",
  "format": "youtube",
  "category": "tech-saas"
}

The API returns a base64-encoded WebP image, the format used, and the output format. Add usePhoto: true to include your saved photo, useLogo: true to overlay your logo, or both.

Getting Started

  1. Get your API key — free, no credit card
  2. Follow the quickstart — first thumbnail in 5 minutes
  3. Read the endpoint reference — every parameter explained

Available Formats

FormatDimensionsUse Case
youtube1280 x 720YouTube video thumbnails
blogpost1200 x 630Blog featured images, OG images
linkedin1200 x 627LinkedIn posts and shares
instagram1024 x 1024Instagram post images
x1200 x 675X/Twitter card images

format becomes optional when you pass a customAssetsId — the stored format on the reference set wins.

Photo & Logo

usePhoto and useLogo are independent boolean flags — use either, both, or neither.

FlagDescription
usePhoto: trueIntegrate your saved Personal Photo as the main subject. Override per-request with photoImage (data-URL, max 2MB).
useLogo: trueOverlay your saved Logo on the final image. Override per-request with logoImage (data-URL, max 1MB).

Omit both for a faceless thumbnail (the default).

Legacy imageStyle / personImage / usePersonalPhoto parameters are still accepted for backward compatibility, but prefer the new flags in fresh code.

Pricing

PlanCredits/monthPriceWatermark2K quality
Free50$0Yes
Creator750$19/month
Pro2,500$49/month
Business10,000$199/month

A standard 1K thumbnail costs 10 credits (2K costs 20). Each enabled add-on (photo, logo, custom reference set) adds 2 credits. Failed generations are refunded automatically. View pricing →

Next Steps