LB Phone
Point LB Phone’s camera, gallery and video uploads at BasiX using its built-in Custom upload method. No fork, no patched resource.
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.Choose the Custom method
In LB Phone’s config, set the upload method for each media type. `Custom` is shipped with the resource — it is the escape hatch its authors added precisely so any provider can be used.
luaConfig.UploadMethod = { Image = "Custom", Video = "Custom", Audio = "Custom", }3.Point the Custom table at BasiX
The Custom table takes a URL, the multipart field name, the headers and where to read the result. BasiX answers with a top-level `url` and a top-level `success`, which is exactly the shape the shipped defaults expect.
luaCustom = { url = "https://upload.basix.media/api/v3/file", field = "file", headers = { ["Authorization"] = "Key API_KEY", }, success = { path = "url" }, error = { path = "success", value = false }, }4.Put the key where LB Phone keeps keys
Replace `API_KEY` with your BasiX key. LB Phone reads provider keys from its server-side key file, so the value never reaches a player’s client.
Worth knowing
- BasiX accepts the file part under ANY name, so if your copy of the resource sends `image` or `video` rather than `file`, it still works.
- Uploads are not billed by bandwidth, so a busy gallery does not produce a surprise on the invoice.
Configuration last checked against the upstream project on 2026-09-20.
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.