Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Dynamic Mockups API

Dynamic Mockups helps you auto-generate Mockups at Scale from Photoshop Templates via API

Introduction

Dynamic Mockups API is a powerful tool for businesses that need to automate the creation of product mockups. It enables users to programmatically generate mockups from Photoshop files using smart objects, and offers a variety of features to customize these mockups according to specific needs.

Key Features

  • Automation of Mockups: Automatically replace smart objects in your Photoshop templates with new designs.
  • Bulk Processing: Generate multiple mockups at once to save time and effort.
  • Customization: Use features like transform perspectives (skew, distort, rotate) and blending modes to enhance your mockups.
  • Integration: Easily integrate with popular eCommerce platforms like Etsy, Shopify, WooCommerce or custom App via API.
Web.-.Upload.Photoshop.file.mp4

Getting Started

Prerequisites

Before you begin, make sure you have:

  • A valid Dynamic Mockups API key. You can get one for Free here.
  • Photoshop files prepared with smart objects. Use this example as a referrence or use one of the mockups from our Public Library.

Configuration

Configure the API with your credentials:

var headers = new Headers();
headers.append("X-API-KEY", "API_KEY");
headers.append("Accept", "application/json");

var requestOptions = {
  method: "POST",
  headers: headers,
};

Usage

Here's a simple example of how to create a mockup:

// Create a t-shirt mockup with Dynamic Mockups logo
await fetch('https://app.dynamicmockups.com/api/v1/renders', {
  method: "POSt",
  headers: {
    'content-type': 'application/json',
    'x-api-key': '38a429a1-659e:abad-9817fdf6d87e'
  },
  body: JSON.stringify({
    "mockup_uuid": "6308f2f7-80eb-42ab-a109-08a33e6dcc2d",
    "smart_objects": [{
      "uuid": "22ec3dec-4df8-4643-8c68-01b72fa506f5",
      "asset": {
        "url": "https://dynamicmockups.com/logo.png",
        "color": "#ffd667"
      }
    }]
  })
}).then((response) => response.json())

Community

Join our Slack Community where you can chat with other developers using the API, get help with the implementation or request additional features.

Support

For support, you can reach out to our customer service team at support@dynamicmockups.com or visit our documentation page at Dynamic Mockups Documentation.

About

Dynamic Mockups helps you auto-generate Mockups at Scale from Photoshop Templates via API

Resources

Stars

9 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors