{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/createprints-ai/json-schema/createprints-ai-create-artwork-multipart-schema.json",
  "title": "CreateArtworkMultipart",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/createprints-ai-openapi.yml#/components/schemas/CreateArtworkMultipart",
  "type": "object",
  "required": [
    "inputType",
    "size"
  ],
  "properties": {
    "inputType": {
      "type": "string",
      "enum": [
        "describe",
        "printPhoto",
        "interiorPhoto"
      ]
    },
    "size": {
      "type": "string"
    },
    "prompt": {
      "type": "string",
      "description": "Required for `describe` unless an image is supplied."
    },
    "image": {
      "type": "string",
      "format": "binary",
      "description": "Required for photo inputs; optional for `describe`."
    },
    "keywords": {
      "type": "string",
      "description": "Comma-separated values or a JSON array encoded as a form field."
    },
    "colors": {
      "type": "string",
      "description": "Comma-separated values or a JSON array encoded as a form field."
    },
    "styleId": {
      "type": "string"
    },
    "seedId": {
      "type": "string"
    },
    "creativeDirection": {
      "type": "string"
    },
    "forceOriginalPrompt": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ],
      "default": "false"
    },
    "revision": {
      "type": "string",
      "enum": [
        "true",
        "false"
      ],
      "default": "false"
    }
  }
}