Skip to main content

createImage

Generate an image from a template with optional modifications.

Parameters

templateId
string
required
The template ID (e.g., ‘tpl_xxxxxxxxx’)
options
array
Optional configuration

Returns

Returns an array 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