- Personalise a run: one template and a list of names, one finished image per name.
- Localise a design: the same layout, shipped in every language you sell in.
- Correct a line without reopening the file: a price, a date, a legal note.
POST /api/v1/psd/upload returns the mockup
uuid and, under text_layers, one entry per live text layer with its own
uuid and its current wording, font, size and colour. Those two uuids are the
whole interface from here on, and
Create a mockup from a PSD
carries the request and the full response.
Send new wording with a render
Name the mockup, name the layer, send the text. The highlighted lines are the whole of the change, and running the same call with the next name re-uploads nothing.A render needs at least one entry across
smart_objects, text_layers,
group_layers or hidden_layers, and a text-only personalisation satisfies
that on its own.
This request carries no artwork and no smart object.Response format
The finished image is atdata.print_files[0].export_path, and everything you
did not name renders as the designer drew it. smart_object_uuid comes back
empty here because the request placed no artwork.
Render response
Configuration
string
required
The mockup the upload call returned. It selects the template this render
draws from.
string
required
The layer you are changing, taken from the upload response. Layers you leave
out keep their authored wording.
string
Replacement wording for a single-style layer. A layer that mixes styles takes
segments instead and stays editable run by run. See
Text layers.string
A catalogue font
uuid or its PostScript name, from the open-licensed
catalogue or from a typeface you uploaded yourself. Omit it and the layer
renders in the typeface the designer chose. See Fonts.number
Font size in pixels at the mockup’s native resolution. Falls back to the
layer’s authored size.
string
Hex colour for the text you see, such as
#C0392B. Falls back to the layer’s
authored colour.string
default:"overflow"
What happens when the replacement is wider than the layer’s area:
overflow: the text keeps its size and may extend past the area.clip: the text keeps its size and is cut to what fits.shrink: the text is scaled down so it stays inside the area.
vertical_align and the
outline arguments alongside it.Limitations
Three fields in the upload response tell you what a template can do before you build against it.is_editablefalse means the layer keeps its original appearance in this version. The reason and the workaround are in the support table on Text layers.font_availablefalse means the layer’s own typeface is not in your catalogue, so it falls back unless you setfontyourself.segment_countabove 1 means the layer mixes styles and takessegmentsrather thantext.
API reference
For the complete request and response contract, see the Render a PSD mockup API reference.Text layers
The full override contract, warning codes and support table.
Fonts
Browse the catalogue, or upload your brand typeface.