{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lovpics-com/json-schema/lovpics-com-apparel-request-schema.json",
  "title": "ApparelRequest",
  "description": "Request model for apparel generation.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lovpics-com-openapi.json#/components/schemas/ApparelRequest",
  "properties": {
    "uploadedModelImage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Uploadedmodelimage",
      "description": "Base64 data URL of uploaded model image"
    },
    "selectedModelDescription": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Selectedmodeldescription",
      "description": "Description of selected AI model"
    },
    "promptedModelDescription": {
      "type": "string",
      "title": "Promptedmodeldescription",
      "description": "User-prompted model description"
    },
    "apparelItems": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Apparelitems",
      "description": "List of apparel items with base64 data"
    },
    "scene": {
      "additionalProperties": true,
      "type": "object",
      "title": "Scene",
      "description": "Scene configuration"
    },
    "apparelControls": {
      "additionalProperties": true,
      "type": "object",
      "title": "Apparelcontrols",
      "description": "Apparel 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"
    },
    "modelLightingDescription": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Modellightingdescription",
      "description": "Model lighting description"
    },
    "baseLookImageB64": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Baselookimageb64",
      "description": "Base look image for pack generation"
    },
    "poseReferenceImageB64": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Posereferenceimageb64",
      "description": "Base64 data URL of pose reference image for matching pose"
    },
    "poseReferenceExactMatch": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Posereferenceexactmatch",
      "description": "If true (e.g. user-uploaded pose plate), prompts prioritize matching the reference pose and framing exactly",
      "default": false
    },
    "animation": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Animation",
      "description": "Animation settings"
    },
    "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 (colors, typography, style)"
    },
    "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/styling 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; if false, only the first image in the batch does (split generation)",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "promptedModelDescription",
    "apparelItems",
    "scene",
    "apparelControls",
    "aspectRatio"
  ]
}