Dreamina CLI for Openclaw

A local CLI integration that enables AI agents to command Dreamina (即梦) for high-performance image and video generation workflows.

mr-j-j
v1.0.0
May 20, 2026
0
846
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dreamina

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dreamina using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Dreamina CLI?

The dreamina-cli skill provides automated capabilities for executing and managing Dreamina (即梦) image and video generation pipelines directly through CLI subcommands. Utilizing Openclaw Skills, developers and automated agents can execute actions such as text-to-image creation, image-to-video rendering, story-based multi-frame animation, and advanced multi-modal outputs.

This integration simplifies the interaction with Dreamina APIs by wrapping local CLI logic, managing persistent authentication state, keeping track of asynchronous rendering queues, and monitoring credit consumption safely. It is particularly valuable for pipelines where structural AI image generation requires systematic oversight, robust validation, and continuous monitoring.

Dreamina CLI Use Cases

  • Programmatic generation of high-quality assets using local AI workflows.
  • Compiling multiple storyboard panels into a cohesive story video via multiframe2video.
  • Continuous monitoring of asynchronous image and video rendering queues without manual intervention.
  • Managing credit allocations and tracking generation histories dynamically in software pipelines.
  • Seamlessly executing multi-modal video production using advanced model families like seedance2.0.

How Dreamina CLI Works

  1. Discovery & Validation: The agent checks capabilities by running help commands like dreamina -h and specific subcommand options.
  2. Credit & Session Verification: Validates whether a cached session is active and checks credit balances with user_credit.
  3. Task Dispatching: Executes specific generation subcommands such as image2video or multimodal2video based on inputs.
  4. Asynchronous Monitoring: Monitors task outputs using the generated submit_id and status loops.
  5. Compliance & Feedback Processing: Handles runtime exceptions, including web-side authorization blocks (AigcComplianceConfirmationRequired), and provides clear instructions to developers.

Dreamina CLI Setup

System Requirements

Ensure that you have the dreamina CLI installed and configured on your host system with active login credentials.

Integration Steps

Install the command-line integration as part of your active Openclaw Skills profile. Once configured, verify CLI connectivity and review the help options:

# Inspect main CLI capabilities
dreamina -h

# Inspect individual subcommand arguments prior to task execution
dreamina image2video -h

Session Maintenance

Ensure you are logged in using dreamina login. The agent will reuse your active session state to prevent unauthorized session resets.

Dreamina CLI Data Schema & Taxonomy

The skill manages inputs and tracks async state using standard schemas. Command parameters match those defined in the Dreamina API.

Task Tracking Schema

Command Subcommand Output Parameters Use Case
user_credit None credit_balance Review remaining budget
query_result --submit_id gen_status, fail_reason Query status of asynchronous generation
list_task None task_history_array Batch-review past generation results
image2video Various flags submit_id Animated video from a single reference image
multiframe2video Various flags submit_id Sequence-based story video generation
multimodal2video Various flags submit_id Advanced multi-modal production using seedance2.0

Dreamina CLI Advanced Features

  • Coherent Storyboards: Utilize multiframe2video to link sequential frames into one fluid storytelling video.
  • Multi-modal Precision: Support for the advanced seedance2.0 model family via multimodal2video for professional creative content.
  • Async Execution Safety: Structured validation patterns that monitor submit_id and check for status codes instead of relying solely on shell exit codes.
  • AIGC Compliance Interceptors: Built-in logic to handle AigcComplianceConfirmationRequired exceptions gracefully, prompt users, and allow seamless retries once verified.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*