Skip to main content

Large File Upload (TUS Protocol)

Scriptix uses the TUS protocol for resumable file uploads. Files larger than 2GB use TUS exclusively.

TUS Upload Configuration

Endpoint: POST ${API_BASE_URL}/api/v3/files/

Authentication: Bearer token required in headers

Recommended client settings:

  • Chunk Size: 50MB (52,428,800 bytes)
  • Retry Delays: [0, 3000, 5000, 10000, 20000, 30000, 60000] milliseconds
  • Resumable: Uploads can be resumed after an interruption using the TUS protocol

Any TUS-compatible client library works. Point it at the endpoint above and send your Bearer token in the Authorization header.

File Size Limits

  • Per File: up to 40GB (42,949,672,960 bytes)

Supported File Formats

Video Files: .mp4, .mov, .avi, .mkv, .webm, .m4v, .3gp, .flv, .wmv, .ts

Audio Files: .mp3, .wav, .m4a, .aac, .ogg, .flac, .wma, .aiff

Subtitle Files (caption type): .srt, .vtt, .sbv, .ttml, .html

Document Files (document type): .txt, .docx, .pdf, .doc, .html

Upload Response

After TUS upload completion, the file ID is used in subsequent API calls to create transcription sessions or documents.


TUS Protocol: Official TUS Specification