JG Docs
Vehicle Studio

Fivemanage

Fivemanage is the simplest hosted option because it is designed around FiveM resources. Vehicle Studio asks Fivemanage for a presigned upload URL, then the NUI uploads the image directly to Fivemanage.

Create A Fivemanage API Token

  1. Open the Fivemanage dashboard.
  2. Sign in or create an account.
  3. Go to your API token or developer settings page.
  4. Create a new API token.
  5. Copy the token into config/config.upload.lua.

The exact dashboard labels may change over time, but you are looking for an API token that allows file uploads.

Configure Vehicle Studio

In config/config.lua:

Config.ImageStorageProvider = "fivemanage"

In config/config.upload.lua:

Config.ImageStorageProviders = Config.ImageStorageProviders or {}

Config.ImageStorageProviders.fivemanage = {
  apiKey = "YOUR_FIVEMANAGE_API_TOKEN",
  presignedEndpoint = "https://api.fivemanage.com/api/v3/file/presigned-url",
  path = "vehicle-studio",
  metadata = "",
  retentionExempt = false,
  presignExpires = 900
}

Test The Upload

After restarting the resource, generate a vehicle image. Fivemanage returns the final public URL, and Vehicle Studio saves that URL directly.

If uploads fail, check:

  • The API token was copied correctly.
  • The token has upload access.
  • The path value is valid for your Fivemanage account.
  • The server can make outbound HTTPS requests to create the presigned URL.

Config Fields

FieldRequiredDescription
apiKeyYesFivemanage API token used to create presigned upload URLs.
presignedEndpointNoDefaults to "https://api.fivemanage.com/api/v3/file/presigned-url".
pathNoFolder path to upload into. Defaults to no folder if omitted.
metadataNoOptional metadata JSON string sent with the upload.
retentionExemptNoOptional Fivemanage retention setting.
presignExpiresNoPresigned upload URL lifetime in seconds. Defaults to Fivemanage's API default if omitted.

Troubleshooting

On this page