Uploads

Upload a file to short-lived CDN storage

Single-file multipart upload (max 25 MB image / audio, 50 MB video). Magic-byte sniffed — declared content-type is ignored. Returns a CDN URL drop-in for any image / video / audio input field. Files live ~1-2h before the cleanup worker reaps them.

post/v2/uploads

Request

  • Base URL: https://api.apiframe.ai
  • URL: https://api.apiframe.ai/v2/uploads
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Response

Uploaded file metadata + CDN URL.

idstring uuid required
urlstring uri required
kind'image' | 'video' | 'audio' required
contentTypestring required
byteSizeinteger required
expiresAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.