Skip to main content

Exports

Captures a screenshot and uploads it to cloud storage.
Parameters
  • metadata: table - Key-value pairs for custom metadata (optional)
Returns
  • url: string - Public URL of the uploaded image
  • id: string - Unique media ID for reference
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)
Returns
  • signedUrl: string - Pre-signed URL for uploading

Lua Library

For a cleaner API, include the client Lua library in your fxmanifest.lua:
Usage