{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lovpics-com/json-schema/lovpics-com-product-request-schema.json",
  "title": "ProductRequest",
  "description": "Request model for product generation.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lovpics-com-openapi.json#/components/schemas/ProductRequest",
  "properties": {
    "stagedAssets": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Stagedassets",
      "description": "List of staged assets with positioning and scaling"
    },
    "scene": {
      "additionalProperties": true,
      "type": "object",
      "title": "Scene",
      "description": "Scene configuration"
    },
    "productControls": {
      "additionalProperties": true,
      "type": "object",
      "title": "Productcontrols",
      "description": "Product creative controls"
    },
    "aspectRatio": {
      "type": "string",
      "title": "Aspectratio",
      "description": "Target aspect ratio"
    },
    "numberOfImages": {
      "type": "integer",
      "maximum": 8.0,
      "minimum": 1.0,
      "title": "Numberofimages",
      "description": "Number of images to generate (1-8)",
      "default": 1
    },
    "styleDescription": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Styledescription",
      "description": "Artistic style description"
    },
    "modelReference": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Modelreference",
      "description": "Optional model reference details (image/description)"
    },
    "modelType": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Modeltype",
      "description": "Model type: 'basic' or 'pro'",
      "default": "basic"
    },
    "imageOutputSize": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Imageoutputsize",
      "description": "Pro output resolution: 1K, 2K, or 4K (basic always 1K)",
      "default": "1K"
    },
    "brand": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand",
      "description": "Brand kit for visual consistency"
    },
    "previous_generations": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Generations",
      "description": "Last N generated image URLs for style continuity"
    },
    "includeProductInfographic": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Includeproductinfographic",
      "description": "If true, prompt requests on-image product infographic labels",
      "default": false
    },
    "productInfographicAllInBatch": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Productinfographicallinbatch",
      "description": "If true with multiple images in one request, every image gets infographics",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "stagedAssets",
    "scene",
    "productControls",
    "aspectRatio"
  ]
}