Use case

Apps & SaaS

In-app share images, achievement cards, and notification graphics at scale

Many SaaS products and mobile apps need to generate images at runtime: a "share your stats" card, a personalised achievement graphic, a weekly summary image for email. Building an image generation pipeline in-house is costly and slow to maintain. SwarmGen provides the infrastructure via a simple API — your app sends merge field data and gets back a rendered image URL, typically in under a second.

What you can automate

User share cards

When a user hits a milestone — a streak, a goal, a personal best — generate a branded share card populated with their stats. Give them a one-tap share button and watch organic growth follow.

Personalised email visuals

Include a rendered image in weekly digest emails — a user's activity chart, top posts, or account summary — rendered server-side from live data before the email is dispatched.

PDF report generation

Use SwarmGen to render print-quality PDF reports from HTML templates. Useful for invoices, statements, certificates, or any exportable document your users expect.

Example merge fields

A typical SwarmGen template for this use case uses the following merge fields. Add them to your HTML as {{fieldName}} and they are replaced with real values at render time.

Merge field payload (JSON)
{
  "user_name": "Jordan Clarke",
  "plan": "Growth",
  "renders_this_month": "1,240",
  "credits_remaining": "760",
  "joined": "January 2024",
  "avatar": "https://cdn.example.com/avatars/jordan.png"
}

Call the SwarmGen API server-side from your backend — Node.js, Python, Ruby, Go — or from a serverless function. Pass user data as merge fields and embed the returned URL in your app response or email payload.

Start generating images for apps & saas

Create a free account, pick a template or build your own, and start rendering in minutes. No credit card required.

Get started free

More use cases