{"id":339,"date":"2026-10-15T21:33:19","date_gmt":"2026-10-15T21:33:19","guid":{"rendered":"https:\/\/blog.skndan.com\/jsontoimg\/pinterest-pins\/"},"modified":"2026-11-17T13:33:56","modified_gmt":"2026-11-17T13:33:56","slug":"pinterest-pins","status":"publish","type":"page","link":"https:\/\/blog.skndan.com\/jsontoimg\/pinterest-pins\/","title":{"rendered":"Pinterest Pin Generator API: Pins from a Product Catalog"},"content":{"rendered":"<p>A Pinterest pin generator is one vertical template filled once per product. jsontoimg places the product photo, title, and price on named layers and returns a PNG or JPG per row. It fits catalogs where the layout is constant and the data changes: shops, recipe sites, listings.<\/p>\n<h2>Layers that change per pin<\/h2>\n<ul>\n<li><code>title<\/code>: the product or post name<\/li>\n<li><code>price<\/code> or <code>tag<\/code>: a short text such as &quot;From $24&quot; or &quot;New&quot;<\/li>\n<li><code>photo<\/code>: a public <code>https<\/code> image URL ending in <code>.png<\/code>, <code>.jpg<\/code>, <code>.jpeg<\/code>, or <code>.webp<\/code><\/li>\n<li><code>cta<\/code>: constant text can stay in the design<\/li>\n<\/ul>\n<h2>One pin per row<\/h2>\n<pre><code>{\n  &quot;template&quot;: &quot;&lt;design-id&gt;&quot;,\n  &quot;format&quot;: &quot;jpg&quot;,\n  &quot;layers&quot;: {\n    &quot;title&quot;: { &quot;text&quot;: &quot;Ceramic pour-over set&quot; },\n    &quot;price&quot;: { &quot;text&quot;: &quot;From $24&quot; },\n    &quot;photo&quot;: { &quot;image_url&quot;: &quot;https:\/\/example.com\/products\/pour-over.jpg&quot; }\n  }\n}\n<\/code><\/pre>\n<p>Send up to 50 of these in one batch with <code>POST \/api\/v1\/renders\/batch<\/code>. A catalog of 1,000 products is twenty batches. Each job carries its own <code>webhookUrl<\/code> option if you want a callback per pin, and failed jobs do not use credits.<\/p>\n<h2>Sizing<\/h2>\n<p>Design the template in the vertical ratio Pinterest&#39;s current guidelines name for your account and test a few pins before the full run. Specs change, so keep the size as a template property, not something hard-coded in your pipeline.<\/p>\n<h2>Refresh on a price change<\/h2>\n<p>When a price changes, send the new value and render again. A new payload produces a new image; identical values return the stored file, which saves credits on unchanged rows. The same catalog-to-image pattern is described on the <a href=\"https:\/\/jsontoimg.com\/use-cases\/product-banners\">product banners page<\/a>.<\/p>\n<h2>What it does not do<\/h2>\n<p>jsontoimg does not publish pins. It returns a file or a signed URL, and you post it with your own tool or an automation such as <a href=\"https:\/\/jsontoimg.com\/blog\/n8n-image-generation-workflow\">n8n<\/a>. It also does not write pin descriptions or choose keywords.<\/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-social-image-size-checker\">Social image size checker<\/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\/product-banners\">Product banners<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/social-posts\">Social posts<\/a><\/li>\n<\/ul>\n<h2>FAQ<\/h2>\n<h3>What is a Pinterest pin generator?<\/h3>\n<p>A tool that builds pin images from a template and per-product data. jsontoimg fills the title, price, and product photo on named layers and returns a PNG or JPG.<\/p>\n<h3>How do I generate pins for a whole catalog?<\/h3>\n<p>Send batches of 50 jobs to POST \/api\/v1\/renders\/batch, one job per product row. A 1,000-product catalog takes twenty batches.<\/p>\n<h3>Does jsontoimg publish to Pinterest?<\/h3>\n<p>No. It returns an image file or signed URL. Publish with your own script or an automation tool.<\/p>\n<h3>What happens when a product price changes?<\/h3>\n<p>Send the new price and render again. A changed payload produces a new image, while identical values return the stored file.<\/p>\n<p><a href=\"https:\/\/app.jsontoimg.com\/login\">Get 25 free images \u2192<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Pinterest pin generator that turns each catalog row into a vertical pin with title, price, and product photo. 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-339","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages\/339","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=339"}],"version-history":[{"count":1,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages\/339\/revisions"}],"predecessor-version":[{"id":404,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/pages\/339\/revisions\/404"}],"wp:attachment":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/media?parent=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}