Skip to main content
POST
Upload Base64 File
  • Supports Data URL format (e.g. data:image/png;base64,...) and raw Base64 strings
  • Automatically detects MIME types for images, audio, video, or documents
  • Files automatically expire and are purged after 72 hours
  • Limit of 2,000 active files per user; returns 429 when quota is exhausted
  • Auth: Authorization: Bearer sk-...

Request Body

Response Example