Automated Clothing Capture Engine for FiveM
Hey everyone,
I’ve been working on a way to automate clothing thumbnails for my own projects because doing it manually was a massive headache. I ended up building a standalone “Capture Engine” that handles the entire pipeline, and I’m releasing it for free for anyone who needs a solid workflow.
It’s built to be framework-independent and focuses on performance, especially when dealing with large clothing libraries.
How it works
- Isolation: It teleports the ped to a dedicated void with auto-lighting and a green screen. No world shadows or interference.
- Smart Sequencing: It cycles through every drawable/texture. I added a Texture Streaming Guard so it won’t take a photo until the asset is 100% loaded
- Chroma Key (Server-side): Instead of using heavy native dependencies like Sharp or Canvas, I used a custom algorithm with
pngjsto handle transparency and green screen removal on the server. - Per-Category Presets: You can save specific camera angles (FOV, distance, height) for each component (hats, shoes, etc.) and the engine will apply them automatically during the session.
- HTTP API (Port 3959): It serves your shots via a REST API with CORS enabled. This means you can fetch manifests and images directly into your NUI/React apps without any Lua proxying.
Technical Specs
- Stability: Includes a batching system with garbage collection to prevent crashes during 2000+ item sessions.
- Standalone: Works on QBCore, ESX, QBox, or whatever custom framework you’re using.
- Browser: Includes a virtualized UI to preview thumbnails and a Re-capture mode to fix specific shots without restarting the whole process.
I built this to be a reliable tool for the community. Feel free to check the source or open a PR if you have ideas to improve it.
Project Links
GitHub (Source): https://github.com/uz-scripts/uz_AutoShot
Download (Website): https://uz-scripts.com/scripts/uz-autoshot
Documentation: https://uz-scripts.com/docs/free/uz-autoshot
| Feature | Details |
|---|---|
| Code | Open Source (GitHub) |
| Requirements | screenshot-basic |
| Support | GitHub Issues / Docs |
More from uz-scripts
We focus on high-performance, technical tools for FiveM.
Explore our full collection of resources at uz-scripts.com.
Screenshots
Sample Outputs



