About Opengame
Opengame is an MCP server published by nexu-io in the Social category: the Super Game Agent — the Unity & Unreal for AI agents, with 100+ viral games to remix. Turn 20+ coding agents (Claude Code, Codex, DeepSeek, etc.) into a full-stack AI game studio. Build and publish 3D & mini-games to WeChat, Douyin, TikTok, Telegram, itch.io, and more. Conduid read 84 tools from its source: opendesign_asset_read, opendesign_asset_write, opendesign_automation, opendesign_capability_run, opendesign_catalog, opendesign_discover and 78 more. No package is published for it, so it installs from a source checkout.
The repository has 4.2K stars and 644 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 4 static checks Conduid ran on the repository. Its topics include ai-game-generator, deepseek, deepseek-harness, dsh, dsh-plugin and game-development.
Install
git clone https://github.com/nexu-io/opengameTools (84)
opendesign_asset_readRead workspace assets, pinned asset versions, and Brand Kits. action=read returns native image/audio content blocks (and 1-12 frame contact sheets for video) at a pinned assetId/versionId for direct visual/audio inspection.opendesign_asset_writeMutate workspace assets and Brand Kits without paid generation: import local files into Workspace Assets, update asset metadata, acquire_catalog for free public 2D/3D catalog assets, or brand_kit_write (with operation and optional kitId) to manage Brand Kits. Reuse stable requestId on retries.opendesign_automationOptional automation shell for batch runs, webhook/schedule triggers, and multi-step scenarios. Call opendesign_discover(target=automation) for full command schemas.opendesign_capability_runExecute a registered multimodal capability (remove-background, relight, character, camera-control, multi-shot, native-audio, text-to-image, image-edit, text-to-video, image-to-video, music, sound-effects, speech, asr-transcribe, 3d-asset, 3d-world) or configured provider model directly. BILLING & IDEMPOTENCY REDLINE: requires a stable requestId—use a fresh unique requestId for every distinct prompt, edit, or variant, and reuse a requestId only on an identical retry. NEVER resubmit a paid task with a new requestId on timeout or uncertain outcome. Poll status with opendesign_job_read(status) and recover with opendesign_job_write(resume|retry_save); for script capabilities (3d-asset, 3d-world) re-invoke with the exact same requestId and inputs to resume without re-billing. Pass dryRun=true to inspect executor/model and quote without submitting a paid job. Errors carry retrySafe:false when resubmission risks double-billing.opendesign_catalogRead-only catalog search across templates, skills, design systems, public 2D/3D asset models, and workflow references (kind=workflows serves opendesign://workflow/* guides when the host lacks resources/read). Filter by optional studio (game|design|motion) and query, then fetch exact entries with action=get.opendesign_discoverRead-only discovery for Studios, live multimodal capabilities, providers, models, automation commands, and workspace status. Call target=studios to list or describe Studio specs; target=capabilities with action=list|describe|quote before paid media runs; target=providers|models for BYOK/Cloud setup; target=workspace to verify dataDirectory and counts.opendesign_file_readRead UTF-8 source files or list file inventory inside a Game, Design, or Motion project under safe path containment. Requires explicit studio and projectId; pass relative path (with optional offset/length) to read, or omit path to list files.opendesign_file_writeWrite UTF-8 source files or import pinned/local assets into a project (requires explicit studio and projectId). Respects StudioSpec.filePolicy locks: Game needs no lock (templates are read-only), Design requires expectedRevision, Motion requires expectedRevision + expectedVersionId. deletes and entry are supported for studio="design" only. Missing lock errors declare requiredLockFields.opendesign_job_readRead-only async job listing and 55s long-polling across multimodal generation and Motion export jobs. Tool-level readOnlyHint=true ensures approval-free polling on external MCP hosts. Use opendesign_job_write for cancel, retry_save, or resume.opendesign_job_writeMutate async multimodal generation or Motion export jobs: cancel requests cancellation; retry_save saves retained local outputs without another model call; resume rechecks an eligible interrupted Cloud/account task without re-billing. Use opendesign_job_read for polling.opendesign_presentRead-only host presentation adapter for opening live Studio previews or workspace surfaces. Use target=artifact with studio + projectId (or assetId + versionId) to return previewUrl/handoff; use target=workspace_surface with surface=explore|templates|providers (and optional entry) to open onboarding or provider sign-in/upgrade cards.opendesign_project_readRead projects and version histories across Game, Design, and Motion studios without mutating workspace state. Use action=list (optional studio filter, trashed, cursor) to browse, or action=get|versions with explicit studio and projectId to inspect metadata, revision/version locks, file inventory, or snapshots.opendesign_project_writeNon-destructive project mutations requiring explicit studio: create (pass flat hot fields directly—Game: prompt, style, orientation; Design: scenario, title, templateId, designSystemId; Motion: projectType, title, requirements, templateId, requestId), update_meta, set_status (game), duplicate, archive (reversible trash), restore, and restore_version. Hard delete is prohibited.opendesign_publishPublish or manage external/market releases. PUBLISH & WECHAT SECURITY REDLINE: requires explicit user authorization and passing validation before release; never auto-publish during drafting. target=local_market publishes a workspace game locally. target=cloud_web deploys, checks deploy_status, or unpublishes a live HTTPS OpenDesign Cloud link (returns settingsHandoff when signed out). target=wechat_minigame manages WeChat Mini Game steps (check action=status first; upload private keys are selected only via the page file control—NEVER ask users for key text or local key paths; ip_check/preview/upload contact WeChat; on uncertain upload ask user to check console then call confirm_upload(present), and retrying an uncertain version is blocked unless confirmMissing=true).opendesign_show_videoOptional MCP App fallback player for a verified completed MP4 export when host-native video preview is unavailable. Read-only; call once after export completes, never during authoring.opendesign_studio_actionExecute in-workspace studio actions requiring explicit studio: Game (capture_cover, trailer), Design (comments, export, import, open_in), Motion (export, canvas, captions, work_round, archive). External releases including WeChat Mini Game belong to opendesign_publish. Hot parameters are flat optional fields; errors return expectedSchema.opendesign_verifyRun read-only project verification with explicit studio and projectId: Game validate (static/CSP/logic checks), playtest (headless Chrome with scripted inputs, invariants, screenshots), simulate (deterministic logic.js); Motion lint/info; Design check. Does not publish or alter user browsers.openmotion_append_messageAppend a real user request or Agent reply to the shared conversation. Supply a stable message UUID for safe retries. This records content only; it does not execute a model or report artifact generation as completed.| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| id * | string | |
| role | any | |
| sessionId * | string |
openmotion_apply_templateCreate a user-selected Hyperframes template as a new OpenMotion artifact in the specified or current conversation. Preserves previous artifacts and assets. Agent and Studio switch to the new project together. Cold startup does not initialize an unrelated starter. Read the latest revision first.| Parameter | Type | Description |
|---|---|---|
| embedded | boolean | |
| expectedRevision * | any | |
| sessionId | string | |
| templateId * | string |
openmotion_asset_managebrowse_models opens the free game asset catalog in a Studio conversation. For browse_models or search_models use dimension=2d for sprites, tiles and UI art or dimension=3d (default) for models. An empty query browses featured assets for that dimension. acquire_model takes the selected downloadable id and conversationId and presents a local preview. For a source-only item or failed download, follow the provider handoff in openmotion://workflow/game/sourcing using the result’s sourceUrl. Manage workspace assets, immutable versions, capability provenance and Brand Kits. present_asset adds a reopenable preview to an explicitly selected Studio conversationId. Supply pinned library assetId and versionId, or a relative path to a supported image, audio, video, model or sprite atlas in that conversation’s workspace. For GLB files, optionally pass an exact embedded animation name. list/get inspect assets, versions, capabilityId/capabilityOptions and parent/reference provenance; read returns bounded image previews, video frames or 16 kHz audio clips for a pinned assetId+versionId, or composites 1–12 pinned image items into one contact sheet PNG (optional maxEdge 128–1024); import copies a real local file (max 500 MB); update renames, trashes/restores or switches currentVersionId while retaining history; import_to_project copies a pinned version into a target project without altering its timeline; brand_kit manages style-only Brand Kits.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 a new unique requestId (e.g. a fresh UUID) for every distinct import/generate/import_to_project call, and reuse a requestId only when retrying the exact same inputs; 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 saves retained local outputs without another model request. assetId + parentVersionId creates another version; references pin exact versions: image models with supportsImageReference edit with up to maxInputImages references (default one; local Codex takes 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 or OpenDesign account media task (image, video, audio) with a known remoteId, without uploading inputs or submitting another paid generation. Cancelled jobs and confirmed remote failures cannot resume. Use retry_save only for retained local outputs (savePending); regeneration is a separate paid request requiring authorization. Studio offers Check original task for Cloud and account video/audio jobs and Continue download for account images. Account media 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 output downloads from zero. Reference counts follow the selected model before any reference file is read; there is no fixed library count ceiling. Local Codex 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. |
| items | array | read batch contact sheet (images only): 1–12 pinned assetId+versionId references composited into one grid PNG. |
| maxEdge | integer | read image/video/contact-sheet only: maximum preview edge in pixels (128–1024, default 1024; use 512 for lightweight single checks). |
| 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_cancel_generationCancel a pending or running generation. Stops local execution and import; requests fal cancellation when supported. Remote provider work/charges may still complete.| Parameter | Type | Description |
|---|---|---|
| jobId * | string |
openmotion_capability_discoverDiscover the Unified Capability Center shared by Studio GUI and MCP. Call action=list for a compact menu of live atomic and generative capabilities (such as remove-background, image-blend, relight, camera-control, multi-shot, native-audio, text-to-image, text-to-video, music, sound-effects, speech, asr-transcribe, 3d-asset, 3d-world), provider availability, account mediaEntitlement and settingsHandoff; set includeComingSoon=true only when inspecting upcoming capabilities. Call action=describe with capabilityId to read its dynamic options schema, reference count limits, compatible configured models and cost/approval policy before running. Call action=quote with capabilityId (and optional options/parameters/model) to preview spend tier, estimated credits and approval requirements before submitting high-cost work. Call action=providers (with optional provider for its setup guide) or action=models to inspect raw BYOK/Cloud models when no dedicated capability applies. Prefer dedicated atomic capabilities over simulating edits with generic model prompts.openmotion_capability_runExecute a registered capability from the Unified Capability Center (preferred: supply capabilityId such as remove-background, relight, character, camera-control, multi-shot, native-audio, text-to-image, image-edit, text-to-video, image-to-video, music, sound-effects, speech, asr-transcribe, 3d-asset, or 3d-world) or run a configured model directly when no dedicated capability fits. Routes transparently to the active executor (OpenDesign Cloud/account model, BYOK model, dedicated small model, domain service or local script) while recording capabilityId, options, model and pinned asset version provenance in Workspace Assets. Requires a unique requestId for every distinct generation, edit, or variant (generate a fresh UUID when changing prompt, references, or options); never resubmit an identical timed-out paid task with a new requestId—for async job capabilities poll or recover through openmotion_job_manage, and for long-running script capabilities (3d-asset, 3d-world) re-invoke openmotion_capability_run with the exact same requestId and inputs to resume from its saved remote task checkpoint without re-billing.openmotion_compare_videoOptional diagnostic comparison of two absolute video file paths (candidate also accepts latest-export); export projects before comparing. Delegates to native HyperFrames diff. Reports measurements, not human visual acceptance; does not register templates.| Parameter | Type | Description |
|---|---|---|
| candidate * | string | |
| reference * | string |
openmotion_configure_providerConfigure a Model Gateway provider in this local workspace. API keys are write-only and excluded from projects/exports. apiKey=null removes the stored key (an environment key may remain); enabled=false disables the provider. Codex uses its own login and accepts no key.| Parameter | Type | Description |
|---|---|---|
| apiKey | any | |
| enabled | boolean | |
| provider * | any |
openmotion_create_artifactGenerate another artifact in an existing conversation using its mode and the selected template. A failed generation keeps the conversation and its previous artifacts. Returns previewUrl showing only the Artifact Viewer by default in Codex or another host browser.| Parameter | Type | Description |
|---|---|---|
| embedded | boolean | |
| expectedRevision * | any | |
| sessionId * | string | |
| templateId | string | |
| title | string |
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_create_sessionCreate a host-independent Agent conversation first, then optionally generate its mode/template artifact. Uses the same session API as the OpenMotion Agent UI. Set createArtifact=false to converse before producing an artifact. Returns a default embedded previewUrl and an explicit full-workspace sessionUrl. On generation failure the conversation is preserved for retry.| Parameter | Type | Description |
|---|---|---|
| createArtifact | boolean | |
| embedded | boolean | Default: Viewer only for host browsers. Set false for the full conversation workspace. |
| id | string | |
| instruction | string | |
| mode | any | |
| templateId | string | |
| title | string |
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 makes the selected version current and preserves every saved version. It returns changed=false when the target is already current and its files and entry point match. 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, deploy to a live Open Design Cloud share link (deploy, deploy_status, unpublish), 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; call action=deploy (requires OpenDesign sign-in) to publish a unique HTTPS share URL. Export with outputPath writes the artifact to disk; delete requires the project to be in Trash first.openmotion_edit_projectOptional canvas changes a native composition to a preset ratio with contain (letterbox) or cover (center crop), without stretching. Existing authored content stays grouped at its original design size; subsequent ratio changes reuse it. Supply files and/or canvas with expectedRevision and expectedVersionId. Save the host Agent's native text-file batch, optional assetNames display metadata and namingLanguage into the explicitly named project. Check both expectedRevision and expectedVersionId, commit all files or none, protect GUI writes, record one complete content version and let Studio refresh. Production saves with workId defer editor presentation until the final video is ready. Every save returns a version-bound previewHandoff: preserve the current chat by default, queue when inactive and confirm the latest content on return. An accepted queued preview may be reported as saved and waiting for return. Only an explicit show-now request permits presentation=now for this turn; background skips presentation. The service does not generate code. Read project/version again after conflicts.openmotion_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. On failure, compare exportJob.error and lintFindings with the failed source. Repair confirmed causes against the latest revision/version and retry the saved version once with a fresh requestId and the original options. Report unresolved errors. 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_coverCapture a clean `1280×720` PNG directly from the game canvas into `assets/cover.png`openmotion_game_createCreate a new game draft (2D, 3D with vendored Three.js, or 9:16 `playableAd`) and return the complete agent briefopenmotion_game_getRead a game card, lifecycle status, and full file inventoryopenmotion_game_playtestLaunch isolated headless Chrome (1–4 clients) to test real input controls, `390×844` layout, and console cleanlinessopenmotion_game_publishRevalidate and publish the game into the local Game Studio catalogopenmotion_game_read_fileRead any source or design file inside a game projectopenmotion_game_set_statusTransition lifecycle status (`building`, `ready`, `failed`)openmotion_game_simulateRun bounded 3-tier deterministic headless simulations (`reference` win / weak / `idle` loss)openmotion_game_trailerRecord real headless gameplay clips and render an editable ~19-second MP4 traileropenmotion_game_update_metaMerge title, description, controls, cover path, and localized metadata (`zh-CN`, etc.)openmotion_game_validateCheck `index.html`, CDN policy, deterministic logic exports, and run a 50-tick smoke testopenmotion_game_wechatGuide WeChat Mini Game publishing in this conversation, one step per message, following the openmotion-game Skill WeChat guide (openmotion://workflow/game/wechat). Read status first (read-only); all other actions persist progress. set_appid stores an AppID; confirm records account/testers/category/review/filing/release. Keys are chosen with the file control the page shows under your message; it never reaches you: never request key text or paths. ip_check, preview and upload contact WeChat. Preview returns only a QR image URL. Upload requires user authorization; defaults to nextVersion and OpenDesign upload. If outcome is unknown, ask the user to check Mini Program console → Management → Version management → Development versions, then confirm_upload(present). Retrying the same uncertain version is refused unless confirmMissing=true. Every successful action returns full progress and game metadata for drafting review copy.openmotion_game_write_filesBatch-write cohesive game source and design files (up to 100 text files / 8 MiB per owned game)openmotion_generate_assetQueue image, video or audio generation via the shared Model Gateway. Uses the selected local Codex login or configured paid provider. Returns queued, not a finished asset. Poll openmotion_get_generation; only completed assets may be composed into a video. Files are imported under assets/generated in the project captured at submission. Does not edit a composition. Supply a new unique idempotencyKey for each distinct generation and reuse it only on an identical retry.| Parameter | Type | Description |
|---|---|---|
| idempotencyKey | string | Unique key per distinct generation; reuse only when retrying the exact same inputs. |
| modality * | any | |
| model | string | Gateway model key from openmotion_list_models; omit to use default route |
| parameters | any | |
| projectId | string | |
| prompt * | string | |
| referenceAsset | string | Optional project-relative PNG/JPEG/WebP up to 30 MiB for OpenDesign account/Cloud (automatically adapted for upload when needed), or under 20 MB for other local adapters, to edit. Requires a model with supportsImageReference (local Codex, or an OpenDesign account image model that supports editing). Snapshotted when queued; does not modify the original. |
| usage | object |
openmotion_get_capabilitiesInspect the shared Model Gateway: local Agent installation/login/image support, configured cloud providers, image/video/audio capabilities and default routes. Cloud credentials stay unverified until a generation succeeds; catalogue discovery does not verify quota. Never returns keys.| Parameter | Type | Description |
|---|---|---|
| refresh | boolean |
openmotion_get_exportRead the latest Hyperframes render status. Only completed means a real MP4 exists. Returns output path and downloadUrl after completion; failed includes the renderer diagnostics.openmotion_get_generationRead one generation job. completed includes real imported asset paths, MIME types and sizes. Failed/cancelled jobs are not resubmitted automatically. Use the returned projectId and assets[].path when authoring native compositions.| Parameter | Type | Description |
|---|---|---|
| jobId * | string |
openmotion_get_projectRead the active projectId, saved user conversation and native Hyperframes project: index.html source, project directory, file inventory and content revision. Studio and Agent share these exact files; no separate shot JSON. Media bytes are omitted. Check projectId against the requested project before editing.openmotion_get_sessionRead the current OpenMotion conversation, mode, skill and owned artifacts. Sessions are independent of OpenMotion projects. Select an artifact from this session before editing it with the OpenMotion tools.| Parameter | Type | Description |
|---|---|---|
| sessionId | string |
openmotion_get_skillRead one exact library Skill ID (or built-in domain workflow Skill ID such as openmotion-game, openmotion-video, openmotion-design, openmotion-media). Returns the complete SKILL.md in instructions and motionDocument.content plus a relative file inventory. For additional workflow subsections read MCP resource openmotion://workflow/<domain>/<section>. Repository entries include the absolute localSource directory; hosted entries list objects[] with path, bytes, sha256 and a content-addressed URL instead of local paths, so download only the files SKILL.md references and verify them. 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 the exact selected template ID, kind, original video/source URLs and workflowGuide. Editable entries route to template; video-only references and registry or guidance entries without editable project files route to recreate. template serves openmotion-video's template-to-video workflow; recreate rebuilds a reference video as a film for the user. Reuse the selected ID and existing project; this read-only tool does not create or recreate a project.| Parameter | Type | Description |
|---|---|---|
| templateId * | string |
openmotion_get_workflow| Parameter | Type | Description |
|---|---|---|
| section | string | |
| workflow | string |
openmotion_import_assetCopy a local media, font or reference file, at most 500 MB (500000000 bytes), into the native project assets directory. Use its relative path in Hyperframes HTML. Supports video, audio and images; no base64 media in tool responses.| Parameter | Type | Description |
|---|---|---|
| expectedRevision * | any | |
| sourcePath * | string | Absolute local source path |
| targetPath * | string | Project-relative destination under assets/ |
openmotion_import_assetsPersist a batch of real local attachments into this project, at most 500 MB (500000000 bytes) per file. Probe media or parse TTF/OTF/TTC/WOFF fonts and return per-item asset IDs, types, sizes, paths and errors. Fonts include actual family/weight/style and project-relative @font-face CSS; an optional licensePath is copied in the same version. 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 without duplicate assets.openmotion_inspect_projectDelegate project inspection to the pinned Hyperframes CLI. info returns composition metadata, timeline returns native clips and timing, lint returns official syntax/runtime-contract diagnostics. Fix lint errors before rendering.| Parameter | Type | Description |
|---|---|---|
| view * | any |
openmotion_job_manageUnified async job lifecycle manager across Workspace Assets and project media tasks. list returns recent jobs (optionally filtered by projectId or conversationId); status reads one jobId; cancel requests cancellation; retry_save saves retained local outputs (savePending=true) without another model call; resume rechecks an eligible interrupted Cloud or OpenDesign account media task (image, video, audio) without another paid submission.openmotion_list_generationsList the most recent 50 generation jobs, optionally scoped to a project.| Parameter | Type | Description |
|---|---|---|
| projectId | string |
openmotion_list_modelsSearch media models by provider and output modality. refresh fetches public Atlas/fal catalogues; offline entries are explicitly labelled. Follow nextOffset to paginate. Provider model IDs and generation modes are returned; configure credentials separately.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| modality | any | |
| offset | integer | |
| provider | any | |
| query | string | |
| refresh | boolean |
openmotion_list_skillsIndex every library video Skill (for example de-AI copy, growth teardown, long-to-short), whether or not it is installed locally, to find a technique by scenario. Repository checkouts read library/skills; NPM installations without the repository read the latest hosted `main` catalog; CMS mode returns no Skills. Returns source, indexPath (local JSONL, one row per Skill with skillId, title, description, tags and optional repository/license/localSource), total and skillVersion, not search results. Read or grep/jq the file, then call openmotion_get_skill. No query or pagination arguments.openmotion_list_templatesSearch and paginate the complete Hyperframes reference, clip, block, component and example catalog plus bundled editable projects. Follow next to continue. Read openmotion_get_template for an exact selected ID.| Parameter | Type | Description |
|---|---|---|
| category | any | |
| limit | integer | |
| offset | integer | |
| query | string |
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 configured media providers with inspect (refreshes account billing and returns advisory mediaEntitlement, normalized plan and hasBalance, never raw balances); inspect returns `upgrade.url` (attributed OpenMotion upgrade link) when Free/Go blocks multimodal generation. Read the selected 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. Credentials stay in the local service. 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 up to 30 MiB for OpenDesign account/Cloud (automatically adapted for upload when needed) or under 20 MB for other local 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. Project-direct results save to the library and original project paths; never import those files again. retry_save with the same jobId and stable requestId saves retained local outputs without invoking a model. Composition editing is separate. Use resume with the original jobId and a stable requestId to check a failed/interrupted Cloud or OpenDesign account media task (image, video, audio) with a known remoteId, without uploading inputs or submitting another paid generation. Cancelled jobs and confirmed remote failures cannot resume. Use retry_save only for retained local outputs (savePending); regeneration is a separate paid request requiring authorization. Studio offers Check original task for Cloud and account video/audio jobs and Continue download for account images. Account media 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 output downloads from zero. Reference counts follow the selected model before any reference file is read; there is no fixed library count ceiling. Local Codex editing remains one image, video remains one first frame, and project referenceAsset remains image-only. No automatic paid fallback or resubmission.openmotion_open_artifactOpen an existing artifact owned by a specific conversation. Wait for Studio saves before switching. Returns the selected project and default embedded previewUrl plus full sessionUrl; re-read openmotion_get_project before editing.| Parameter | Type | Description |
|---|---|---|
| artifactId * | string | |
| embedded | boolean | |
| expectedRevision * | any | |
| sessionId * | string |
openmotion_open_previewStart or reuse OpenMotion in OpenMotion. Initializes a native HTML project and compatible conversation only when empty. By default previewUrl contains embed=1 and returns only the Artifact Viewer, with global sidebar and conversation hidden, for Codex or another host browser. Also returns full session and embedded links. The tool itself does not open a browser.| Parameter | Type | Description |
|---|---|---|
| embedded | boolean | Default: Viewer only for host browsers. Set false for the full conversation workspace. |
openmotion_read_fileRead a Hyperframes composition, CSS, JS, captions or other text source file by project-relative path.| Parameter | Type | Description |
|---|---|---|
| path * | string |
openmotion_register_modelRegister a provider model missing from the catalogue, with its exact endpoint ID, output modality, mode and optional provider-native defaults. Uses the existing Atlas or fal adapter; registration is not proof of remote availability.| Parameter | Type | Description |
|---|---|---|
| defaults | any | |
| label * | string | |
| modality * | any | |
| mode * | string | e.g. text-to-image, image-to-video, text-to-speech |
| modelId * | string | |
| provider * | any |
openmotion_request_exportSnapshot the requested native project revision and queue a background MP4 render using Hyperframes renderer, including audio. Starts only the background service if needed, without launching Studio or changing active source. Real external edits still cause a revision conflict. No foreground browser or MediaRecorder required. Returns pending; use openmotion_get_export until completed.| Parameter | Type | Description |
|---|---|---|
| expectedRevision * | any |
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_set_model_routeChoose the default model key for image, video or audio. null restores automatic selection. A selected unavailable model fails explicitly; there is no automatic paid-provider fallback.| Parameter | Type | Description |
|---|---|---|
| modality * | any | |
| model * | any |
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_selectopenmotion_verify_exportVerify the completed job and its revision against specifications captured from the immutable Hyperframes snapshot: MP4/H.264, dimensions, fps, duration, audio policy, full video/audio decode and representative seeks. Returns technical evidence with SHA-256; visual and player review remain separate. Set audio required or silent from the brief; optional only permits either.| Parameter | Type | Description |
|---|---|---|
| audio | any | |
| expectedRevision * | any | Revision of the completed export job, which may differ from the active project. |
| jobId * | string |
openmotion_write_filesWrite native Hyperframes HTML/CSS/JS source. Use data-composition-id, data-start/duration, data-width/height/fps, class="clip", data-track-index, data-media-start and a paused GSAP timeline registered in window.__timelines[compositionId]. Use assets/gsap.min.js for the bundled GSAP. Studio reloads the same files. Re-read revision before writing, then run openmotion_inspect_project view=lint. Does not translate a custom motion DSL.| Parameter | Type | Description |
|---|---|---|
| expectedRevision * | any | |
| files * | array |
Security checks
- ✓README presentThe repository's README runs to about 4.9K 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.
README
The repository's README runs to about 4.9K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README