AI media harness for planning, generating, and editing locally
TypeScript
Tighten release notes and README
Bittif826b9d5b07d
diff --git a/README.md b/README.mdindex a460a13..905ff03 100644--- a/README.md+++ b/README.md@@ -18,73 +18,55 @@----Slopus brings an AI assistant, a scene generator, reusable references, a timeline editor, and a still image editor together. Generate locally with SlopFab (no Python, no FFmpeg) and export finished videos and images.--> **GPU recommendation:** **24 GB of VRAM or more** is currently recommended for local generation. We plan to reduce this in future updates.+Slopus combines an AI assistant, local image and video generation, reusable references and a timeline editor. SlopFab powers generation without Python; WebCodecs and WebGPU handle media processing without bundled FFmpeg.## Features-- **One workspace.** Every project has **Timeline**, **Video**, **Image**, **References** and **Export** tabs.-- **Agent.** Plan scenes, create references and edit projects with Claude Code, Codex, OpenRouter or a local OpenAI-compatible model. Open the agent pane with Ctrl+Shift+A.-- **Scene generator.** Generate scenes with First & last frame, Animate, Pose, Character replace, Extend or Bridge. Set steps, seeds and presets; manage jobs in the **Work queue**. Each scene keeps four takes and an editable Draft in its history strip. Select a take to restore its scene settings, use **Make Primary** to choose its timeline video, or **Duplicate** the scene.-- **Shot controls.** Set timing, action, dialogue, language, camera and performance. Add scene-wide look, sound and music, and cite references with smart chips.-- **References.** Reuse descriptions, images and video clips across scenes. Start from searchable presets, see where references are used, and trim clips with optional sound.-- **RefMods.** Use pre-encoded H3 `.safetensors` references with Ref2VA generators for video, images, edits and icons. Set **Strength** and **Copies** per attachment.-- **LoRAs.** Combine local or downloadable adapters in generator templates, with ordering, strength and step-count controls.-- **LAN workers.** Generate on another Windows or Linux computer. Workers download available weights, receive local files as needed, and return results to your project.-- **Generator templates.** Download weights or use local files. Save model and attention settings per template, with optional **MotionCache** for supported modes. Import and export URL-based templates as portable [`.slop` bundles](docs/generator-weights.md#sharing-generator-templates).-- **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.-- **Motions.** Add an empty Motion on the timeline, then ask the agent to create its animation. Select and move or resize named elements in the video preview; edit parameters and JavaScript in the right panel. Render as reference video adds an MP4 to References for MiniMax generation.-- **Motions.** Add an empty Motion on the timeline, then ask the agent to create its animation. Select and move or resize named elements in the video preview; edit parameters and JavaScript in the right panel. Render as reference video adds an MP4 to References for MiniMax generation.-- **Image editor.** Generate images from prompts, objects and text, or open an image and describe whole-image or local edits. Keep originals, drafts and versions in the image bar.-- **Export.** Video: MP4 in H.264, VP9 or AV1 (as your encoders allow) at a chosen resolution, frame rate and quality; exports keep running in the background. Images: pick one from the image bar and save it as JPG or PNG at a chosen size and quality.-- **Undo everywhere.** Save, Undo and Redo sit in the title bar; Ctrl+Z and Ctrl+Y cover edits from any view, the agent and project settings.-- **Your data.** Projects and media stay on disk. API keys stay in this computer's settings, outside project files.+- **Agent.** Plan scenes, generate media, inspect frames and edit projects with Claude Code, Codex, OpenRouter or a local OpenAI-compatible model. Toggle the pane with Ctrl+Shift+A.+- **Video.** Generate Prompt, First & last frame and other [scene types](docs/scene-types.md), with shot timing, dialogue, camera and sound controls. Keep up to four takes and an editable Draft; use **Make Primary** to choose the timeline video.+- **Images.** Generate with MiniMax H3, MOSS Image or Fibo 2.0. Use whole-image, box, lasso and Zoom edits where supported, with drafts and versions in the image bar.+- **References.** Reuse descriptions, images, trimmed video clips and [H3 RefMods](docs/refmods.md) across scenes.+- **Generators.** Manage model weights, supported LoRAs, attention and generation effects. Share [generator templates](docs/generator-weights.md#sharing-generator-templates) as `.slop` bundles or run jobs on LAN workers.+- **Timeline.** Arrange video and audio with trimming, splitting, snapping, waveforms, transitions, chroma key and GPU effects.+- **Motions.** Ask the agent to create JavaScript animations, edit elements and parameters, and render them on the timeline or as reference videos.+- **Export.** Save MP4 video with H.264, VP9 or AV1 where encoders are available, or export images as JPG or PNG. Exports run in the background.+- **Project editing.** Timeline, Video, Image, References and Export views share Save, Undo and Redo. Projects and media are stored locally; agent requests go to the selected provider. API keys stay outside project files.## Setup-In **Settings → Generator**, download or select model weights and check that the generator reads **Ready**. Local generation requires a supported GPU. Configure OpenRouter or a local model endpoint in **Settings → Agents**.+Install a Windows x64 or Linux x86_64 release. In **Settings → Generators**, choose a model and download or select weights until the generator reads **Ready**. Configure OpenRouter or a local endpoint in **Settings → Agents**.-### Linux+Local generation needs a supported GPU; 24 GB or more VRAM is recommended, with requirements varying by model and settings. MOSS and Fibo require CUDA.-Install the x86_64 `.deb` or `.rpm` package, or make the AppImage executable and run it. The AppImage supports in-app updates.+| Windows GPU | Backend |+| --- | --- |+| NVIDIA RTX 50 series | CUDA 13 |+| NVIDIA RTX 30/40 series | CUDA 12.8 |+| AMD/Intel, or NVIDIA without CUDA | Vulkan for supported models |-Requires WebKitGTK 2.42+ for video and GPU features. The bundled generation runtime requires NVIDIA driver libraries and CUDA 13 cuBLAS, even when using Vulkan. See the [Linux guide](docs/linux.md) for details.+On Linux, install the `.deb` or `.rpm`, or make the AppImage executable and run it. AppImage supports in-app updates. Video and GPU features require WebKitGTK 2.42+; the bundled generation runtime also requires NVIDIA driver libraries and CUDA 13 cuBLAS, even with Vulkan. See the [Linux guide](docs/linux.md).-### Generating on another computer+### LAN workers-Unpack a worker package on a GPU-equipped computer on your network:+Unpack a matching worker release on a GPU-equipped computer:| Platform | Package | Start || --- | --- | --- || Windows x64 | `Slopus-<version>-windows-x64-worker.zip` | `slopus-worker.exe --weights D:\Models` || Linux x86_64 | `Slopus-<version>-linux-x64-worker.tar.gz` | `./slopus-worker --weights ~/models` |-1. Start the worker and allow TCP 47321 and UDP 5353 through the firewall.-2. In **Settings → Workers**, click **Use** beside the discovered worker, or add it by address. Missing weights download on first use when download links are available.-3. Select **This computer** to switch back to local generation.--Windows workers prefer CUDA 13, then CUDA 12, with Vulkan as a fallback. Linux workers also support `--backend vulkan`, but the bundled runtime still needs the libraries above. No desktop libraries are required. Run `slopus-worker --help` for backend, access-token and port options.+Allow TCP 47321 and UDP 5353 through the firewall. In **Settings → Workers**, click **Use** beside a discovered worker or add its address. Missing weights download when links are available. Select **This computer** to return to local generation.-Windows GPU setup:--| GPU | Generation backend |-| --- | --- |-| NVIDIA GeForce RTX 50 series (Blackwell) | CUDA 13 |-| NVIDIA GeForce RTX 30 or RTX 40 series | CUDA 12.8 |-| AMD/Intel | Vulkan |-| NVIDIA without CUDA installed | Vulkan fallback |+Linux workers need the runtime libraries listed above. Run `slopus-worker --help` for backend, access-token and port options.## Built with-Slopus uses Tauri 2, Rust, React, and TypeScript. WebCodecs and WebGPU power media processing and rendering, with MP4 export through `mp4-muxer`. SlopFab powers local AI generation.+Tauri 2, Rust, React, TypeScript, WebCodecs, WebGPU, `mp4box.js`, `mp4-muxer` and SlopFab.## Model licensing-Powered by MiniMax H3.--MiniMax H3 model weights are licensed separately under their own **MiniMax H3 COMMUNITY LICENSE AGREEMENT**.+MiniMax H3 model weights are licensed separately under the **MiniMax H3 COMMUNITY LICENSE AGREEMENT**.-Fibo 2.0 is released under a CC BY-NC 4.0 license for non-commercial use. Commercial use is subject to a commercial agreement with BRIA.+Fibo 2.0 is released under CC BY-NC 4.0 for non-commercial use. Commercial use is subject to an agreement with BRIA.diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.mdindex 420511c..8bed066 100644--- a/RELEASE_NOTES.md+++ b/RELEASE_NOTES.md@@ -1,70 +1,24 @@-# Slopus 0.3.2+# Slopus — Unreleased-This alpha update adds Prompt video scenes, agent image drafts, Sol attention and sigma shift controls, and improves Zoom image editing, agent chat and generation reliability.+Changes since 0.3.2.## What's new-- **Generator dropdown sections.** Generator choices are grouped by model in image, video and reference-icon selectors.--- **Centered inspector actions.** Generate, Debug prompt, Export and other panel actions keep a compact default width and shrink to fit narrower panels.--- **Inspector sliders and editable effect values.** Numeric settings such as Steps, sigma shifts, CFG, placement and clip transforms now pair draggable sliders with compact number fields. Timeline and generation effect values can also be typed directly, with defined ranges, reset support and synchronized controls. Seed remains a plain number field.--- **Agent frame inspection.** Agents can view timeline frames, generated scenes and shots, stored scene takes, image/video references and specific generated images. Motions are rendered at the requested time, both directly and in timeline layers. Captures respect scene offsets and reference trims, without changing playback or selection.--- **Scene generation history.** Each Video scene has a thumbnail strip on its right with up to four completed takes and a separate Draft for edits. Select a take to restore its shots, prompts and scene settings, or right-click and choose Make Primary to use its video on the timeline. Duplicate creates a new scene with independent copies of the selected scene's settings and shots.--- **Motions.** Create an empty Motion on the timeline and ask the agent to animate it with JavaScript. Edit named elements in the preview, adjust exposed parameters and view or change the full source in the inspector. Motions support transparent layering, scrubbing and video export. Render a Motion as a reference video to add it to References for MiniMax generation.--- **Fibo 2.0 Base and editing capabilities.** Added the Base generator with the Dev transformer and shared Fibo encoder/VAE. A per-template Editing model switch controls image editing and Zoom, defaults off for Base and MOSS, and is preserved when sharing templates. Fibo Edit Turbo now supports Zoom with masked border generation that preserves the source image.--- **Image negative prompts.** MOSS exposes a Negative prompt field below the image root prompt, saved per model with drafts and generated images and applied during local or LAN generation. Fibo Turbo shows the field disabled because its single positive prediction does not support negative prompts. Visibility and support are controlled by model settings. Update LAN workers to protocol 17.--- **Fibo 2.0 image editing.** Added an Edit Turbo generator with transformer, Qwen3-VL encoder and Flux2 VAE downloads. Generate directly from a text prompt, use whole-image, box or lasso edits, or cite up to four images in a new image prompt. Defaults to four steps on CUDA; unsupported video and H3-only controls are disabled.--- **Lasso image edits.** Draw a freehand area beside the existing box tool, give it a prompt in the right panel, and select or move it from the canvas or Scene tree. Saved outlines become antialiased Slopfab masks for local and LAN generation, preserving pixels outside the selection. Bundled runtimes now use API 1.36; LAN workers require the matching update.--- **FastH3 Omni.** Renamed First/Last Frame Fast and updated its transformer to the FastH3 Omni eight-step model. Existing bundled settings migrate automatically.--- **Generator model pages.** Open MiniMax H3, MOSS, Fibo 2.0 or Other from Generator settings. Each model has its own generators and LoRAs; Other contains the existing extra weights. New generators use the selected model.--- **Image generation count.** Open the arrow beside Generate to queue up to 100 images with different seeds. Count applies to one click, resets afterward and is not saved in the project.--- **Generation effects.** Add LCS color steering, tone, sharpness and color stabilization from the video Scene or image root inspector. Effects run during generation, with bypass, reset, step ranges and optional regions. VAE calibration is automatic, cached and cancellable. MOSS disables these controls through the shared model capabilities.--- **MOSS CFG control.** Set CFG before Seed in the image inspector, with a default of 3. Values are remembered per model in each image draft and carried into local and LAN generation. H3 hides the control.-- **MOSS image generation.** Generator settings group templates by model and include MOSS Image with its model weights and tokenizer downloads. MOSS is available for new images on CUDA; video, image editing, Zoom, and reference-based character sheets are disabled through shared model capabilities.-- **Prompt video scenes.** New ordinary video scenes default to Prompt, with text and reference guidance but no start- or last-frame selectors. First & last frame remains available for frame conditioning.-- **Agent image drafts and generation.** Ask the agent to prepare multiple images in the image bar for later, edit a selected draft, or generate it with a chosen generator. Preparation is saved before rendering, and the agent resumes after generation with the saved result.-- **Sol attention in Settings.** Choose Sol attention under a generator's Performance settings for generation on CUDA GPUs. The selection is saved per generator and included in shared generator files.-- **Zoom image template (formerly Extend).** Restored image extension with an optional prompt and output sized to the drawn box's aspect ratio and selected pixel budget. Boxes inside the source regenerate the selected crop with refined detail at the target resolution. Positioned source conditioning, native refinement and edge blending improve the generated surroundings.-- **Video and audio sigma shifts.** Set separate shifts for video and audio, define generator template defaults, and configure per-stream LoRA overrides. Local and LAN worker generation use the same settings. Sigma shifts and the existing audio step override are grouped under Advanced options at the bottom of Generation in the right panel.+- **Motions.** Create JavaScript animations with the agent, edit elements and parameters, and export them on the timeline or as reference videos.+- **Scene history.** Keep up to four takes and an editable Draft, restore take settings, choose the primary timeline video, and duplicate scenes.+- **Agent frame inspection.** Agents can view timeline frames, scenes, takes, references, generated images and Motions at a requested time.+- **MOSS Image.** Generate images on CUDA with per-model CFG and negative prompts.+- **Fibo 2.0.** Added Base and Edit Turbo generators for CUDA, with text-to-image generation, image references, local edits and Zoom where supported.+- **Lasso edits.** Draw and move freehand selections; use Ctrl to combine areas or Alt to subtract them.+- **Image batches.** Queue up to 100 images with different seeds from the Generate dropdown.+- **Generation effects.** Added LCS color steering, tone, sharpness and color stabilization, with step ranges and optional regions on supported models.+- **Generator controls.** Group generators and LoRAs by model, group generator dropdown choices, and enable editing per template.+- **Inspector controls.** Added bounded sliders, editable effect values and compact, centered action buttons.## Fixes and improvements-- New image projects, empty images and imported images use the selected image generator's default steps, including four for Fibo 2.0. Saved image step choices remain intact.--- Renamed the Generator settings section to Generators. Refined the lasso icon and integrated the image Generate arrow into one split control. Count help now appears on the label tooltip. Model capabilities disable Object, Text, Group and Background creation for MiniMax H3 while keeping them available for MOSS and Fibo; existing image edits retain Edit Box and Lasso.--- First/Last Frame now uses Winnougan's FL2VA W4A8 fallback. Saved fallback selections migrate to the correct model; References retains its REF2VA fallback.--- FastH3 Omni always downloads its Omni transformer. Removed its inherited W4A8 fallback and migrate saved selections to Omni, reusing an existing Omni download when available.--- Renamed Draw edit to Edit Box with a box icon. Hold Ctrl when releasing a lasso stroke to combine overlapping areas, or Alt to subtract. Cursor indicators show the active operation; holes and split areas persist in saved projects and generation masks.--- Lasso selections can be moved but not scaled. Image edits keep the source visible during generation and display the edited result when complete.--- Generation effects reuse VAE fingerprints between jobs, removing repeated full-file calibration checks for unchanged VAEs. Changed or replaced VAEs are verified again; saved calibrations remain reusable after restarting.--- Renamed image roots on the still image creation page now retain their names when switching images and reopening projects.-- Image edits keep their prompts and settings separate from the original. Child results open as normal images ready for further edits; selecting images does not create editing copies.-- Image generation immediately selects a separate empty entry showing Queued or Generating. Progress stays on that entry, and the result replaces it when ready.-- Whole-image edits disable feathering at the native generation boundary, including requests with missing or previously saved feather settings.-- Imported still images now have steps, seed and resolution controls. Resolution defaults to the source dimensions rounded down to multiples of 32, with additional sizes matching the source aspect ratio.-- Fixed CUDA transformer-loading memory failures with bounded upload buffers, more accurate memory budgeting and automatic retries with more CPU offloading, while preserving precision and output settings.-- Agent chat retains earlier replies, corrections and errors throughout the conversation. Raw JSON and command payloads stay hidden; readable replies and summaries are shown.-- Zoom reduces visible extension seams by preventing grey canvas padding from affecting source encoding and widening the edge blend. Small source areas retain an unblended interior, and source transparency is retained.-- Backdrop prompts describe a flat, constant color field in every shot, limit reference guidance to subject appearance, and use neutral studio styling when no look is specified.-- Scene type label tooltips now explain each scene type's behavior.-- Renamed Add reference to Reference browser and centered the agent send and stop buttons.-- Updated the bundled Windows and Linux SlopFab runtimes to API 1.36 for Fibo, MOSS, native LCS and image masks. LAN worker protocol 16 supports Fibo text-to-image and MOSS negative prompts; update workers alongside the app.+- Updated First/Last Frame Fast to the eight-step FastH3 Omni model and corrected Omni and First/Last Frame weight fallbacks.+- Image edits preserve source images, prompts and settings; queued results get separate entries, and whole-image edits disable feathering.+- Imported images now expose steps, seed and resolution; new images use generator step defaults, and renamed image roots retain their names.+- Generation effects reuse VAE fingerprint checks to avoid repeated calibration work.+- Updated SlopFab to API 1.36 and LAN protocol 17. Update workers alongside the app.