sudomock-com · Schema

PhotoMockupCreateRequest

Create a reusable photo mockup from one source image.

MockupPSDE-CommerceAutomation

Properties

Name Type Description
source_url object Public HTTPS URL of the source image.
source_base64 object Base64-encoded source image, with or without a data URL prefix.
name object Optional display name for the mockup.
is_async boolean If true, the mockup is QUEUED and the call returns 202 immediately with a job_id (poll GET /api/v1/jobs/{job_id}, or receive a webhook if one is configured); result_url carries the new mockup_uuid on
print_areas object Optional: 1-8 convex four-point printable areas in source-image pixels. When provided, these areas are used verbatim and automatic print-area detection is skipped.
View JSON Schema on GitHub

JSON Schema

sudomock-com-photo-mockup-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sudomock-com/json-schema/sudomock-com-photo-mockup-create-request-schema.json",
  "title": "PhotoMockupCreateRequest",
  "description": "Create a reusable photo mockup from one source image.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sudomock-com-photo-mockups-api-openapi.yml#/components/schemas/PhotoMockupCreateRequest",
  "properties": {
    "source_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Public HTTPS URL of the source image."
    },
    "source_base64": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Base64-encoded source image, with or without a data URL prefix."
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional display name for the mockup."
    },
    "is_async": {
      "type": "boolean",
      "description": "If true, the mockup is QUEUED and the call returns 202 immediately with a job_id (poll GET /api/v1/jobs/{job_id}, or receive a webhook if one is configured); result_url carries the new mockup_uuid on success. If false (default), the create runs synchronously and returns the mockup.",
      "default": false
    },
    "print_areas": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/PhotoMockupPrintAreaInput"
          },
          "type": "array",
          "maxItems": 8,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional: 1-8 convex four-point printable areas in source-image pixels. When provided, these areas are used verbatim and automatic print-area detection is skipped."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "$defs": {
    "PhotoMockupPrintAreaInput": {
      "properties": {
        "points": {
          "items": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "type": "array",
          "maxItems": 4,
          "minItems": 4,
          "description": "Four [x, y] points in image coordinates."
        },
        "name": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 120
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional print-area label, e.g. \"Front\" or \"Back\"."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "points"
      ],
      "title": "PhotoMockupPrintAreaInput",
      "description": "Four image coordinates defining one printable area."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sudomock-com-photo-mockup-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.