Skip to main content
Glama

AgentMade Print on Demand

Create a preview mockup

create_mockup
Idempotent

Render a preview PNG of the artwork on the product in the chosen colour and placement. style flat draws the placement; style packshot uses a product photo with the exact print at real size, or gives the flat preview with a note when no photo exists. Returns mockup_url, blank_image_url and image_prompt (an optional text prompt for an illustration of a person who wears the product; such an image is an illustration, not the exact print). Optional.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
colorYesProduct colour, e.g. "black".
styleNoflat: quick placement drawing. packshot: product photo with the exact print at real size (where a product photo exists).flat
presetNoNamed position inside the placement, e.g. "center_chest", "left_chest", "full_front". Defaults to the placement default.
top_mmNoDistance from the top of the print area to the top of the artwork.
left_mmNoDistance from the left edge of the print area. Default: horizontally centred.
width_mmNoExact printed width of the visible artwork in millimetres. Height follows the aspect ratio.
height_mmNoMaximum printed height in millimetres.
placementNoPrint location on the product, e.g. "front" or "back". See get_product for the list.front
artwork_idYes
product_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
styleYes
summaryYes
mockup_urlYesPNG preview of the exact print on the product.
image_promptYesA prompt for your own image model, to make an illustration from mockup_url.
blank_image_urlYes
validation_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.