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
- If you need capability discovery, run
python3 .agent/skills/dreamina-cli/scripts/list_capabilities.py --format json. - Choose the narrowest wrapper script for the user request.
- For expensive or ambiguous requests, run the wrapper with
--dry-runfirst to inspect the exact CLI arguments. - Run the real wrapper command.
- Read the wrapper JSON response instead of relying on shell exit code alone.
- For async generation, keep the returned
submit_idand usequery_result.pyif the user wants follow-up polling.