@meetopenbot/motion
v0.0.1
Published
OpenBot agent plugin for Motion video generation.
Readme
Motion Agent Plugin
An OpenBot agent plugin that runs Motion / Mosaic video workflows via the Mosaic API.
Features
- Runs a preconfigured Mosaic agent workflow on each message
- Injects the user's prompt into a Motion Graphics or Video Generation tile via
update_params - Accepts YouTube or video URLs in the message for edit workflows
- Chains follow-up runs using prior output
node_render_ids - Streams tile progress with
agentOutputon each step
Setup
- Create a workflow in the Mosaic editor (e.g. Motion Graphics or AI Content Generation).
- Copy the agent ID from the workflow settings.
- Open a node's API info panel and copy the agent node ID for the tile that should receive your prompt.
- Configure the plugin:
| Setting | Required | Description |
|---------|----------|-------------|
| apiKey / MOSAIC_API_KEY | Yes | Mosaic API key (mk_…) |
| mosaicAgentId | Yes | Workflow agent UUID |
| promptNodeId | Recommended | Tile UUID for runtime prompt injection |
| modelTier | No | fast or pro (default: pro) |
| chainOutputs | No | Feed prior outputs into the next run (default: true) |
Development
npm install
npm run build