Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Package and document the LAN worker

Bitti4fd7c90d2af2
diff --git a/README.md b/README.md
index 48fe440..6275e72 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,7 @@ Slopus brings an AI assistant, a scene generator, reusable references, a timelin
- **References.** Characters, animals, products, locations and styles with descriptions, images and generated icons. Start from searchable presets, browse as Icons or Details, and see which scenes use each one. Attach video references, preview and trim their clip ranges, and choose whether to include their soundtracks.
- **RefMods.** Attach pre-encoded H3 reference `.safetensors` files to reusable references, with independent **Strength** and **Copies** controls. Use them with Ref2VA generators for video, still images, image edits and reference icons.
- **LoRAs.** Add local adapters or download built-in options such as TaoMate 3-Step, Turbo and LightX2V Turbo. Combine multiple LoRAs in a generator template, reorder them, adjust their strengths, and set optional step-count overrides.
+- **LAN workers.** Run `slopus-worker` on another computer and choose it in **Settings → Workers** to generate there. Workers are found on the local network automatically (mDNS) or added by address. Weights with download links download on the worker; local-only weights, references and source images are sent from this computer. Results are saved to the project as if they were generated locally.
- **Generator templates.** Download model weights from Settings with progress, cancellation and retry, or use your own local files. Save model and attention settings per template, and optionally enable **MotionCache** to reuse denoising work in supported generation modes.
- **Timeline.** Video and audio tracks with thumbnails, waveforms, snapping, trimming, splitting, zoom and keyboard shortcuts. Transform, opacity, chroma key, fades and wipes, plus GPU effects (sharpen, blur, color correction, vignette, `.cube` LUTs) that can be bypassed.
- **Image editor.** Build a hierarchy of objects, text and groups with placement boxes, then generate with MiniMax H3. Use **Image root** to open a PNG or JPEG (or **Edit** a result) and apply edits in hierarchy order with bounding-box inpainting. Results and drafts stay in the image bar.
@@ -44,6 +45,16 @@ Slopus brings an AI assistant, a scene generator, reusable references, a timelin
Local video generation requires separately installed model weights and GPU support. In **Settings → Generator**, configure a generator's model paths and check that its status reads **Ready**. Configure OpenRouter or a local model endpoint in **Settings → Agents** to make it available in the assistant's agent list.
+### Generating on another computer
+
+Copy the portable Slopus folder (it contains `slopus-worker.exe` and `slopfab.dll`) to a computer with a capable GPU on the same network and run:
+
+```
+slopus-worker.exe --weights D:\Models
+```
+
+Allow it through Windows Firewall when asked. In Slopus, open **Settings → Workers** and click **Use** next to the worker. Generators whose weights have download links become usable even if they are not downloaded on this computer; the worker downloads missing weights into its weights folders on first use. Run `slopus-worker.exe --help` for options: `--port`, `--name`, `--token` (require an access token), `--data`, `--weights` (repeatable), `--vulkan` and `--no-mdns`. Choose **This computer** to generate locally again.
+
The project's GPU setup recommendations are:
| GPU | Generation backend |
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index d2ebd02..cdf59bf 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -11,6 +11,7 @@ This alpha update adds still image projects, new scene types, and a rebuilt Wind
- Project-wide Undo and Redo (Ctrl+Z, Ctrl+Y) for edits made in any view, by the agent, or in project settings.
- Rebuilt Generator, References, Timeline, Export and Settings screens. The Generator is a board of scenes and shot tiles; References has Icons and Details views with multi-select; the Timeline gains zoom, keyboard shortcuts and context menus.
- The agent is a docked, resizable pane that keeps running while hidden.
+- LAN workers: run `slopus-worker` on another computer and pick it in the new **Settings → Workers** tab to generate there. Slopus finds workers on the local network automatically, or by address. Workers download generator weights from their download links themselves, local-only files are sent from this computer, and finished videos, images and latents are saved in your project as usual.
- The Work queue and Agent buttons show when work is under way, and exports keep running in the background.
- Reference images can be paged through and removed, and effects can be bypassed without removing them.
diff --git a/package.cmd b/package.cmd
index 9dd31ed..006a4d4 100644
--- a/package.cmd
+++ b/package.cmd
@@ -6,6 +6,7 @@ pushd "%~dp0" || exit /b 1
set "ROOT_DIR=%CD%"
set "ARTIFACTS_DIR=%ROOT_DIR%\artifacts"
set "RELEASE_EXE=%ROOT_DIR%\src-tauri\target\release\slopus.exe"
+set "WORKER_EXE=%ROOT_DIR%\src-tauri\target\release\slopus-worker.exe"
set "SLOPFAB_DIR=%ROOT_DIR%\lib\slopfab"
@@ -75,6 +76,9 @@ if not exist "%RELEASE_EXE%" (
goto :fail
)
+rem The LAN worker is headless and embeds no frontend, so plain cargo is right.
+"%CARGO_EXE%" build --release --manifest-path "%ROOT_DIR%\src-tauri\Cargo.toml" --bin slopus-worker || goto :fail
+
rem Guard against silently shipping the dev-mode binary again: a production
rem build embeds the hashed frontend assets, a dev-mode one does not.
echo.
@@ -100,6 +104,8 @@ copy /Y "%RELEASE_EXE%" "%OUTPUT_DIR%\Slopus.exe" >nul || goto :fail
rem Match the installer's resource layout: one DLL beside Slopus.exe.
copy /Y "%SLOPFAB_DIR%\slopfab.dll" "%OUTPUT_DIR%\slopfab.dll" >nul || goto :fail
echo Runtime: slopfab.dll included.
+copy /Y "%WORKER_EXE%" "%OUTPUT_DIR%\slopus-worker.exe" >nul || goto :fail
+echo Worker: slopus-worker.exe included.
call :write_readme "%OUTPUT_DIR%\README.txt"
echo Folder: %OUTPUT_STEM%-portable\
@@ -137,6 +143,11 @@ exit /b 0
>>"%~1" echo VIDEO GENERATION
>>"%~1" echo The runtime is included. Keep slopfab.dll beside Slopus.exe. Download generator weights in Settings.
>>"%~1" echo Model weights are not included. Set their paths in Settings.
+>>"%~1" echo.
+>>"%~1" echo LAN WORKER
+>>"%~1" echo Run "slopus-worker.exe" from this folder on another computer to generate there.
+>>"%~1" echo Slopus finds it on the local network; choose it in Settings, Workers.
+>>"%~1" echo Run "slopus-worker.exe --help" for options such as --weights and --token.
exit /b 0
:fail
diff --git a/release.cmd b/release.cmd
index e1972a1..ed41481 100644
--- a/release.cmd
+++ b/release.cmd
@@ -17,6 +17,7 @@ if not defined UPDATE_NOTES_FILE set "UPDATE_NOTES_FILE=%ROOT_DIR%\RELEASE_NOTES
set "ARTIFACTS_DIR=%ROOT_DIR%\artifacts"
set "BUNDLE_DIR=%ROOT_DIR%\src-tauri\target\release\bundle"
set "RELEASE_EXE=%ROOT_DIR%\src-tauri\target\release\slopus.exe"
+set "WORKER_EXE=%ROOT_DIR%\src-tauri\target\release\slopus-worker.exe"
rem Keep the private signing key outside the repository. CI can supply its own
rem TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD instead.
@@ -99,6 +100,9 @@ if not exist "%RELEASE_EXE%" (
goto :fail
)
+rem The LAN worker is headless and embeds no frontend, so plain cargo is right.
+"%CARGO_EXE%" build --release --manifest-path "%ROOT_DIR%\src-tauri\Cargo.toml" --bin slopus-worker || goto :fail
+
rem Guard against silently shipping the dev-mode binary again: a production
rem build embeds the hashed frontend assets, a dev-mode one does not.
echo.
@@ -149,6 +153,8 @@ copy /Y "%RELEASE_EXE%" "%OUTPUT_DIR%\Slopus.exe" >nul || goto :fail
rem Match the installer's resource layout: one DLL beside Slopus.exe.
copy /Y "%SLOPFAB_DIR%\slopfab.dll" "%OUTPUT_DIR%\slopfab.dll" >nul || goto :fail
echo Runtime: slopfab.dll included.
+copy /Y "%WORKER_EXE%" "%OUTPUT_DIR%\slopus-worker.exe" >nul || goto :fail
+echo Worker: slopus-worker.exe included.
call :write_readme "%OUTPUT_DIR%\README.txt"
echo Folder: %OUTPUT_STEM%-portable\
@@ -207,6 +213,11 @@ exit /b 1
>>"%~1" echo VIDEO GENERATION
>>"%~1" echo The runtime is included. Keep slopfab.dll beside Slopus.exe. Download generator weights in Settings.
>>"%~1" echo Model weights are not included. Set their paths in Settings.
+>>"%~1" echo.
+>>"%~1" echo LAN WORKER
+>>"%~1" echo Run "slopus-worker.exe" from this folder on another computer to generate there.
+>>"%~1" echo Slopus finds it on the local network; choose it in Settings, Workers.
+>>"%~1" echo Run "slopus-worker.exe --help" for options such as --weights and --token.
exit /b 0
:fail