Skip to main content
Everything about how your artwork lands inside a design area is set by the asset object on a smart object entry, plus two optional siblings for colour and tone.

The artwork URL

The minimum asset
The URL has to be public, directly reachable, and immutable: one URL, one image, for good. To change a design, publish it at a new URL and render with that. Reusing a URL for different content is not supported and can return the earlier image. Google Drive is where this bites most often. Replace file and Manage versions keep the same link, so the link keeps resolving to the original design. Upload the new design as a new file, which gets its own link. See why a render shows old artwork. You can send the bytes instead of a link when the artwork is generated on the fly and has no stable address.
Base64 instead of a URL

Design at the area’s own size

The upload response gives each area a size. 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.