[Go to site: main page, start]

Generate images from
templates, on demand

Design a template once, generate thousands of images via API. Send JSON, get a pixel-perfect PNG, JPEG, or WebP back in under a second.

60 free renders/month. No credit card required.

Three steps to your first image

Design, integrate, generate. It takes minutes, not days.

1

Design your template

Use our drag-and-drop editor to build your layout. Add placeholders like {{name}} and {{avatar}} for dynamic data.

2

Call the API

Send a POST request with your template ID, the format you want, and JSON data. Use our SDK or any HTTP client — curl, fetch, requests, whatever you prefer.

3

Get your image

Receive a PNG, JPEG, or WebP as a raw download, a signed URL, or uploaded straight to your S3 bucket.

One request. One image.

Send your template ID, pick a format, and get a pixel-perfect image back in under a second.

Request
const result = await fetch(
  "https://api.templatefox.com/v1/image/create",
  {
    method: "POST",
    headers: {
      "x-api-key": "sk_your_api_key",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      template_id: "your-template-id",
      format: "png",
      width: 1200,
      data: {
        title: "Welcome aboard, Sarah",
        plan: "Pro",
        avatar_url: "https://cdn.acme.com/u/sarah.png",
      },
    }),
  }
);
Response
{
  "url": "https://cdn.templatefox.com/generated/abc123/welcome.png",
  "filename": "welcome.png",
  "credits_remaining": 99,
  "expires_in": 86400
}
Used by 100+ Developers

Companies generating PDFs in production.

Uptime 99.997% Last 90 days

Measured live on our public status page.

Rendered 100k+ PDFs generated

Growing every day on a scalable infrastructure.

Use cases

What can you generate?

One API for every image you need on the fly. Design once, generate at scale.

Open Graph & social cards

Auto-generate share images for every blog post, product, or profile. One template, infinite variations.

Email-ready images

Render dynamic banners and receipts as images that drop straight into any email — no HTML rendering quirks.

Certificates & badges

Personalized certificates and shareable badges as PNG. Perfect for course completions, awards, and credentials.

QR codes & barcodes

Generate scannable code images for tickets, inventory, or product labels — ready to embed anywhere.

Charts & data visuals

Turn live metrics into chart images for dashboards, reports, or Slack alerts. Refreshed on every request.

Dynamic product mockups

Composite product photos, prices, and branding into ready-to-post marketing images at scale.

Output formats

PNG, JPEG, or WebP — your call

Pick the format per request. Set the output width for retina-crisp results when you need them.

PNG

Lossless with a transparent background. The go-to for logos, badges, and overlays that sit on any surface.

JPEG

Smaller files for photo-heavy designs. Ideal when you need a flat, opaque image and lighter payloads.

WebP

Modern web compression — smaller than PNG or JPEG at the same quality, with optional transparency.

Flexible delivery

Get your images how you want them

Download directly, share via signed URL, or upload to your storage. Every option on every plan.

Binary download

Get the image file directly in the API response. Ideal for server-side processing or immediate delivery.

Signed URL

Receive a time-limited link. Drop it straight into an <img> tag, an email, or your database.

S3 upload

Upload directly to Amazon S3, Cloudflare R2, MinIO, or any S3-compatible storage. Zero extra steps.

Use the language you love

Send simple HTTP requests or use native libraries for your language of choice.

npm install @templatefox/sdk
1// npm install @templatefox/sdk23import { TemplateFox } from "@templatefox/sdk";45const client = new TemplateFox({6  apiKey: "your-api-key",7});89const result = await client.pdf.generate({10  templateId: "your-template-id",11  data: {12    name: "John Doe",13    amount: "$1,500.00",14    date: "January 15, 2025",15  },16});1718console.log(result.pdfUrl);19// https://cdn.templatefox.com/...
Without writing a line of code

No-code integrations

Generate PDFs automatically with Zapier, Airtable, Make and other popular no-code platforms of your choice.

Need documents instead of images?

The same templates render to pixel-perfect PDFs too — invoices, contracts, certificates, and multi-page reports. One API, both formats.

Discover the PDF Generation API

Frequently asked questions

Which image formats can I generate?

PNG, JPEG, and WebP — pick the one you need per request. PNG keeps a transparent background, JPEG is the lightest for photo-heavy designs, and WebP gives you modern compression for the web. You can also set the output width (for example width: 2160) for crisp results on retina screens.

Is there a limit to how many images I can generate per minute?

Yes — each plan has a per-minute cap (10 on Free, up to 200 on Business; see the full table). Going over returns a clear error and your credits aren't touched, so a short pause clears it. For sustained higher throughput, reach out before launch.

Is the data I send through the API stored anywhere?

No. Your data is used to render the image and discarded as soon as the file is ready. The generated image is stored only when you pick signed URL or S3 upload delivery. We keep usage records for billing and support — never the content you send.

Can I use the same template for both PDF and image output?

Yes. A single template can render to a PDF or to an image — you choose per request. Design once in the editor, then generate whichever format each part of your product needs.
API-ready

Image-ready templates

Certificates, badges, QR codes, and barcode sheets — each renders to a crisp PNG, JPEG, or WebP via the REST API. Send JSON data, get an image back.

Printable Certificate of Achievement

Printable Certificate of Achievement

Event Admission Pass

Event Admission Pass

QR Code Sheet for Asset Tracking & URL Labels

QR Code Sheet for Asset Tracking & URL Labels

Barcode Sheet for Inventory & Batch Printing

Barcode Sheet for Inventory & Batch Printing

Shipping Label A4 with Tracking Barcode

Shipping Label A4 with Tracking Barcode

Automate your PDF generation

Complete documentation, no-code integrations, and a powerful API to help you generate PDFs at scale. Let us handle the boring stuff.