ScreenCapture
Send ScreenCapture’s server-side screenshots and clips to BasiX with its generic remote-upload export.
You need a BasiX API key for this. Free account, 3 GB included, no card.Get your key →
1.Create a key
Create an upload-scoped key in your client area. Upload-scoped keys work on every plan, including the free one, and cannot delete anything — which is what you want in a file that ends up in a resource folder.
2.Call the remote upload export
ScreenCapture’s `remoteUpload(source, url, options, callback, dataType)` takes the destination URL and the headers as arguments, so nothing needs patching. Call it from your own server-side script with `blob` as the upload format, as its README does for a multipart host.
luaexports.screencapture:remoteUpload(source, 'https://upload.basix.media/api/v3/file', { encoding = 'webp', headers = { ['Authorization'] = 'YOUR_BASIX_KEY' }, }, function(response) print(response.data.url) end, 'blob')
Worth knowing
- The `formField` option defaults to `file`. BasiX accepts the file part under any name, so leave it as it is.
- BasiX answers with the URL at the top level and under `data`, so `response.data.url` from the README works unchanged.
- Source: https://github.com/itschip/screencapture (README, remoteUpload).
Configuration last checked against the upstream project on 2026-10-27.
Try it on your own server
Create a free account and your API key is ready in about two minutes. 3 GB included, bandwidth never billed, no card needed.
Something not working, or a script not listed? Read the full FiveM docs or ask us — we will wire it up with you.