Using the AI Server on a different computer from the Cove Server - skier233/nsfw_ai_model_server GitHub Wiki

A common setup is to run the AI Server on a different computer than the Cove server to be able to take advantage of a more powerful GPU than what is available on the Cove server. Here is how to configure this setup:

  1. Ensure the computer that will be running the AI Server can access the files from Cove's server
    1. For example, if the videos for Cove are in C:\cove\scenes, ensure you have the Cove server's drive mapped to the computer that will run the AI Server so you could access those files at F:\cove\scenes for example. You can add your folders to the docker compose file.
  2. Install the AI Server on the desired computer.
  3. Install the Cove extension(s).
  4. In the Cove AI settings page, set the Server URL to the url pointing to the nsfw_ai_model_server
  5. In the Cove AI settings page, create a Path Mapping as described in further detail below.

Path Mappings (when and how)

Path mappings are only needed when file paths differ between Cove and the nsfw_ai_model_server (different machines, Docker/WSL, etc).

In the Cove AI settings page, click Add mapping and set From prefix to a path from Cove's perspective, and To prefix to the same path from the nsfw_ai_model_server's perspective

  • Example (Windows Cove, Linux/Docker nsfw_ai_server): From prefix E:\Media\ -> To prefix /media/. If Cove and the backend share identical paths, you do not need a mapping.