About Openmotion
Openmotion is an MCP server published by nexu-io in the Agents category: the open-source Claude Motion & CapCut alternative. Turn a reference video into editable motion graphics with your brand kit. Export MP4s for YouTube, YouTube Shorts, Instagram Reels, and TikTok. A full-stack agentic video studio with 300+ Motion.md guides and support for 22 agents, including Claude Code, Codex, DSH, and WorkBuddy. Conduid read 38 tools from its source: openmotion_assets, openmotion_assets_use, openmotion_create_project, openmotion_design_catalog, openmotion_design_comments, openmotion_design_edit and 32 more. No package is published for it, so it installs from a source checkout.
The repository has 18K stars and 1.8K forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.2.1 (21 Nov 2026): OpenMotion 0.2.1 makes the Super Motion Agent feel bigger, bolder and ready for more. It follows v0.2.0 (20 Nov 2026), and the 4 most recent releases go back to v0.1.0 (17 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ai-video, byok, deepseek-harness, dsh-plugin, local-first and motion.
Install
git clone https://github.com/nexu-io/openmotionTools (38)
openmotion_assetsManage reusable workspace assets independently of film projects. list/get read images, video and audio, immutable versions and generation provenance. import copies a real local file (max 500 MB); generate uses the configured Model Gateway and returns a job, not finished media. First inspect providers/models through openmotion_media_use. Use stable requestId for import/generate/import_to_project, poll the original job with status, and never automatically resubmit a paid request. Project media generation also saves to this library. jobs/status include those new tasks. When savePending is true, retry_save with jobId and a stable requestId retries saving the existing outputs without submitting another generation. assetId + parentVersionId creates another version; references pin exact versions: image models with supportsImageReference edit with up to maxInputImages references (default one; local Codex and OpenDesign account editing take one), and video models that publish maxInputImages take one first-frame reference. update can rename, move to trash, restore from trash or select a current version; older bytes remain. import_to_project copies a pinned version into an explicit project using its normal import/history protections; it never places it on the timeline. Use resume with the original jobId and a stable requestId to check a failed/interrupted Cloud task or account image task with a known remoteId, without uploading inputs or submitting another paid generation. ${CLOUD_RESUME_LIMITATION} In Cloud, retry_save retrieves the original result while it is still available from the gateway. Regeneration is a separate paid request requiring authorization. Studio offers Check original task for Cloud jobs and Continue download for account images. Account image recovery reuses the original prompt/model and remote task; draft edits apply only to a new generation. Partial files resume only with verified asset identity, local checksum and strong ETag; otherwise the same image downloads from zero. Account video/audio recovery is not supported. Reference counts follow the selected model before any reference file is read; there is no fixed library count ceiling. Local Codex/account editing remains one image, video remains one first frame, and project referenceAsset remains image-only. Generated assets, imported project media and composition edits remain separate.openmotion_assets_usePreferred Agent route for new media: discover providers and full model IDs through openmotion_media_use inspect/reference/models, then generate, track the original job, inspect fixed versions and import only selected versions into a film project. No carrier project is needed.| Parameter | Type | Description |
|---|---|---|
| action | any | |
| duration | number | read audio only: clip length in seconds, default 10 (clipped to available audio), maximum 15. |
| start | number | read audio only: clip start in seconds, default 0. |
| timestamps | array | read video only: at most four frame times in seconds. Defaults to the first frame. |
openmotion_create_projectCreate an independent editable native OpenMotion project from a prompt, an editable template ID or reference-video ID. The host Agent authors the film; creation does not generate a finished video. Persist requirements, namingLanguage and source, return project/session IDs and the initial content version. A requestId is required for safe retries.openmotion_design_catalogRead-only discovery for Design Studio HTML scenarios (prototype, deck, document, web-clone, live-artifact, webgl), starter templates, design systems (DESIGN.md + tokens.css), design Skills and craft rules. Read openmotion://workflow/design/start and the chosen scenario guide before authoring a new design project.openmotion_design_commentsList, create, resolve/update and delete element or region review annotations on an HTML Design Studio project. When revising from user annotations, call action=list for full anchors, read and edit only the marked elements via openmotion_design_edit, then mark each addressed comment status=resolved using its commentRevision.openmotion_design_editRead and edit files in an HTML Design Studio project with revision protection and version history. Always read the project first (openmotion_design_project action=get) to obtain current expectedRevision. Every action=write atomically persists files and creates a new immutable vN version snapshot. action=restore_version restores an older snapshot as a NEW version without erasing history. action=import_asset copies a pinned workspace asset version (assetId+versionId from openmotion_assets_use) into the project as a binary file and returns its project-relative path for use in HTML; requires expectedRevision; creates a new version.openmotion_design_projectCreate, inspect, organize, preview, open in a local app, export (zip, open-design round-trip zip, standalone html, pdf, png, pptx) and import (Open Design / Claude Design / OpenMotion ZIP or folder) HTML Design Studio projects. Call action=open after editing so the user gets the live previewUrl and Studio editorUrl. Export with outputPath writes the artifact to disk; delete requires the project to be in Trash first.openmotion_edit_projectopenmotion_export_cancelCancel the specified export owned by this project. Distinguish cancellation accepted/cancelling from a confirmed cancelled terminal state. A completed task stays completed. Cancellation does not restore source, delete older results or promise a refund. Stopping a host conversation does not automatically call this tool.openmotion_export_requestQueue a background MP4 of the explicit project version and immutable source/media snapshot. Optional compositionPath exports an existing scene instead of index.html. Automatically lint and fully technically verify the result. Return jobId; read progress/results with openmotion_get_project exportJobId. Export does not open the editor or complete an outstanding editable-preview handoff; follow openmotion_open_preview separately for creation/edit delivery. Repeated requestId returns the original task. action=record_review only records actual playback/visual/audio evidence for an existing job; it never starts another render.openmotion_game_capture_coverServer-owned headless Chrome captures only the owned game canvas or #game root at 1280x720 to assets/cover.png and sets metadata. Never opens or controls the user browser/desktop/profile. Optional room and bounded key/mouse/wait actions; multiplayer clients join the room and conventional #start is clicked automatically. delayMs is 0–10000. Requires local Chrome and loopback permission; no downloads or internet requests.openmotion_game_createCreate a draft playable web game in the connected local workspace. Returns GameCreated and a complete Agent brief. Follow openmotion://workflow/game/start; Multiplayer shooter or 3d briefs scaffold the offline 1–4 player co-op kit with animated CC0 characters. This does not run an Agent or publish.openmotion_game_getRead a GameCard and its file inventory in this workspace. Templates are read-only; remix through the local market before editing.openmotion_game_playtestServer-owned headless Chrome with SwiftShader runs 1–4 isolated clients in one room, auto-starts conventional #start after join, and applies scripts[i] key/mouse/wait inputs concurrently. Before any clicks or scripts, asserts every multiplayer client auto-joins within 5 seconds via the room socket or __omGame. Returns console errors, failed requests, game-only screenshot paths, RAF fps estimate, roomJoined and playerCount for each client. When window.__omGame is present, reads authoritative snapshots and reports pass/fail assertions for player count, phase, scripted net movement (default >0.5 units) and horizontal overflow at 390x844. Missing hooks fail authoritative assertions; omitted scripts use a short W movement for every client. Persists screenshots under game assets/playtests. No user browser/desktop/profile; no arbitrary JS or internet requests. durationMs is the minimum observation period; bounded script waits can extend it. GPU, audio, touch and human fun acceptance remain separate.openmotion_game_publishRevalidate and list a workspace game in the local game market. Requires authorized local publication. Returns three short nextSteps prompts derived from design/plan.md when available, playUrl, non-blocking warnings for a prompt-like title or missing cover and, for multiplayer, roomInviteUrlPattern. No internet hosting; room simulation is ephemeral in one local process and starts after join/start. Joined messages include a session reconnectToken: return it on join within 30 seconds to reclaim a disconnected seat; running rooms accept late joins up to maxPlayers.openmotion_game_read_fileRead a game-relative UTF-8 source file, at most 8 MiB. Paths cannot traverse or follow symlinks.openmotion_game_set_statusSet a workspace game to building, ready or failed. Ready alone does not establish validation or publication.openmotion_game_simulateRun deterministic logic.js in the existing bounded GameRuntime without a browser or file writes. players 1–4; scripts may be idle, game-provided reference, or one route per player (inclusive fromTick/toTick/action entries repeated each tick). Optional exports referenceRoute(playerIndex) and summarize(state) supply routes and compact summaries. Returns final over/winners/tick and at most 100 timeline snapshots. Before publication verify reference wins and idle loses; neither proves rendering or human balance.openmotion_game_trailerStart or read a persistent background gameplay-to-trailer job for a ready/published local game, including built-in templates. Records three real 5-second headless gameplay clips, creates a standard editable native Motion project, and renders/verifies a roughly 19-second silent MP4 through the existing export pipeline. Returns GameTrailer with status/progress/clips/projectId/videoUrl or a clear failure; interrupted jobs become failed on restart and existing clips are preserved. Active starts coalesce; starting a terminal job records a fresh run. Does not publish, download dependencies, use the user browser, or modify bundled templates.openmotion_game_update_metaUpdate an owned game title, description, controls, existing project-relative cover image (at least 960x540 and 16:9 ±5%) and per-locale i18n. Locale fields merge with saved translations; omitted fields and lifecycle status are preserved. Set concise metadata, zh-CN translations and a cover from openmotion_game_capture_cover before publication. Never edits template metadata.openmotion_game_validateCheck index.html and optional client.js for allowed external CDN hosts; block multiplayer room-code inputs and Join room buttons, warn when the client never reads ?room=, and multiplayer logic.js named exports/determinism; dry-run 50 ticks with two players and JSON views. Returns non-blocking warnings for a missing cover or fewer than 20 approximate changed kit logic lines, plus a reminder per missing design/plan.md, design/assets.csv and design/verification.md. Use openmotion_game_playtest for headless multiplayer evidence; this does not prove gameplay quality.openmotion_game_write_filesWrite 1–100 UTF-8 game source files, at most 8 MiB per batch, in a workspace-owned game. Never writes template files or metadata. Editing a ready/published game changes it to building. Source files are directly shared with local play.openmotion_get_projectWithout projectId list projects in the current workspace, newest creation first, exactly five per page (except the last); use nextCursor. Set trashed=true to list projects in Trash instead. With projectId read that project, current revision/version, requirements, native file inventory, asset references and associated export state. inspect={compositionPath,offset?,limit?} lists editable elements with sourceFile, stable hfId, track, time and animation IDs without opening a browser. When available, localEditCli identifies this deployment’s Node CLI for preparing the same edits locally. file={path} reads only that file. Optional mode=read returns paged text (offset and length in UTF-16 units), download returns a short-lived URL for fixed text or binary bytes, and sync returns ordered patches from fromFileVersion or a downloadable baseline plus patches. Pass atFileVersion from the first read on later pages or when renewing a link. atProjectVersion selects a saved project manifest; exportJobId reads a historical task. With workId read one fixed work round; includeVideo=true returns its verified media privately to the component. This does not switch Studio or create projects.openmotion_get_skillRead one exact library Skill ID. Returns the complete SKILL.md in instructions and motionDocument.content plus a relative file inventory. Follow the instructions and create a natural_language project when needed; a Skill is not a template and cannot be applied or copied as one. Known IDs do not require listing first.openmotion_get_templateRead one exact template ID and its TEMPLATE.md guidance. Library Skill IDs are rejected; read them with openmotion_get_skill. Built-in examples resolve from the ingested catalog without exposing host paths. Guidance-only examples remain distinct from editable Studio projects. Follow the returned workflowGuide: template means openmotion_create_project with projectType=template copies the editable project via zero-copy CAS; recreate means openmotion-recreate rebuilds from the guidance package and its linked reference video. An explicit guideDraft can instead create this entry’s declared title/accent motion example. Known IDs do not require listing first.openmotion_import_assetsCloud 3-way asset import into a project (at most 500 MB / 500000000 bytes per file). Use action=prepare_upload with files[] to mint short-lived presigned S3 PUT upload tickets (plus optional companion font license upload URLs). Then call action=import (default when action is omitted) with items[] where each item specifies source.kind: (1) upload_ticket (ticketId from prepare_upload or /motion-api/uploads/tickets), (2) url (public HTTPS URL, SSRF-checked and fetched asynchronously by worker-media), or (3) library_asset (assetId + versionId from the workspace Asset Library, committed synchronously via zero-copy CAS refcount++). Legacy local host sourcePath values are unsupported in cloud deployments and rejected with LOCAL_PATH_UNSUPPORTED_IN_CLOUD. Successful items survive other failures. Existing history is not overwritten. Import does not place media on the timeline. Reuse the same requestId/itemId to retry safely without duplicate assets.openmotion_list_skillsIndex every library video Skill (for example de-AI copy, growth teardown, long-to-short) to find a technique by scenario. Returns source, skill inventory, total and skillVersion. Read candidate IDs with openmotion_get_skill. No query or pagination arguments.openmotion_list_templatesIndex templates from the cloud template catalog. Returns source, template summaries or index metadata, total and catalogVersion. Select a template ID and call openmotion_get_template. Rows with shortForm=true are portrait works or original short video posts. No query or pagination arguments.openmotion_list_versionsList consistent project content snapshots, not individual file save counts. Return current-version identity and five snapshots per page with a cursor for older pages, including stable IDs, vN labels, source, summary and restorability. Five is a page size, not a retention limit.openmotion_media_useDiscover unified OpenDesign platform media models with inspect (returns advisory mediaEntitlement, normalized plan and hasBalance, never raw balances or secrets), read the OpenDesign provider guide with reference, then query models and schemas. The preferred route for NEW generation is openmotion_assets_use: supply the full model ID, generate into workspace Assets, poll the original jobId, inspect a pinned assetId/versionId, and import_to_project only when adopting a result. Existing project-direct generation is retained as a COMPATIBILITY route: generate still requires explicit projectId, stable requestId, provider, provider-native model, modality and prompt; it returns queued, not media. Optional referenceAsset uses a project-relative image with a model that supports editing; it snapshots one PNG/JPEG/WebP under 2 MiB for OpenDesign account/Cloud (or under 20 MB for other adapters). Audio follows the selected model: speech uses text-to-speech, music and sound effects use text-to-audio; read its native input schema. Old jobs keep this Tool and their original projectId/jobId for status, cancel, retry_save or resume; do not regenerate them through another Tool. Use retry_save with the original jobId and a stable requestId when savePending is true to retrieve existing results without another generation. Use resume with the original jobId and a stable requestId to check a failed/interrupted Cloud task with a known remoteId, without uploading inputs or submitting another paid generation. ${CLOUD_RESUME_LIMITATION} No automatic paid fallback or resubmission.openmotion_open_previewFor video production, action=begin with explicit projectId, stable requestId and mode=create|modify creates a business work round silently before authoring. No production or editor action mounts an inline component. Open the editor only after the final authored video is ready for preview; after MP4 verification, prefer the host-native video preview (Codex: one final-reply embed). Use the separately discovered openmotion_show_video only if the host cannot preview the video; never combine both players for the same export. Once the requested video artifact exists, call action=complete_generation with workId, expectedRevision and expectedVersionId. This independently validates the completed artifact and records generation once, including background work, without saving, opening preview or rendering. Carry its workId through saves and the final export; begin does not open Studio or render. Explicit editor-only requests, unchanged template browsing and review flows do not begin a round. Prepare the named project in the shared editable Studio; this Tool does not open the host browser. Use target=templates for the template library or target=providers for model/account setup settings (Settings > Default models when Model providers is gated in Cloud Phase 1, or Settings > Model providers when enabled) without creating/selecting a project; target=templates accepts only action=open, embedded and presentation, while target=providers also accepts optional entry, and both return a page handoff without a project/version identity. Without projectId use only an explicitly bound OpenMotion session, never the global most-recent project. Follow previewHandoff to present the native panel and verify visibility plus latest content for first delivery and continued edits. Default foreground shows the active calling chat panel without switching chats; wait for return only when the host confirms that chat is inactive. A queued acknowledgment, hidden automation tab or markDeliverable does not complete delivery. Only an explicit show-now request uses presentation=now to permit switching for this turn. action=record_display records the current revision/version observation; queued or unverified content stays pending. Report a still-hidden panel as a display failure. action=record_review records evidence about a previously viewed frozen version without changing source.openmotion_restore_versionRestore the explicitly selected project snapshot as a NEW version. Restoring v3 while current is v5 produces v6 with v3 content; v4 and v5 remain. Check current version/revision, restore native source, styles, timing and retained media together, and reject missing historical resources without changing the current project. Returns the same previewHandoff as a source edit; explicit background requests use presentation=background.openmotion_show_videoOptional fallback player for a final completed, technically verified MP4. Prefer the host-native video preview; Codex defaults to one final-reply video embed and does not need this Tool. Use only when native preview is unavailable. Never combine this player with a native embed of the same export. When selected, call once after export completes, never during generation or editing. This read-only presentation creates no project, work round, render or editor page. Keep workId from the silent openmotion_open_preview(action=begin) through saves and export. Old final videos remain bound to their own immutable export. A ready editable Studio handoff is separate; use only discovered Tools.openmotion_studio_frameopenmotion_studio_inspectopenmotion_studio_lookopenmotion_studio_seekopenmotion_studio_selectSecurity checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.5K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 2 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 6.5K words, fetched yesterday. The original in the repository is authoritative.
Read full README