{
  "openapi": "3.1.0",
  "info": {
    "title": "Drop & Convert API",
    "version": "1.2.0",
    "description": "Free synchronous conversion API. 25 images, 10 MB each, 50 MB per batch. One shared worker, 30 requests/minute globally."
  },
  "servers": [
    {
      "url": "https://dropandconvert.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "paths": {
    "/api/v1/convert": {
      "post": {
        "operationId": "convert",
        "summary": "Convert images",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files",
                  "format"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpg",
                      "png",
                      "webp",
                      "avif",
                      "bmp",
                      "tiff",
                      "gif",
                      "ico",
                      "tga",
                      "ppm",
                      "pgm",
                      "pbm",
                      "pam",
                      "pcx",
                      "qoi"
                    ]
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 100,
                        "maximum": 4096
                      }
                    ],
                    "default": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/optimize": {
      "post": {
        "operationId": "optimize",
        "summary": "Compress and resize images",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpg",
                      "png",
                      "webp",
                      "avif",
                      "bmp",
                      "tiff",
                      "gif",
                      "ico",
                      "tga",
                      "ppm",
                      "pgm",
                      "pbm",
                      "pam",
                      "pcx",
                      "qoi"
                    ],
                    "default": "webp"
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 100,
                        "maximum": 4096
                      }
                    ],
                    "default": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/images-to-pdf": {
      "post": {
        "operationId": "images_to_pdf",
        "summary": "Combine images into PDF",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpg",
                      "png",
                      "webp",
                      "avif",
                      "bmp",
                      "tiff",
                      "gif",
                      "ico",
                      "tga",
                      "ppm",
                      "pgm",
                      "pbm",
                      "pam",
                      "pcx",
                      "qoi"
                    ]
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 100,
                        "maximum": 4096
                      }
                    ],
                    "default": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/crop": {
      "post": {
        "operationId": "crop",
        "summary": "Crop images",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files",
                  "x",
                  "y",
                  "width",
                  "height"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpg",
                      "png",
                      "webp",
                      "avif",
                      "bmp",
                      "tiff",
                      "gif",
                      "ico",
                      "tga",
                      "ppm",
                      "pgm",
                      "pbm",
                      "pam",
                      "pcx",
                      "qoi"
                    ],
                    "default": "png"
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 100,
                        "maximum": 4096
                      }
                    ],
                    "default": 0
                  },
                  "x": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 19999,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  },
                  "y": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 19999,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  },
                  "width": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 20000,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  },
                  "height": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 20000,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Extract a pixel rectangle from each image."
      }
    },
    "/api/v1/rotate": {
      "post": {
        "operationId": "rotate",
        "summary": "Rotate & mirror",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpg",
                      "png",
                      "webp",
                      "avif",
                      "bmp",
                      "tiff",
                      "gif",
                      "ico",
                      "tga",
                      "ppm",
                      "pgm",
                      "pbm",
                      "pam",
                      "pcx",
                      "qoi"
                    ],
                    "default": "png"
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 100,
                        "maximum": 4096
                      }
                    ],
                    "default": 0
                  },
                  "rotation": {
                    "type": "integer",
                    "enum": [
                      0,
                      90,
                      180,
                      270
                    ],
                    "default": 90,
                    "description": "Clockwise degrees, before mirroring."
                  },
                  "flip": {
                    "type": "string",
                    "enum": [
                      "none",
                      "horizontal",
                      "vertical"
                    ],
                    "default": "none"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Rotate clockwise and optionally mirror horizontally or vertically."
      }
    },
    "/api/v1/grayscale": {
      "post": {
        "operationId": "grayscale",
        "summary": "Grayscale images",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpg",
                      "png",
                      "webp",
                      "avif",
                      "bmp",
                      "tiff",
                      "gif",
                      "ico",
                      "tga",
                      "ppm",
                      "pgm",
                      "pbm",
                      "pam",
                      "pcx",
                      "qoi"
                    ],
                    "default": "png"
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 100,
                        "maximum": 4096
                      }
                    ],
                    "default": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Turn color images into monochrome images."
      }
    },
    "/api/v1/redact": {
      "post": {
        "operationId": "redact",
        "summary": "Redact images",
        "security": [
          {
            "ApiKey": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "required": [
                  "files",
                  "x",
                  "y",
                  "width",
                  "height"
                ],
                "properties": {
                  "files": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 25,
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "JPG/JPEG, static PNG or single-page TIFF only. Every image must contain the rectangle after orientation correction; a failed image fails the whole batch."
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "png"
                    ],
                    "default": "png"
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 40,
                    "maximum": 95,
                    "default": 80
                  },
                  "maxWidth": {
                    "type": "integer",
                    "const": 0,
                    "default": 0,
                    "description": "Redaction preserves original oriented dimensions."
                  },
                  "x": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 19999,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  },
                  "y": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 19999,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  },
                  "width": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 20000,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  },
                  "height": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 20000,
                    "description": "Pixels after orientation correction; the rectangle must fit every image."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Converted download",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "408": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Busy or rate limited; retry with backoff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Request failed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Replace one rectangle with opaque black pixels in JPG, PNG or single-page TIFF images. PNG output, original dimensions, no automatic detection."
      }
    }
  }
}
