AI Cleanup

Add "ai_cleanup" to any screenshot or PDF request to automatically remove cookie consent banners, chat widgets, and popups before capture.

"fast"

Heuristic-based removal. Targets known libraries (OneTrust, CookieBot, Intercom, Drift, etc.) and generic overlay patterns. No extra latency. Costs 1 credit (same as a normal render).

"thorough"

Heuristic removal first, then AI-powered analysis to catch remaining overlays. Adds 2-5 seconds of latency. Costs 3 credits per render.

Example

POST /v1/screenshot
{
  "url": "https://example.com",
  "format": "png",
  "ai_cleanup": "fast"
}

// Or for thorough AI-powered cleanup:
{
  "url": "https://example.com",
  "format": "png",
  "ai_cleanup": "thorough"
}