OpenClaw
Use the Indream OpenClaw plugin for video workflow authoring, asset uploads, project sync, and exports.
Use the Indream OpenClaw plugin when you want an agent to create videos with Indream tools inside an OpenClaw session.
Install
openclaw plugins install @indreamai/openclaw-plugin
openclaw gateway restartUse OpenClaw gateway 2026.4.2 or later.
Configure
Plugin configuration lives under plugins.entries.indream.config.
{
plugins: {
entries: {
indream: {
enabled: true,
config: {
apiKey: "indream_xxx",
baseURL: "https://api.indream.ai",
timeoutMs: 60000,
pollIntervalMs: 2000,
uploads: {
allowLocalPaths: true,
allowRemoteUrls: true,
},
},
},
},
},
}- The plugin can be installed with an empty config object, but every live API request requires
plugins.entries.indream.config.apiKey. uploads.allowLocalPathsanduploads.allowRemoteUrlscontrol whatindream_assets_uploadmay read.
Available Tools
These tools are available as soon as the plugin is enabled:
indream_editor_capabilitiesindream_illustrations_searchindream_assets_getindream_asset_analyzeindream_video_workflow_initindream_video_workflow_set_designindream_video_workflow_set_scriptindream_video_workflow_set_storyboardindream_video_workflow_reviseindream_video_workflow_reviewindream_video_workflow_gate_advanceindream_video_workflow_scene_submitindream_video_workflow_scene_listindream_video_workflow_buildindream_video_workflow_block_listindream_video_workflow_block_readindream_video_workflow_snapshotindream_video_workflow_commitindream_exports_getindream_exports_download
These write tools are optional because they upload files, save projects, or create export tasks:
indream_assets_uploadindream_video_projects_createindream_video_projects_syncindream_video_exports_create
Allow all optional tools from this plugin:
{
tools: {
allow: ["indream"],
},
}Or allow only the write tools you want:
{
tools: {
allow: [
"indream_assets_upload",
"indream_video_projects_create",
"indream_video_projects_sync",
"indream_video_exports_create"
],
},
}Default Workflow
Use this staged flow:
- Start with
indream_video_workflow_init. - Add the design brief with
indream_video_workflow_set_design. - Add the approved narration or copy with
indream_video_workflow_set_script. - Define the scene plan with
indream_video_workflow_set_storyboard. - Submit each scene draft with
indream_video_workflow_scene_submit. - Run
indream_video_workflow_buildafter every scene is submitted. - Run
indream_video_workflow_review, then fix blocking diagnostics withindream_video_workflow_revise. - Use
indream_video_workflow_snapshotwhen preview frames are available for your environment. - Run
indream_video_workflow_commit. - Use the returned compiled artifact ID with
indream_video_projects_create,indream_video_projects_sync, orindream_video_exports_create. - Track export progress with
indream_exports_get, or wait for a terminal result withindream_exports_download.
Asset and Illustration Binding
indream_assets_uploadaccepts either a local file path or a remote HTTP/HTTPS URL.- Upload responses include a reusable binding value for later workflow steps and may include image analysis fields.
indream_assets_getreturns the stored asset record and any available analysis for thatassetId.indream_illustrations_searchreturns supported built-inillustrationNamevalues. Use the returned name directly inside scene sparse JSON.
Example illustration clip for indream_video_workflow_scene_submit:
{
"id": "s01-illus",
"type": "illustration",
"startMs": 0,
"durationMs": 3000,
"asset": { "type": "illustration", "illustrationName": "IAiChat" },
"illustrationColor": "#ff6600",
"size": { "width": 0.28, "height": 0.28 },
"position": { "x": 0.62, "y": 0.2 }
}Bundled Skills
The plugin ships with one public skill:
indream-video-workflow
Example prompts:
Use indream-video-workflow to create a 30-second product teaser, upload three local images, build five scenes, review blocking diagnostics, commit the artifact, create a project, and export MP4.Troubleshooting
- Missing credentials: requests fail until
plugins.entries.indream.config.apiKeyis set. - Optional tools disabled: if an agent can read but cannot upload, create, sync, or export, add the plugin ID or the exact write tool names to
tools.allow. OPEN_API_RUNTIME_ACCESS_FORBIDDEN: the key is valid, but the target resource is outside the current API key's runtime scope.- Build prerequisites:
indream_video_workflow_buildrequires every storyboard scene to be submitted first. - Compiled artifact required:
indream_video_projects_create,indream_video_projects_sync, andindream_video_exports_createrequire the compiled artifact ID returned byindream_video_workflow_commit. - Snapshot unavailable:
indream_video_workflow_snapshotmay be unavailable in some environments until preview-frame support is enabled. - Workflow diagnostics: fix blocking review errors before commit, then retry the project or export step.
Resources
For source code, issues, and contributions, check out the GitHub repository. Install directly from @indreamai/openclaw-plugin to get the latest published package.
Last updated on