{"id":338,"date":"2026-10-15T21:33:19","date_gmt":"2026-10-15T21:33:19","guid":{"rendered":"https:\/\/blog.skndan.com\/jsontoimg\/youtube-thumbnails\/"},"modified":"2026-11-17T13:34:03","modified_gmt":"2026-11-17T13:34:03","slug":"youtube-thumbnails","status":"publish","type":"page","link":"https:\/\/blog.skndan.com\/jsontoimg\/youtube-thumbnails\/","title":{"rendered":"YouTube Thumbnail Generator API: From a Spreadsheet or CMS"},"content":{"rendered":"<p>A YouTube thumbnail generator is one template and one JSON object per video. jsontoimg fills the episode title, guest name, and a photo on named layers, then returns a JPG or PNG ready to upload. It suits channels with a repeating format: interviews, weekly recaps, course lessons, release notes.<\/p>\n<h2>Layers that change per video<\/h2>\n<ul>\n<li><code>title<\/code>: the short hook, not the full video title<\/li>\n<li><code>episode<\/code>: a number or date badge<\/li>\n<li><code>guest_name<\/code> and <code>guest_photo<\/code>: the photo layer takes a public <code>https<\/code> file ending <code>.png<\/code>, <code>.jpg<\/code>, <code>.jpeg<\/code>, or <code>.webp<\/code><\/li>\n<li><code>logo<\/code>: constant, so keep it in the design and not in the payload<\/li>\n<\/ul>\n<h2>What YouTube asks for<\/h2>\n<p><a href=\"https:\/\/support.google.com\/youtube\/answer\/72431\">YouTube&#39;s custom thumbnail help<\/a> asks for JPG or PNG files, a 16:9 aspect ratio for standard videos, and a file under 2 MB when uploading from mobile. Design the template at 16:9 and request <code>jpg<\/code> if file size matters, since <code>format<\/code> and <code>scale<\/code> are request fields.<\/p>\n<h2>Render one thumbnail<\/h2>\n<pre><code>curl -X POST &quot;https:\/\/app.jsontoimg.com\/api\/v1\/render?wait=60&quot; \\\n  -H &quot;Authorization: Bearer $JSONTOIMG_API_KEY&quot; \\\n  -H &quot;Content-Type: application\/json&quot; \\\n  -d &#39;{&quot;template&quot;:&quot;&lt;design-id&gt;&quot;,&quot;format&quot;:&quot;jpg&quot;,&quot;layers&quot;:{&quot;title&quot;:{&quot;text&quot;:&quot;Why we deleted our staging server&quot;},&quot;episode&quot;:{&quot;text&quot;:&quot;EP 42&quot;}}}&#39;\n<\/code><\/pre>\n<p>For a season, put the rows in a sheet and use the <a href=\"https:\/\/jsontoimg.com\/blog\/google-sheets-image-generation\">Google Sheets add-on<\/a> to render 50 at a time, or loop batches of 50 from a script.<\/p>\n<h2>What it does not do<\/h2>\n<p>jsontoimg does not upload to YouTube, pick a frame from your video, or predict click-through. It produces a consistent design from your data. Test two template layouts on real videos and keep the one your audience clicks.<\/p>\n<h2>Keep the series recognisable<\/h2>\n<p>A consistent layout across a series is the point of a template. Lock the logo, colours, and type in the design. Let only the hook, number, and photo change. Check the headline at the small size a thumbnail is shown in a feed, not at full size in the editor.<\/p>\n<h2>Related<\/h2>\n<ul>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\">All image generation use cases<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/tools\/free-youtube-thumbnail-generator\">Free YouTube thumbnail generator<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/docs\/guides\/batch\">Batch renders docs<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/json-to-image-converter\">How JSON-to-image conversion works<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/open-graph-image-generator-guide\">Open Graph image generator guide<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/social-posts\">Social posts<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/pricing\">Pricing<\/a><\/li>\n<\/ul>\n<h2>FAQ<\/h2>\n<h3>What is a YouTube thumbnail generator?<\/h3>\n<p>A tool that builds a thumbnail from a template and per-video data. jsontoimg fills a title, episode number, and guest photo on named layers and returns a JPG or PNG.<\/p>\n<h3>What format and ratio does YouTube want?<\/h3>\n<p>YouTube&#39;s help page asks for JPG or PNG, a 16:9 aspect ratio for standard videos, and under 2 MB when uploading from mobile.<\/p>\n<h3>Does jsontoimg upload thumbnails to YouTube?<\/h3>\n<p>No. It returns an image file or signed URL. You upload it yourself or with your own script.<\/p>\n<h3>How many thumbnails can I render at once?<\/h3>\n<p>A batch holds 50 jobs. A 200-video backlog is four batches, and failed jobs are free to retry.<\/p>\n<p><a href=\"https:\/\/app.jsontoimg.com\/login\">Get 25 free images \u2192<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A YouTube thumbnail generator that fills one template per episode from a sheet or CMS row. JPG or PNG, 16:9, batches of 50.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-338","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":1,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages\/338\/revisions"}],"predecessor-version":[{"id":412,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages\/338\/revisions\/412"}],"wp:attachment":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/media?parent=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}