Generate mockups

Generate product mockups for a template and return download links.

MCP tool printful_write → generate_mockups

write

Generates the mockups for one template in the styles you ask for, waits until they are ready, and returns one link per image. Printful limits how often mockups can be generated, so a long list of templates runs one at a time. It writes only to the mockup page, reaches no one and changes no order, so it does not ask for confirmation.

Parameters

Parameters: generate_mockups
NameTypeDescription
template_id integer required integer Template ID from list_product_templates.
styles string[] string[] Mockup styles to generate. Default: every style Printful offers for the product.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "printful_write",
    "arguments": {
      "operation": "generate_mockups",
      "arguments": {
        "template_id": 7723,
        "styles": [
          "front_flat",
          "lifestyle"
        ]
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "template_id": 7723,
    "mockups": [
      {
        "style": "front_flat",
        "url": "https://files.example.com/mockups/7723-front-flat.png"
      },
      {
        "style": "lifestyle",
        "url": "https://files.example.com/mockups/7723-lifestyle.png"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.