Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Document Motion creation and reference rendering

Bittiea9b0453edb1
diff --git a/README.md b/README.md
index 7f3aec8..e4c0ecf 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,7 @@ Slopus brings an AI assistant, a scene generator, reusable references, a timelin
- **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.
diff --git a/src/components/workspace/MotionInspector.tsx b/src/components/workspace/MotionInspector.tsx
index 9327bc6..c6631b6 100644
--- a/src/components/workspace/MotionInspector.tsx
+++ b/src/components/workspace/MotionInspector.tsx
@@ -20,7 +20,7 @@ export function MotionInspector({ motion, selectedId, onSelect, onChange, disabl
<PropSection title="Motion" persistKey="motion.document">
<PropRow label="Duration"><input className="text-field" type="number" aria-label="Motion duration" min={0.1} max={600} step={0.1} disabled={disabled}
value={motion.duration} onChange={(e) => change({ ...motion, duration: Number(e.target.value) })} /><span>s</span></PropRow>
- <button className="secondary-button" disabled={disabled || rendering || !onRenderReference} onClick={onRenderReference}>{rendering ? "Rendering reference…" : "Render as reference video"}</button>
+ <button className="secondary-button" disabled={rendering || !onRenderReference} onClick={onRenderReference}>{rendering ? "Rendering reference…" : "Render as reference video"}</button>
</PropSection>
<PropSection title="Elements" persistKey="motion.elements">
{!motion.nodes.length && <p className="settings-description">This Motion is empty. Ask the agent to add elements and animation.</p>}
diff --git a/src/lib/exportPipeline.ts b/src/lib/exportPipeline.ts
index 3570e8d..217940d 100644
--- a/src/lib/exportPipeline.ts
+++ b/src/lib/exportPipeline.ts
@@ -1,5 +1,5 @@
-import { motionFrameReader } from "./motionRuntime";
/// <reference types="@webgpu/types" />
+import { motionFrameReader } from "./motionRuntime";
/* ============================================================================
exportPipeline.ts — the five stages CLAUDE.md describes, in order.