API Documentation

Everything you need to integrate Cloak.ai into your applications.

Getting Started

The Cloak.ai API allows you to programmatically anonymize images by detecting and redacting sensitive information like names, emails, phone numbers, and addresses.

Secure

Images are processed in memory and never stored.

Fast

Powered by Google Gemini for sub-second processing.

Simple

RESTful API with SDKs for Python and JavaScript.

Base URL

url
https://cloak.ai/api

Quick Example

bash
curl -X POST https://cloak.ai/api/anonymize \
  -H "Authorization: Bearer clk_live_your_api_key" \
  -F "image=@screenshot.png" \
  -F "mode=replace" \
  -F "detect[]=pii" \
  -F "detect[]=email"