{
    "openapi": "3.1.0",
    "info": {
        "title": "Dynamic Mockups Public API",
        "version": "1.0.0",
        "summary": "Generate photorealistic product mockups and print files programmatically.",
        "description": "Render artwork onto product mockups at scale.\n\nAuthenticate with an `x-api-key` header — create a key at https://app.dynamicmockups.com/dashboard-api/.\n\n**The usual flow:** call `listMockups` for a `mockup_uuid`, `listMockupSmartObjects` for the print areas, then `createRender` (one image) or `createBatchRender` (many in one round trip). Renders are synchronous and cost one credit each; the AI endpoints (MockAnything, Motion Mockups) are asynchronous and are polled.\n\nThis document covers the public API in full. Narrative docs, examples and SDKs: https://docs.dynamicmockups.com",
        "termsOfService": "https://dynamicmockups.com/terms-of-service/",
        "contact": {
            "name": "Dynamic Mockups",
            "url": "https://dynamicmockups.com/contact/",
            "email": "luka@dynamicmockups.com"
        }
    },
    "servers": [
        {
            "url": "https://app.dynamicmockups.com",
            "description": "Production. Note this is app.dynamicmockups.com, not the marketing site this document is served from."
        }
    ],
    "externalDocs": {
        "description": "Narrative documentation and examples",
        "url": "https://docs.dynamicmockups.com"
    },
    "tags": [
        {
            "name": "Account",
            "description": "Who a key belongs to."
        },
        {
            "name": "Mockups",
            "description": "The templates you can render onto."
        },
        {
            "name": "Renders",
            "description": "Turning artwork plus a mockup into an image or a print file."
        },
        {
            "name": "Collections",
            "description": "Saved sets of mockups."
        },
        {
            "name": "Catalogs",
            "description": "Mockups grouped for a storefront or client."
        },
        {
            "name": "PSD",
            "description": "Bringing your own Photoshop templates in."
        },
        {
            "name": "MockAnything AI",
            "description": "Generating mockups from a photo, with no PSD."
        },
        {
            "name": "Motion Mockups",
            "description": "Turning a mockup into a short video."
        },
        {
            "name": "Tools",
            "description": "Standalone image effects."
        }
    ],
    "security": [
        {
            "ApiKeyAuth": []
        }
    ],
    "paths": {
        "/api/v1/mockups": {
            "get": {
                "operationId": "listMockups",
                "summary": "List the mockups available to this key",
                "description": "Every mockup template the workspace can render — its own uploaded PSDs and the templates it has access to. Start here: a render needs a `mockup_uuid` from this list.",
                "tags": [
                    "Mockups"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The mockups this key can render.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Mockup"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mockups/extended": {
            "get": {
                "operationId": "listMockupsExtended",
                "summary": "List mockups with their smart objects",
                "description": "The same list as listMockups, with each mockup's smart objects inlined. One call instead of one per mockup when you are building a render plan.",
                "tags": [
                    "Mockups"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Mockups with their smart objects.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Mockup"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mockup/{mockup_uuid}": {
            "get": {
                "operationId": "getMockup",
                "summary": "Get one mockup",
                "tags": [
                    "Mockups"
                ],
                "description": "One mockup template by UUID.",
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "mockup_uuid",
                        "in": "path",
                        "required": true,
                        "description": "The mockup template UUID.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The mockup.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Mockup"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such mockup, task or resource.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mockups/{mockup_uuid}/smartObjects": {
            "get": {
                "operationId": "listMockupSmartObjects",
                "summary": "List a mockup's smart objects",
                "description": "The printable areas of one mockup. Each has a UUID you pass in `smart_objects[].uuid` when rendering.",
                "tags": [
                    "Mockups"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "mockup_uuid",
                        "in": "path",
                        "required": true,
                        "description": "The mockup template UUID.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The mockup's smart objects.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/SmartObject"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such mockup, task or resource.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/renders": {
            "post": {
                "operationId": "createRender",
                "summary": "Render one mockup",
                "description": "The core call. Place artwork into one mockup's smart objects and get back a hosted image URL. Costs one render credit on success. Synchronous — the response carries the finished image.",
                "tags": [
                    "Renders"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "mockup_uuid",
                                    "smart_objects"
                                ],
                                "properties": {
                                    "mockup_uuid": {
                                        "type": "string",
                                        "description": "Which mockup to render."
                                    },
                                    "export_label": {
                                        "type": "string",
                                        "description": "Your own label, echoed back on the result."
                                    },
                                    "export_options": {
                                        "type": "object",
                                        "description": "How the rendered image is returned.",
                                        "properties": {
                                            "image_format": {
                                                "type": "string",
                                                "enum": [
                                                    "jpg",
                                                    "png",
                                                    "webp"
                                                ],
                                                "default": "png"
                                            },
                                            "image_size": {
                                                "type": "integer",
                                                "maximum": 5000,
                                                "description": "Longest edge in px. Maximum 5000."
                                            },
                                            "mode": {
                                                "type": "string",
                                                "enum": [
                                                    "download",
                                                    "view"
                                                ],
                                                "description": "Content-Disposition of the returned URL."
                                            }
                                        }
                                    },
                                    "smart_objects": {
                                        "type": "array",
                                        "minItems": 1,
                                        "items": {
                                            "type": "object",
                                            "description": "One smart object inside the mockup, and the artwork to place in it.",
                                            "required": [
                                                "uuid"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string",
                                                    "description": "Smart-object UUID, from GET /mockups/{mockup_uuid}/smartObjects."
                                                },
                                                "asset": {
                                                    "type": "object",
                                                    "description": "The artwork. Give EITHER `url` or `file`, never both.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "format": "uri",
                                                            "description": "Publicly reachable artwork URL. Must be HTTPS."
                                                        },
                                                        "file": {
                                                            "type": "string",
                                                            "format": "binary",
                                                            "description": "Multipart upload. png, jpg, jpeg, webp or gif, up to 20 MB."
                                                        },
                                                        "position": {
                                                            "type": "object",
                                                            "properties": {
                                                                "top": {
                                                                    "type": "number",
                                                                    "description": "Offset from the top of the print area, in px."
                                                                },
                                                                "left": {
                                                                    "type": "number",
                                                                    "description": "Offset from the left of the print area, in px."
                                                                }
                                                            }
                                                        },
                                                        "size": {
                                                            "type": "object",
                                                            "properties": {
                                                                "width": {
                                                                    "type": "number",
                                                                    "description": "Artwork width in px."
                                                                },
                                                                "height": {
                                                                    "type": "number",
                                                                    "description": "Artwork height in px."
                                                                }
                                                            }
                                                        },
                                                        "rotate": {
                                                            "type": "number",
                                                            "description": "Rotation in degrees."
                                                        }
                                                    }
                                                },
                                                "color": {
                                                    "type": "string",
                                                    "description": "Hex colour applied to the smart object, e.g. \"#1E88E5\"."
                                                },
                                                "blending_mode": {
                                                    "type": "string",
                                                    "description": "Photoshop blending mode name."
                                                },
                                                "adjustment_layers": {
                                                    "type": "object",
                                                    "description": "Per-smart-object image adjustments.",
                                                    "properties": {
                                                        "contrast": {
                                                            "type": "integer",
                                                            "minimum": -100,
                                                            "maximum": 100
                                                        },
                                                        "brightness": {
                                                            "type": "integer",
                                                            "minimum": -150,
                                                            "maximum": 150
                                                        },
                                                        "opacity": {
                                                            "type": "integer",
                                                            "minimum": 0,
                                                            "maximum": 100
                                                        }
                                                    }
                                                },
                                                "decoration_method": {
                                                    "type": "object",
                                                    "description": "Render-time decoration method (print finish) applied to this smart object's artwork. Only affects MockAnything templates; classic PSD mockups ignore it. Every method except universal simulates a physical print or engraving process and intentionally alters the artwork's colors (ink absorption, desaturation, fabric show-through), most visibly on dark garments. To reproduce your artwork's original colors, set method to universal. Omitting this field uses the finish the template was saved with in the app when that is universal, dtg or dtf; any other saved method falls back to universal. Scene lighting and shading still apply.",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "type": "string",
                                                            "description": "The decoration method to apply. universal = flat print that leaves artwork colors unchanged (your chosen blending_mode still applies); screen_print, dtg, dtf and uv_print are print finishes that simulate how ink sits on the material and shift artwork colors accordingly. dtg simulates water-based ink soaked into the garment: muted, matte, fabric texture shows through; on white garments the ink multiplies with the fabric (white artwork areas show the garment), on dark or colored garments a slightly chalky white underbase is added automatically. dtf simulates an opaque heat-pressed film: vivid colors on any garment color, crisp edges, satin sheen; semi-transparent pixels print chalky. dtg and dtf ignore blending_mode. laser_engrave_surface and laser_engrave_deep are engravings (the artwork acts as a stencil and its colors are replaced by the engraved material); deboss is a pressed-in impression.",
                                                            "enum": [
                                                                "universal",
                                                                "screen_print",
                                                                "dtg",
                                                                "dtf",
                                                                "uv_print",
                                                                "laser_engrave_surface",
                                                                "laser_engrave_deep",
                                                                "deboss"
                                                            ],
                                                            "example": "deboss"
                                                        },
                                                        "options": {
                                                            "type": "object",
                                                            "description": "Optional fine-tuning for the selected method. Only laser_engrave_surface, laser_engrave_deep and deboss read options; any value you omit uses a sensible default.",
                                                            "properties": {
                                                                "material": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "metal",
                                                                        "leather",
                                                                        "wood"
                                                                    ],
                                                                    "description": "Simulated material finish for engrave and deboss methods.",
                                                                    "example": "metal"
                                                                },
                                                                "desaturation": {
                                                                    "type": "number",
                                                                    "description": "laser_engrave_surface: how much of the artwork color is removed (0 to 1).",
                                                                    "example": 0.15
                                                                },
                                                                "burn_darkness": {
                                                                    "type": "number",
                                                                    "description": "laser_engrave_surface: darkness of the burned engraving (0 to 1).",
                                                                    "example": 1
                                                                },
                                                                "wall_width": {
                                                                    "type": "number",
                                                                    "description": "laser_engrave_deep: width of the engraved channel walls, in pixels.",
                                                                    "example": 4
                                                                },
                                                                "groove_darkness": {
                                                                    "type": "number",
                                                                    "description": "laser_engrave_deep: shadow darkness inside the engraved grooves (0 to 1).",
                                                                    "example": 0.45
                                                                },
                                                                "depth": {
                                                                    "type": "number",
                                                                    "description": "deboss: depth of the pressed-in impression (0 to 1).",
                                                                    "example": 0.86
                                                                },
                                                                "shadow_falloff": {
                                                                    "type": "number",
                                                                    "description": "deboss: softness of the impression's shadow edge, in pixels.",
                                                                    "example": 4.5
                                                                },
                                                                "shadow_darkness": {
                                                                    "type": "number",
                                                                    "description": "deboss: darkness of the impression's shadow (0 to 1).",
                                                                    "example": 0.62
                                                                },
                                                                "highlight_brightness": {
                                                                    "type": "number",
                                                                    "description": "deboss: brightness of the raised highlight.",
                                                                    "example": 1.12
                                                                },
                                                                "center_darkening": {
                                                                    "type": "number",
                                                                    "description": "deboss: darkening toward the center of the impression (0 to 1).",
                                                                    "example": 1
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The rendered mockup.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RenderResult"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such mockup, task or resource.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/renders/batch": {
            "post": {
                "operationId": "createBatchRender",
                "summary": "Render many mockups in one call",
                "description": "One request, many renders — the same artwork across a product range, or a whole catalogue in one go. Costs one credit per render in the batch. Prefer this to looping createRender: it is a single round trip and is rate-limited as one call.",
                "tags": [
                    "Renders"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "renders"
                                ],
                                "properties": {
                                    "export_options": {
                                        "type": "object",
                                        "description": "How the rendered image is returned.",
                                        "properties": {
                                            "image_format": {
                                                "type": "string",
                                                "enum": [
                                                    "jpg",
                                                    "png",
                                                    "webp"
                                                ],
                                                "default": "png"
                                            },
                                            "image_size": {
                                                "type": "integer",
                                                "maximum": 5000,
                                                "description": "Longest edge in px. Maximum 5000."
                                            },
                                            "mode": {
                                                "type": "string",
                                                "enum": [
                                                    "download",
                                                    "view"
                                                ],
                                                "description": "Content-Disposition of the returned URL."
                                            }
                                        }
                                    },
                                    "renders": {
                                        "type": "array",
                                        "minItems": 1,
                                        "description": "One entry per mockup to render.",
                                        "items": {
                                            "type": "object",
                                            "required": [
                                                "mockup_uuid",
                                                "smart_objects"
                                            ],
                                            "properties": {
                                                "mockup_uuid": {
                                                    "type": "string"
                                                },
                                                "export_label": {
                                                    "type": "string"
                                                },
                                                "smart_objects": {
                                                    "type": "array",
                                                    "minItems": 1,
                                                    "items": {
                                                        "type": "object",
                                                        "description": "One smart object inside the mockup, and the artwork to place in it.",
                                                        "required": [
                                                            "uuid"
                                                        ],
                                                        "properties": {
                                                            "uuid": {
                                                                "type": "string",
                                                                "description": "Smart-object UUID, from GET /mockups/{mockup_uuid}/smartObjects."
                                                            },
                                                            "asset": {
                                                                "type": "object",
                                                                "description": "The artwork. Give EITHER `url` or `file`, never both.",
                                                                "properties": {
                                                                    "url": {
                                                                        "type": "string",
                                                                        "format": "uri",
                                                                        "description": "Publicly reachable artwork URL. Must be HTTPS."
                                                                    },
                                                                    "file": {
                                                                        "type": "string",
                                                                        "format": "binary",
                                                                        "description": "Multipart upload. png, jpg, jpeg, webp or gif, up to 20 MB."
                                                                    },
                                                                    "position": {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "top": {
                                                                                "type": "number",
                                                                                "description": "Offset from the top of the print area, in px."
                                                                            },
                                                                            "left": {
                                                                                "type": "number",
                                                                                "description": "Offset from the left of the print area, in px."
                                                                            }
                                                                        }
                                                                    },
                                                                    "size": {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "width": {
                                                                                "type": "number",
                                                                                "description": "Artwork width in px."
                                                                            },
                                                                            "height": {
                                                                                "type": "number",
                                                                                "description": "Artwork height in px."
                                                                            }
                                                                        }
                                                                    },
                                                                    "rotate": {
                                                                        "type": "number",
                                                                        "description": "Rotation in degrees."
                                                                    }
                                                                }
                                                            },
                                                            "color": {
                                                                "type": "string",
                                                                "description": "Hex colour applied to the smart object, e.g. \"#1E88E5\"."
                                                            },
                                                            "blending_mode": {
                                                                "type": "string",
                                                                "description": "Photoshop blending mode name."
                                                            },
                                                            "adjustment_layers": {
                                                                "type": "object",
                                                                "description": "Per-smart-object image adjustments.",
                                                                "properties": {
                                                                    "contrast": {
                                                                        "type": "integer",
                                                                        "minimum": -100,
                                                                        "maximum": 100
                                                                    },
                                                                    "brightness": {
                                                                        "type": "integer",
                                                                        "minimum": -150,
                                                                        "maximum": 150
                                                                    },
                                                                    "opacity": {
                                                                        "type": "integer",
                                                                        "minimum": 0,
                                                                        "maximum": 100
                                                                    }
                                                                }
                                                            },
                                                            "decoration_method": {
                                                                "type": "object",
                                                                "description": "Render-time decoration method (print finish) applied to this smart object's artwork. Only affects MockAnything templates; classic PSD mockups ignore it. Every method except universal simulates a physical print or engraving process and intentionally alters the artwork's colors (ink absorption, desaturation, fabric show-through), most visibly on dark garments. To reproduce your artwork's original colors, set method to universal. Omitting this field uses the finish the template was saved with in the app when that is universal, dtg or dtf; any other saved method falls back to universal. Scene lighting and shading still apply.",
                                                                "required": [
                                                                    "method"
                                                                ],
                                                                "properties": {
                                                                    "method": {
                                                                        "type": "string",
                                                                        "description": "The decoration method to apply. universal = flat print that leaves artwork colors unchanged (your chosen blending_mode still applies); screen_print, dtg, dtf and uv_print are print finishes that simulate how ink sits on the material and shift artwork colors accordingly. dtg simulates water-based ink soaked into the garment: muted, matte, fabric texture shows through; on white garments the ink multiplies with the fabric (white artwork areas show the garment), on dark or colored garments a slightly chalky white underbase is added automatically. dtf simulates an opaque heat-pressed film: vivid colors on any garment color, crisp edges, satin sheen; semi-transparent pixels print chalky. dtg and dtf ignore blending_mode. laser_engrave_surface and laser_engrave_deep are engravings (the artwork acts as a stencil and its colors are replaced by the engraved material); deboss is a pressed-in impression.",
                                                                        "enum": [
                                                                            "universal",
                                                                            "screen_print",
                                                                            "dtg",
                                                                            "dtf",
                                                                            "uv_print",
                                                                            "laser_engrave_surface",
                                                                            "laser_engrave_deep",
                                                                            "deboss"
                                                                        ],
                                                                        "example": "deboss"
                                                                    },
                                                                    "options": {
                                                                        "type": "object",
                                                                        "description": "Optional fine-tuning for the selected method. Only laser_engrave_surface, laser_engrave_deep and deboss read options; any value you omit uses a sensible default.",
                                                                        "properties": {
                                                                            "material": {
                                                                                "type": "string",
                                                                                "enum": [
                                                                                    "metal",
                                                                                    "leather",
                                                                                    "wood"
                                                                                ],
                                                                                "description": "Simulated material finish for engrave and deboss methods.",
                                                                                "example": "metal"
                                                                            },
                                                                            "desaturation": {
                                                                                "type": "number",
                                                                                "description": "laser_engrave_surface: how much of the artwork color is removed (0 to 1).",
                                                                                "example": 0.15
                                                                            },
                                                                            "burn_darkness": {
                                                                                "type": "number",
                                                                                "description": "laser_engrave_surface: darkness of the burned engraving (0 to 1).",
                                                                                "example": 1
                                                                            },
                                                                            "wall_width": {
                                                                                "type": "number",
                                                                                "description": "laser_engrave_deep: width of the engraved channel walls, in pixels.",
                                                                                "example": 4
                                                                            },
                                                                            "groove_darkness": {
                                                                                "type": "number",
                                                                                "description": "laser_engrave_deep: shadow darkness inside the engraved grooves (0 to 1).",
                                                                                "example": 0.45
                                                                            },
                                                                            "depth": {
                                                                                "type": "number",
                                                                                "description": "deboss: depth of the pressed-in impression (0 to 1).",
                                                                                "example": 0.86
                                                                            },
                                                                            "shadow_falloff": {
                                                                                "type": "number",
                                                                                "description": "deboss: softness of the impression's shadow edge, in pixels.",
                                                                                "example": 4.5
                                                                            },
                                                                            "shadow_darkness": {
                                                                                "type": "number",
                                                                                "description": "deboss: darkness of the impression's shadow (0 to 1).",
                                                                                "example": 0.62
                                                                            },
                                                                            "highlight_brightness": {
                                                                                "type": "number",
                                                                                "description": "deboss: brightness of the raised highlight.",
                                                                                "example": 1.12
                                                                            },
                                                                            "center_darkening": {
                                                                                "type": "number",
                                                                                "description": "deboss: darkening toward the center of the impression (0 to 1).",
                                                                                "example": 1
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "One result per requested render.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RenderResult"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/renders/bulk": {
            "post": {
                "operationId": "createBulkRender",
                "summary": "Render every mockup in a collection",
                "description": "Renders one artwork across a saved collection of mockups. Use when the set of mockups is a collection you maintain in the app rather than a list you assemble per call.",
                "tags": [
                    "Renders"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "description": "See docs.dynamicmockups.com/api-reference/bulk-render-mockups-api for the collection payload.",
                                "properties": {
                                    "export_options": {
                                        "type": "object",
                                        "description": "How the rendered image is returned.",
                                        "properties": {
                                            "image_format": {
                                                "type": "string",
                                                "enum": [
                                                    "jpg",
                                                    "png",
                                                    "webp"
                                                ],
                                                "default": "png"
                                            },
                                            "image_size": {
                                                "type": "integer",
                                                "maximum": 5000,
                                                "description": "Longest edge in px. Maximum 5000."
                                            },
                                            "mode": {
                                                "type": "string",
                                                "enum": [
                                                    "download",
                                                    "view"
                                                ],
                                                "description": "Content-Disposition of the returned URL."
                                            }
                                        }
                                    }
                                },
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "One result per mockup in the collection.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RenderResult"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/renders/print-files": {
            "post": {
                "operationId": "createPrintFiles",
                "summary": "Render production-ready print files",
                "description": "Returns the print file rather than the mockup image — the artwork laid out at the print area's real dimensions, for sending to production.",
                "tags": [
                    "Renders"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "mockup_uuid",
                                    "smart_objects"
                                ],
                                "properties": {
                                    "mockup_uuid": {
                                        "type": "string"
                                    },
                                    "export_options": {
                                        "type": "object",
                                        "description": "How the rendered image is returned.",
                                        "properties": {
                                            "image_format": {
                                                "type": "string",
                                                "enum": [
                                                    "jpg",
                                                    "png",
                                                    "webp"
                                                ],
                                                "default": "png"
                                            },
                                            "image_size": {
                                                "type": "integer",
                                                "maximum": 5000,
                                                "description": "Longest edge in px. Maximum 5000."
                                            },
                                            "mode": {
                                                "type": "string",
                                                "enum": [
                                                    "download",
                                                    "view"
                                                ],
                                                "description": "Content-Disposition of the returned URL."
                                            }
                                        }
                                    },
                                    "smart_objects": {
                                        "type": "array",
                                        "minItems": 1,
                                        "items": {
                                            "type": "object",
                                            "description": "One smart object inside the mockup, and the artwork to place in it.",
                                            "required": [
                                                "uuid"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string",
                                                    "description": "Smart-object UUID, from GET /mockups/{mockup_uuid}/smartObjects."
                                                },
                                                "asset": {
                                                    "type": "object",
                                                    "description": "The artwork. Give EITHER `url` or `file`, never both.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "format": "uri",
                                                            "description": "Publicly reachable artwork URL. Must be HTTPS."
                                                        },
                                                        "file": {
                                                            "type": "string",
                                                            "format": "binary",
                                                            "description": "Multipart upload. png, jpg, jpeg, webp or gif, up to 20 MB."
                                                        },
                                                        "position": {
                                                            "type": "object",
                                                            "properties": {
                                                                "top": {
                                                                    "type": "number",
                                                                    "description": "Offset from the top of the print area, in px."
                                                                },
                                                                "left": {
                                                                    "type": "number",
                                                                    "description": "Offset from the left of the print area, in px."
                                                                }
                                                            }
                                                        },
                                                        "size": {
                                                            "type": "object",
                                                            "properties": {
                                                                "width": {
                                                                    "type": "number",
                                                                    "description": "Artwork width in px."
                                                                },
                                                                "height": {
                                                                    "type": "number",
                                                                    "description": "Artwork height in px."
                                                                }
                                                            }
                                                        },
                                                        "rotate": {
                                                            "type": "number",
                                                            "description": "Rotation in degrees."
                                                        }
                                                    }
                                                },
                                                "color": {
                                                    "type": "string",
                                                    "description": "Hex colour applied to the smart object, e.g. \"#1E88E5\"."
                                                },
                                                "blending_mode": {
                                                    "type": "string",
                                                    "description": "Photoshop blending mode name."
                                                },
                                                "adjustment_layers": {
                                                    "type": "object",
                                                    "description": "Per-smart-object image adjustments.",
                                                    "properties": {
                                                        "contrast": {
                                                            "type": "integer",
                                                            "minimum": -100,
                                                            "maximum": 100
                                                        },
                                                        "brightness": {
                                                            "type": "integer",
                                                            "minimum": -150,
                                                            "maximum": 150
                                                        },
                                                        "opacity": {
                                                            "type": "integer",
                                                            "minimum": 0,
                                                            "maximum": 100
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The print file.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RenderResult"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/collections": {
            "get": {
                "operationId": "listCollections",
                "summary": "List mockup collections",
                "description": "The saved sets of mockups in this workspace. A collection UUID is what createBulkRender renders across.",
                "tags": [
                    "Collections"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The workspace's collections.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "additionalProperties": true
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/catalogs": {
            "get": {
                "operationId": "listCatalogs",
                "summary": "List catalogs",
                "description": "Catalogs group mockups for a storefront or a client.",
                "tags": [
                    "Catalogs"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The workspace's catalogs.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "createCatalog",
                "summary": "Create a catalog",
                "tags": [
                    "Catalogs"
                ],
                "description": "Create a catalog of mockups.",
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "The created catalog.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/psd/upload": {
            "post": {
                "operationId": "uploadPsd",
                "summary": "Upload your own Photoshop mockup",
                "description": "Turn a PSD into a renderable mockup. Its smart objects become the print areas you address in a render. Separately rate-limited from the render endpoints.",
                "tags": [
                    "PSD"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "file": {
                                        "type": "string",
                                        "format": "binary",
                                        "description": "The .psd file."
                                    }
                                },
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The uploaded mockup, with the smart objects found in it.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mock-anything/create": {
            "post": {
                "operationId": "createMockAnything",
                "summary": "Generate an AI mockup from a photo",
                "description": "MockAnything: give it a product photo and artwork and it generates a mockup without a PSD template. Asynchronous — returns a task id to poll with getMockAnythingStatus.",
                "tags": [
                    "MockAnything AI"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The queued task.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Task"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mock-anything/status/{taskId}": {
            "get": {
                "operationId": "getMockAnythingStatus",
                "summary": "Poll an AI mockup task",
                "description": "Poll until `status` is a terminal value. The finished image arrives on this response.",
                "tags": [
                    "MockAnything AI"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "taskId",
                        "in": "path",
                        "required": true,
                        "description": "The task id returned by createMockAnything.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Task state, and the result once finished.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Task"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such mockup, task or resource.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mock-anything/products": {
            "get": {
                "operationId": "listMockAnythingProducts",
                "summary": "List MockAnything product types",
                "description": "The print-on-demand product types MockAnything can generate onto.",
                "tags": [
                    "MockAnything AI"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Product types.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/mock-anything/styles": {
            "get": {
                "operationId": "listMockAnythingStyles",
                "summary": "List MockAnything scene styles",
                "description": "The scene styles a generated mockup can be rendered in.",
                "tags": [
                    "MockAnything AI"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Styles.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/motion-mockups/models": {
            "get": {
                "operationId": "listMotionMockupModels",
                "summary": "List video-mockup models",
                "description": "The image-to-video models available for motion mockups.",
                "tags": [
                    "Motion Mockups"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Available models.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/motion-mockups/submit": {
            "post": {
                "operationId": "submitMotionMockup",
                "summary": "Turn a mockup into a video",
                "description": "Submits an image-to-video job. Asynchronous — poll getMotionMockupStatus with the returned request id. Rate-limited to 10 submissions a minute.",
                "tags": [
                    "Motion Mockups"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The queued job.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Task"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/motion-mockups/status/{requestId}": {
            "get": {
                "operationId": "getMotionMockupStatus",
                "summary": "Poll a video-mockup job",
                "description": "Poll until the job finishes; the video URL arrives on this response.",
                "tags": [
                    "Motion Mockups"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "requestId",
                        "in": "path",
                        "required": true,
                        "description": "The request id returned by submitMotionMockup.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Job state, and the video once finished.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Task"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "No such mockup, task or resource.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/tools/embroidery": {
            "post": {
                "operationId": "applyEmbroideryEffect",
                "summary": "Apply an embroidery effect to artwork",
                "description": "Returns a flat PNG of the artwork styled to look embroidered. This is an image filter, NOT digitizing — it produces no stitch plan and no machine file. The true digitizer (Stitch AI) lives in the mockup editor and is not part of this public API.",
                "tags": [
                    "Tools"
                ],
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "additionalProperties": true
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The embroidery-styled image.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": true
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "The request body failed validation. `errors` names the offending fields.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Missing or invalid `x-api-key`.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "402": {
                        "description": "Not enough render credits on the workspace.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Rate limit exceeded. Back off and retry.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Render or upstream engine failure.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "ApiKeyAuth": {
                "type": "apiKey",
                "in": "header",
                "name": "x-api-key",
                "description": "Workspace API key. Create one at https://app.dynamicmockups.com/dashboard-api/. Every call is scoped to that key's workspace."
            }
        },
        "schemas": {
            "Error": {
                "type": "object",
                "description": "Every failure is JSON in this shape.",
                "required": [
                    "message"
                ],
                "properties": {
                    "message": {
                        "type": "string",
                        "description": "What went wrong, in plain language."
                    },
                    "errors": {
                        "type": "object",
                        "description": "Present on validation failures: field name to the list of problems with it.",
                        "additionalProperties": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                },
                "examples": [
                    {
                        "message": "Unauthorized"
                    },
                    {
                        "message": "The given data was invalid.",
                        "errors": {
                            "mockup_uuid": [
                                "The mockup uuid field is required."
                            ]
                        }
                    }
                ]
            },
            "User": {
                "type": "object",
                "description": "The account an API key belongs to.",
                "properties": {
                    "data": {
                        "type": "object",
                        "additionalProperties": true
                    }
                }
            },
            "Mockup": {
                "type": "object",
                "description": "A mockup template.",
                "properties": {
                    "uuid": {
                        "type": "string",
                        "description": "Pass this as `mockup_uuid` when rendering."
                    },
                    "name": {
                        "type": "string"
                    },
                    "thumbnail": {
                        "type": "string",
                        "format": "uri"
                    },
                    "smart_objects": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/SmartObject"
                        },
                        "description": "Present on the extended endpoints."
                    }
                },
                "additionalProperties": true
            },
            "SmartObject": {
                "type": "object",
                "description": "One printable area of a mockup.",
                "properties": {
                    "uuid": {
                        "type": "string",
                        "description": "Pass this as `smart_objects[].uuid` when rendering."
                    },
                    "name": {
                        "type": "string",
                        "description": "The layer name from the PSD."
                    }
                },
                "additionalProperties": true
            },
            "RenderResult": {
                "type": "object",
                "description": "A finished render.",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "export_path": {
                                "type": "string",
                                "format": "uri",
                                "description": "The rendered image. Fetch it and store it — treat the URL as temporary."
                            },
                            "export_label": {
                                "type": "string",
                                "description": "The label you sent, echoed back so you can match results to requests."
                            },
                            "status": {
                                "type": "string",
                                "example": "success"
                            }
                        },
                        "additionalProperties": true
                    }
                }
            },
            "Task": {
                "type": "object",
                "description": "An asynchronous job. Poll its status endpoint until it reaches a terminal state.",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "task_id": {
                                "type": "string"
                            },
                            "status": {
                                "type": "string",
                                "description": "Queued, processing, or a terminal state."
                            }
                        },
                        "additionalProperties": true
                    }
                }
            }
        }
    }
}