Exports
TakeImage
TakeImage
Captures a screenshot and uploads it to cloud storage.Parameters
- metadata:
table- Key-value pairs for custom metadata (optional)
- url:
string- Public URL of the uploaded image - id:
string- Unique media ID for reference
GenerateSignedUrl
GenerateSignedUrl
Generates a pre-signed URL for client-side uploads.Parameters
- mimeType:
string- MIME type of the file (e.g.,image/png) - size:
number- File size in bytes - metadata:
table- Key-value pairs for custom metadata (optional)
- signedUrl:
string- Pre-signed URL for uploading
Lua Library
For a cleaner API, include the client Lua library in yourfxmanifest.lua:

