← Image automation guides

Developer workflow

Create Images with an API

Create branded images with an API by sending structured text and image values to one reusable Duply template.

Quick answer

Use Duply's image API when an application, CMS, or backend event needs to generate a predictable branded image without opening a design editor.

Best-fit use cases

SaaS product features
CMS and publishing workflows
Personalized campaign images
Server-side batch jobs

Implementation

A reliable four-step workflow

1

Design

Create one template and mark headline, photo, price, badge, or CTA layers as dynamic.

2

Request

Send the template identifier and replacement values from your application.

3

Validate

Check the returned image against long text, missing images, and brand constraints.

4

Deliver

Store or publish the generated image URL in the workflow that requested it.

Concrete example
trigger
A product is published
inputs
Name, price, product photo, badge
output
A branded product promotion
destination
Product page, email, or social queue

Frequently asked questions

Do I need a separate template for every image?

No. One template can generate many variations when the layout stays the same and the content changes.

Can API image generation run in a background job?

Yes. A backend, queue worker, or scheduled job can send the generation request and store the resulting URL.

Continue the workflow

Build one production-shaped example

Start with one approved template, realistic data, and the exact trigger your team intends to use.

Start free