{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whenever-dev/json-schema/whenever-dev-post-v10-removebg-request-schema.json",
  "title": "PostV10RemovebgRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/whenever-dev-openapi-generated.yml#/components/schemas/PostV10RemovebgRequest",
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "Uploaded image file"
    },
    "image_url": {
      "type": "string",
      "description": "URL of the image to process"
    },
    "size": {
      "type": "string",
      "description": "Desired output size (e.g., auto, 10MP, 50MP)"
    },
    "type": {
      "type": "string",
      "description": "Subject type (product, person, car, animal, etc.)"
    },
    "format": {
      "type": "string",
      "description": "Output format (png, jpg, webp, zip)"
    },
    "bg_color": {
      "type": "string",
      "description": "Background color for non‑transparent outputs"
    },
    "crop": {
      "type": "string",
      "description": "Whether to crop the result"
    },
    "crop_margin": {
      "type": "string",
      "description": "Margin to apply when cropping"
    }
  }
}