Use Direct mode for personal browsing with your own Danbooru login + API key. Use Proxy mode when deploying on Cloudflare with a Pages Function route such as /api/danbooru. In proxy mode, browser credentials are optional and usually unnecessary when the route is configured with server-side env vars.