| Menu Setup | Discord Log |
![]() |
![]() |
- Python 3.10 or newer (with pip added to PATH)
- screenshot-basic
- ox_lib or lation_ui
Install required Python dependencies via command prompt/terminal:
pip install flask flask-cors rembg pillow requests(If you want to use GPU for faster background removal, run: pip install "rembg[gpu]")
- Open a terminal inside the resource directory (
ap_autoshoot). - Run the flask proxy server:
python python/rembg_server.py
Keep this window open in the background while taking vehicle photos.
Adjust the configurations inside config.lua:
Config.UseRembg: Set totrueto enable automated background removal.Config.RembgUrl: The endpoint URL of the Flask server (default:"http://localhost:5000/process").Config.Channels: Configured Discord webhook options.Config.UseRandomColors: Iftrue, applies random vehicle colors from the premium colors list.
Add the following to your server.cfg:
ensure ap_autoshootStarts a batch photoshoot for all vehicles inside data/vehicles_list.json.
- Run
/autoshootin-game. - Select your studio location and camera angle.
- Configure AI background removal and destination Discord channel.
- Confirm to start the batch photoshoot.
Performs a photoshoot for a single vehicle.
- Example:
/autoshoot_single t20
Cancels an active batch photoshoot process.
Utility command to setup coordinates and camera angles.
- Park a vehicle at the desired location.
- Run
/autoshoot_setupto spawn a test vehicle. - Move your character to your preferred camera viewpoint.
- Press [G] to toggle camera preview.
- Use Arrow Keys to adjust:
- Up / Down: Camera FOV (Zoom)
- Left / Right: Camera Height (Z-Axis)
- Press [ENTER] to copy the final coordinates to your F8 console.
- Press [BACKSPACE] to exit.

