asset object on a smart object entry, plus two optional siblings for colour
and tone.
The artwork URL
The minimum asset
Base64 instead of a URL
Design at the area’s own size
The upload response gives each area asize. Author artwork at those
dimensions and the render scales it into the area for you.
1
Read size from the upload response
For example
3000 x 3413.2
Produce artwork at that resolution
Larger is fine, smaller costs quality.
3
Render with the area's uuid
Placement into the visible bounds is handled for you.
position in the upload response describes where the area sits on the canvas.
It is for drawing a preview in a browser, not for a render body.
Fit
asset.fit decides how the artwork meets the area.
crop is the common choice for product mockups because it covers the area
without distorting the design. Full detail, including the older contain and
cover spellings, is on
Fit and blend modes.
Size and position overrides
When you need the artwork somewhere other than the area’s default placement, override both together.Custom size and offset
size sets the artwork’s dimensions and position offsets it from the top
left of the area. Use them for a logo that has to sit in one corner, or a
pattern that has to start at a known offset.
Rotation
Rotate the artwork inside the area
rotate takes degrees from -360 to 360 and turns the artwork, not the area.
The perspective and warp the designer built stay where they are.
Colour overlay
A colour overlay gives you product colourways from a single artwork file.Recolour the area
blending_mode accepts all 27 Photoshop layer blend modes, with an underscore
or a space as the separator. multiply keeps the material texture readable
under the colour, which is what makes a dark garment look printed rather than
painted.
Tone adjustments
Adjust the artwork
All of it in one call
Smart objects
What the area itself describes before you fill it.
Render a PSD
The two-request path from template to image.