dreamina-cli

Installation
SKILL.md

Dreamina CLI

Use this skill when you need Dreamina(即梦) image or video generation, task querying, task listing, credit checks, or session management.

即梦 is the Chinese product name of Dreamina. If the user says 即梦, treat it as Dreamina and use this skill.

Prefer the packaged Python wrapper scripts in scripts/ over calling raw dreamina directly. The wrappers add path validation, command normalization, structured JSON output, --dry-run, and consistent error handling.

Treat dreamina -h and dreamina <subcommand> -h as the final source of truth when a specific flag or supported value is unclear.

Default workflow

  1. If you need capability discovery, run python3 .agent/skills/dreamina-cli/scripts/list_capabilities.py --format json.
  2. Choose the narrowest wrapper script for the user request.
  3. For expensive or ambiguous requests, run the wrapper with --dry-run first to inspect the exact CLI arguments.
  4. Run the real wrapper command.
  5. Read the wrapper JSON response instead of relying on shell exit code alone.
  6. For async generation, keep the returned submit_id and use query_result.py if the user wants follow-up polling.
Installs
32
GitHub Stars
96
First Seen
Mar 31, 2026