Skip to main content

create_image

Generate an image from a template with optional modifications.

Parameters

template_id
str
required
The template ID (e.g., ‘tpl_xxxxxxxxx’)
modifications
list
Array of modifications to apply to the template
format
str
default:"png"
Output format: ‘png’, ‘jpeg’, or ‘webp’
thumbnail
bool
default:"False"
Generate thumbnail version

Returns

Returns a dict with either result or error:

Examples

Basic Image Generation

With Modifications

Generate WebP

Generate Thumbnail

Error Handling

Use Cases

Dynamic Marketing Banners

Social Media Posts

Toggle Visibility