generate_image_signed_url
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
The template ID (e.g., ‘tpl_xxxxxxxxx’)
Array of modifications to apply to the template
Output format: ‘png’, ‘jpeg’, or ‘webp’
Generate thumbnail version
Bypass cache and generate fresh image
Returns
Returns a signed URL string.Examples
Basic Signed URL
With Modifications
WebP Format
Bypass Cache
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
Flask/Django Integration
Benefits
- No API Calls - Images are generated only when accessed
- CDN Caching - Subsequent requests are served from cache
- Security - URLs are signed and can’t be tampered with
- Flexibility - Perfect for emails, OG images, and dynamic content
- Cost Effective - Only generates when actually viewed