{
  "name": "Stash (File Hosting)",
  "description": "Upload and host any file (images, videos, audio, PDFs, documents, etc.) on a global CDN. Get a public URL instantly. Public URLs: https://stash.withzero.ai/f/:id/:filename. \n\nSIZE LIMITS (declared via sizeTier — pick the smallest tier ≥ your file):\n  • tiny:   ≤ 1 MB   ($0.001/upload)\n  • small:  ≤ 10 MB  ($0.005/upload)\n  • medium: ≤ 50 MB  ($0.010/upload)\n  • large:  ≤ 95 MB  ($0.020/upload)\nHARD CEILING: 95 MB. Files >95 MB are rejected at the Cloudflare edge with HTTP 413 before the Worker sees them.\n\nTWO ENDPOINTS:\n  • POST /run    — JSON {sizeTier, data (base64), filename, contentType?, slug?, ttlDays?}. Use for files ≤10 MB. Base64 inflates payload ~33%, so practical ceiling through /run is ~71 MB decoded.\n  • POST /upload — multipart/form-data {file, sizeTier, slug?, ttlDays?}. Preferred for any file >10 MB — no base64 overhead, file streams directly to storage.\n\nReturns: {url, id, filename, contentType, bytes, expiresAt, sizeTier, chargedUsd}. Files are served by Bunny CDN with correct content-type headers (images/video/audio/PDFs inline, others download). TTL: 1-90 days, default 30. Payment via MPP (USDC.e on Tempo mainnet)."
}