Skip to main content

GenerateImageSignedURL

Generate a signed URL that can be used to generate images on-demand without making API calls. Perfect for dynamic content in emails, web pages, and more.

Parameters

templateID
string
required
The template ID (e.g., ‘tpl_xxxxxxxxx’)
opts
*CreateImageOptions
Optional configuration

Returns

Returns a signed URL string or error.

Examples

Basic Signed URL

With Modifications

WebP Format

Use Cases

Email Campaigns

Generate personalized images in emails:

Dynamic Open Graph Images

Generate OG images for social media sharing:

Real-time Analytics Badges

User Profile Cards

Benefits

  1. No API Calls - Images are generated only when accessed
  2. CDN Caching - Subsequent requests are served from cache
  3. Security - URLs are signed and can’t be tampered with
  4. Flexibility - Perfect for emails, OG images, and dynamic content
  5. Cost Effective - Only generates when actually viewed