Personalized content
generated on the fly

Render unique images and PDFs from live data at request time. OG images, email visuals, dashboard snapshots, and personalized assets — each one built for its audience.

Dynamic content use cases

Open Graph Images

Generate unique OG images for every page on your site. Pull in titles, author photos, and branding so every social share looks polished.

Personalized Email Graphics

Create header images, product cards, and promotional visuals tailored to each email recipient. Drive higher engagement with unique visuals.

Dashboard Snapshots

Capture live dashboards as images or PDFs and embed them in Slack messages, emails, or reports without giving access to the dashboard itself.

User-Generated PDFs

Let users download personalized documents from your app — resumes, tickets, receipts, or portfolios — generated from their own data in real time.

Localized Content

Render documents and images in the user's language and locale. Dates, currencies, and text adapt per request without maintaining separate templates.

Real-Time Data Visuals

Render charts, gauges, and data cards from live API data. Embed the generated images wherever you need a visual snapshot of current metrics.

How dynamic content works

1

Design your template

Create an HTML template with dynamic fields powered by Nunjucks. Use conditionals and loops for layouts that adapt to different data shapes.

2

Call the API with live data

Send a request with your current data — user info, metrics, content — and cloudlayer.io renders a unique document or image instantly.

3

Serve or deliver the result

Return the generated asset directly to your user, embed it in an email, cache it at the edge, or store it for later retrieval.

Real-time rendering, edge-cached delivery

Dynamic content generation demands low latency. cloudlayer.io renders your HTML in under 2 seconds for most templates, and responses are cacheable at the edge. Set cache headers on generated images so CDN nodes serve subsequent requests without re-rendering.

Append version parameters or content hashes to your CDN URLs so updated content gets a fresh cache entry automatically. For OG images, social media crawlers hit your endpoint once and the CDN handles all subsequent requests — your API quota stays low even as shares go viral.

Combine with template precompilation to shave milliseconds off render times for high-traffic endpoints.

Edge Caching

Set cache-control headers on generated assets. CDN nodes serve cached copies globally — no re-render on repeat requests.

Versioned URLs

Append content hashes or version parameters to CDN URLs. Updated content gets a fresh cache entry without waiting for TTL expiry.

Latency Optimization

Template precompilation, connection pooling, and regional rendering nodes keep response times under 2 seconds.

Cache Invalidation

Bust CDN caches on content change with versioned URLs or cache tags. Stale content clears automatically on update.

Dynamic content examples

Dynamic OG Image Endpoint

Your app builds a URL like /api/og?title=...&author=... → your server calls cloudlayer.io with those params mapped to an OG image template → the rendered image is returned with Cache-Control: public, max-age=86400 → CDN caches it at the edge → social media crawlers and link previews get the cached image instantly → when the page title changes, a new URL busts the cache.

Personalized Email Header

Email platform requests a header image with the recipient's name and offer → your server calls cloudlayer.io with personalized data → image returned as base64 → embedded inline in the HTML email → each recipient sees their own customized header without storing thousands of pre-rendered images.

<2s
Render Time
For most templates
Edge
Cached Delivery
Global CDN network
CDN
URL Delivery
Shareable links with caching

Render personalized content
on the fly

Start generating dynamic OG images, email headers, and data visualizations from live data. Edge-cached delivery included.

No commitment. Cancel anytime.