{
  "openapi": "3.0.1",
  "info": {
    "title": "Image & Video Anonymizer — Blur Faces & License Plates (GDPR)",
    "description": "Blur, pixelate or redact faces and license plates in photos and videos for GDPR/LGPD privacy compliance. Bulk URLs in, anonymized files out. Removes EXIF/GPS metadata. Own models; files never sent to third parties.",
    "version": "0.2",
    "x-build-id": "ba70cnj53XiMEudhH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/adorable_partial~image-anonymizer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-adorable_partial-image-anonymizer",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/adorable_partial~image-anonymizer/runs": {
      "post": {
        "operationId": "runs-sync-adorable_partial-image-anonymizer",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/adorable_partial~image-anonymizer/run-sync": {
      "post": {
        "operationId": "run-sync-adorable_partial-image-anonymizer",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "imageUrls": {
            "title": "Image URLs",
            "type": "array",
            "description": "Direct links to images (JPEG, PNG, WebP, BMP, TIFF). Public Google Drive and Dropbox share links are supported.",
            "items": {
              "type": "string"
            }
          },
          "videoUrls": {
            "title": "Video URLs",
            "type": "array",
            "description": "Direct links to videos (MP4, MOV, WebM, MKV, AVI...). Output is an H.264 MP4 with faces and plates blurred in every frame. Billed per started minute of video.",
            "items": {
              "type": "string"
            }
          },
          "blurFaces": {
            "title": "Blur faces",
            "type": "boolean",
            "description": "Detect and anonymize human faces.",
            "default": true
          },
          "blurPlates": {
            "title": "Blur license plates",
            "type": "boolean",
            "description": "Detect and anonymize vehicle license plates. Plates at sharp angles, very far away or heavily motion-blurred may be missed; review critical files.",
            "default": true
          },
          "method": {
            "title": "Anonymization method",
            "enum": [
              "blur",
              "pixelate",
              "solid"
            ],
            "type": "string",
            "description": "blur = strong irreversible blur, pixelate = mosaic blocks, solid = black box.",
            "default": "blur"
          },
          "detectSmallFaces": {
            "title": "Detect small / distant faces",
            "type": "boolean",
            "description": "Also scan an upscaled copy to catch tiny faces in crowds. Slower.",
            "default": false
          },
          "paddingPercent": {
            "title": "Padding around detections (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Enlarge each detected region by this percentage so hair, ears and plate frames are covered too.",
            "default": 20
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "jpeg",
              "png",
              "webp"
            ],
            "type": "string",
            "description": "Format of the anonymized images. All EXIF/GPS metadata is always removed.",
            "default": "jpeg"
          },
          "jpegQuality": {
            "title": "JPEG / WebP quality",
            "minimum": 50,
            "maximum": 100,
            "type": "integer",
            "description": "Compression quality for JPEG and WebP output (higher = better quality, larger files).",
            "default": 92
          },
          "includeDetections": {
            "title": "Include detection boxes",
            "type": "boolean",
            "description": "Add the coordinates of every blurred face and plate to the results.",
            "default": true
          },
          "videoQuality": {
            "title": "Video detection mode",
            "enum": [
              "standard",
              "thorough"
            ],
            "type": "string",
            "description": "How often faces and plates are detected in videos. Boxes are carried between detections. Thorough catches fast-moving cars and people better and costs more.",
            "default": "standard"
          },
          "keepAudio": {
            "title": "Keep audio",
            "type": "boolean",
            "description": "Keep the original audio track (re-encoded to AAC). Turn off to remove voices and sounds.",
            "default": true
          },
          "maxVideoMinutes": {
            "title": "Max minutes per video",
            "minimum": 1,
            "type": "integer",
            "description": "Only the first N minutes of each video are processed and billed.",
            "default": 60
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}