Tell your AI agent what video you want. It turns your brief into an editable recipe, uses photos from your camera, images generated by your agent, or images generated by OpenAI, adds subtle depth motion, and returns an MP4 you can review. The agent runs the CLI from the same machine as your files.
| Package | Use |
|---|---|
@simple-post/video-editor |
Embed the React editor and player in a React 18 or 19 app. Import the package’s style.css to apply the theme. |
@simple-post/video-core |
Create and validate portable projects and calculate their timelines in a browser or Node.js. The editor and CLI both depend on it. |
@simple-post/video |
Run the simple-video CLI or import renderProject and preparePhotoDepth from @simple-post/video/renderer in a Node.js host. |
Use the same project in either interface. An agent can discover the format with simple-video schema --editor --json, edit the shot and audio fields, and run simple-video compose cut.json --output cut.mp4. Add --preview for the same full-cut preview as the playground. Project example and React integration
From the repository root with Node.js 24+ and FFmpeg installed:
npm ci
npm run devOpen the loopback address printed in the terminal (default http://127.0.0.1:4173). Choose photos and an aspect ratio. Open Shot settings and use Adjust crop beside Framing to position a fill-frame photo. In the storyboard, Remove photo removes the selected shot and Clear project starts a fresh cut. Both support Undo. Set each shot’s duration, combine parallax, zoom and pan under Camera motion, add captions or music, then select Full cut to preview or Export MP4 to download. The selected shot plays live in the browser. The first parallax preview prepares a reusable depth map, then you can scrub and adjust motion without waiting for another video render. The playground saves the draft in your browser and keeps media on your computer. DepthFlow motion uses the native renderer setup. With Parallax direction set to Off, zoom and pan use FFmpeg alone. Embed the editor in another React app.
Have the agent generate the individual stills using its own image tool and save them locally. Pass the files to the Simple Video CLI in playback order:
simple-video init ./trip --agent-image ./photos/arrival.png --agent-image ./photos/dusk.png --duration 2
simple-video --project ./trip plan --json --no-input
simple-video --project ./trip create --id first-cut --output ./exports --json --no-inputThe plan reports zero paid image requests. Rendering these images requires no OpenAI login. Use --photo for camera photos and --prompt when you want the CLI's optional OpenAI image generator. Optional spoken narration uses a separate, explicitly requested generation step. Voiceover and editor project commands
From your project folder, run this and choose your agent:
npx skills add simple-post/simple-video --skill simple-videoThe skill gives a terminal-capable agent the instructions to run Simple Video. It can invoke the CLI through npm. Use Node.js 24 or later. In Claude Code, invoke it with /simple-video; in Codex, with $simple-video. Other agents load it automatically when a request matches.
Then ask your agent for a video:
Use
@simple-post/videoto make a 9-second vertical parallax video of a tiny robot trying to order coffee. Create three realistic photos with a consistent character and use short captions. Keep the motion subtle. Give me the MP4 and the editable recipe.
Use
@simple-post/videoto make a 12-second parallax slideshow from the four photos in myTrip photosfolder, in filename order. Keep faces in frame and leave the video silent. Give me the finished MP4.
For a free first run, ask it to make a demo with the built-in artwork. For a matchup, name the two sides and tell the agent if you want the winner to change on the last round. For music, point it at a local track you have permission to use and describe the desired timing.
- Approve renderer setup if needed. Your agent can check the environment, show you the proposed downloads, and run setup after approval. You need Node.js 24+, FFmpeg with ffprobe and libx264, and a working OpenGL context for the default renderer. The managed Python environment and depth weights can take several GB.
- Check your platform. Rendering is verified on Apple Silicon Macs. Setup includes Intel macOS, glibc Linux and Windows x64 builds, but GPU rendering on those is still untested. Run
doctor --check-renderfirst, and please report results either way. See support status. - Add an OpenAI key for the built-in OpenAI image generator or AI voiceover. Run
simple-video auth loginin a terminal and enter the key at the hidden prompt. Choose the native OS store to reuse it across projects, or use a secret manager or environment variable for unattended jobs. Uploaded photos, agent-generated images and the demo work without a key.
Once set up, give the agent the brief. It can pick the layout, write the prompts or order the photos, validate the plan, render, fix visual issues using the same images, and return the finished file. The CLI creates the video locally. It sends image-generation requests to OpenAI only if the agent runs generation with --execute.
The npm package also bundles the skill. Copy it into your agent's skill directory from your project folder:
# Claude Code
npx --yes --package=@simple-post/video@latest -- simple-video skill --output .claude/skills/simple-video
# Codex
npx --yes --package=@simple-post/video@latest -- simple-video skill --output .agents/skills/simple-videoFor another agent, use that agent’s skill directory. A terminal-capable agent can also use npx --yes --package=@simple-post/video@latest -- simple-video skill --print to read the instructions on demand. The latest tag selects the current stable release.
Install the CLI if you prefer a command on PATH:
npm install -g @simple-post/video@latest
simple-video --versionCheck a machine or prepare the renderer:
simple-video doctor --runtime-only --json --no-input
simple-video setup --runtime-only --dry-run --json --no-input
# After approval, if the renderer is missing:
simple-video setup --runtime-only --yes --json --no-input
simple-video doctor --runtime-only --check-render --json --no-inputFor an original photo, the agent writes the description itself:
simple-video init ./coffee --json --no-input \
--name "Coffee Break" --duration 6 \
--prompt "A tiny red robot standing at a busy cafe counter, warm window light, clear foreground and background"
simple-video --project ./coffee plan --json --no-input
simple-video --project ./coffee create --id coffee-break --execute \
--output ./finished --json --no-inputFor supplied photos, the agent passes them in the desired order. One photo creates a single scene. Multiple photos create a slideshow.
simple-video init ./trip --json --no-input \
--name "A Weekend Away" --duration 3 \
--photo "./Trip photos/01.jpg" --photo "./Trip photos/02.jpg" --photo "./Trip photos/03.jpg"
simple-video --project ./trip create --id weekend --output ./finished --json --no-inputFor a comparison, start with init --template comparison --hero "A red fox" --opponent "Arctic foxes" --setting "A rocky tundra valley". For customized scenes and music, the agent can edit the recipe and check the supported fields with simple-video schema --json and plan. A comparison alternates split screens and result photos. The template keeps the same winner through the penultimate round.
The agent reads the exported path at data.export.video and checks the contact sheet at data.contactSheet. --json --no-input prints a structured result on stdout and progress or errors on stderr. It never prompts. For a render interrupted during generation, resume with the same recipe and run ID. An unknown outcome from the image API needs investigation before a retry that could incur another charge.
simple-video.jsonis the editable recipe. Input paths in it are relative to that file.init --photoreferences the original photos in place..simple-video/in the project holds generated photos, cached renders, contact sheets and run records.create --output DIRwrites the finished MP4 and a JSON manifest to the chosen folder. Userender --run ID --intensity 0.07to reduce motion using the existing photos, thenexport --run ID --variant VARIANT --output DIRto export the revised cut.- The parallax effect adds camera motion to still photographs. Stronger motion can stretch edges. Music is optional and new projects are silent by default.
- Your agent can pass the finished MP4 to SimplePost when you ask it to publish or schedule. Video generation and exporting require no SimplePost account.
The TypeScript CLI is MIT licensed. DepthFlow is installed separately under AGPL-3.0. See third-party notices and contributing. The CLI contract, renderer setup, recipes and music, and credential storage are also bundled in the npm package.