Note: Omni Tools is under development. Expect breaking changes, evolving APIs, and experimental features.
Code-first video editing toolkit behind Omniclip β build timelines, render videos, and automate workflows.
Omni Tools is a collection of composable utilities for working with Omniclip timelines β via code, JSON, or CLI.
- β Define timelines in JSON or TypeScript
- β Automate rendering with CLI tools
- β Ideal for scripting, CI/CD, and AI-generated workflows
npm i @omnimedia/omnitool
import { subtitle, crossfade, sequence, stack, video } from "@omni/tools"
const watermark = subtitle("omniclip")
const xfade = crossfade(500)
const timeline = sequence(
video("opening-credits.mp4"),
xfade,
stack(
video("skateboarding.mp4"),
watermark
),
xfade,
stack(
video("biking.mp4"),
watermark
)
)
Every timeline is defined as a graph:
{
"format": "omni-timeline@1",
"root": "root-1",
"items": [
["root-1", ["sequence", { "children": ["video-1", "stack-1"] }]],
["video-1", ["video", { ... }]],
["stack-1", ["stack", { "children": ["text-1", "audio-1"] }]],
["text-1", ["text", { ... }]],
["audio-1", ["audio", { ... }]]
]
}
Each item is a [id, item]
pair. Items can reference others by ID, forming a directed graph of reusable, composable blocks.
# Build a timeline (manually or via AI)
omnitool build-template promo.json
# Validate structure
omnitool validate promo.json
# Render video
omnitool export promo.json --output final.mp4
# Batch render
omnitool batch-export ./projects/* --output-dir ./exports
- Render videos from scripts, templates, or AI
- Build and test timelines without opening the UI
- Generate video pipelines from code or prompts
omnitool preview
β headless timeline vieweromnitool optimize
β auto-fit timeline elementsomnitool ai
β native prompt-to-timeline generation
Omni Tools powers AI agents, programmatic editing, and upcoming new version of omniclip video editor.
β Visit Omniclip