跳到主要内容

jimeng-cli 标准

Use when an agent needs Dreamina(即梦) login, sessions, task history, Seedream 5.0 Pro, or Seedance 2.5 image/video generation through the dreamina CLI.

在 GitHub 打开

安装方式

cp -r skills/jimeng-cli ~/.claude/skills/jimeng-cli

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/pengfeiqiao/kunpeng.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 无外部命令依赖
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
sessionstask historySeedream 5

SKILL.md 正文

来源 pengfeiqiao/kunpeng@bf8a8ac · 许可 MIT · 内容未修改

Dreamina CLI

Mandatory confirmation before paid generation

Before running any command that consumes credits (text2image, text2video, image2image, image2video, multimodal2video, multiframe2video, frames2video, or image_upscale), show the user the intended model, duration/resolution, input count, and complete command, then wait for explicit confirmation. Help, user_credit, query_result, and list_task are read-only and do not require confirmation.

Use this skill when you need Dreamina(即梦) image or video generation, login, session management, or task history work through dreamina.

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

This skill is intentionally short. Detailed flags and supported values belong to the CLI itself, so always treat dreamina -h and dreamina <subcommand> -h as the primary reference.

What this tool is for

dreamina is the local CLI entrypoint for all currently exposed Dreamina(即梦) image and video generation workflows, plus the account/session operations around them.

Use it for:

  • checking or reusing an existing Dreamina login session
  • checking account credit
  • managing sessions with dreamina session
  • clearing the local OAuth login state with dreamina logout
  • submitting image generation tasks
  • submitting video generation tasks
  • querying async task results and downloading result media
  • reviewing saved task history

Default workflow

When using this CLI as an agent:

  1. Start with dreamina -h.
  2. Before using any command for real, run dreamina <subcommand> -h.
  3. Reuse the current login state unless the user explicitly asks you to login, relogin, logout, or finish a headless login with checklogin.
  4. When login is required, run dreamina login or dreamina relogin. The CLI uses OAuth Device Flow and prints verification_uri, user_code, and device_code.
  5. Default login waits for authorization to complete. With --headless, the CLI prints the device-flow material and exits; then use dreamina login checklogin --device_code=<device_code> to finish the login later.
  6. Be explicit about whether you are only reading help, submitting a real task, or querying an existing task.
  7. Warn the user before running commands that may consume credits.

Login completion: mandatory user-visible confirmation

dreamina login / dreamina relogin prints OAuth Device Flow instructions and then waits for authorization. When the command finishes successfully, tell the user explicitly that login succeeded or the local OAuth state was reused.

  • Do not wait for the user to ask “登录好了吗”.
  • Do not stop after only sending the device code: keep the login command running, read stdout to the end, then confirm success/reuse/failure.
  • Failure must still be reported with the concrete error and the next step.

Choosing the right command

At a high level:

  • Use user_credit to check budget.
  • Use session to create, list, search, rename, or delete sessions; all generator commands accept --session=<id> and 0 is the default session.
  • Use query_result when you already have a submit_id; add --download_dir when you want the generated media saved locally.
  • Use list_task to review recent saved tasks, especially when you want to filter by status or task type.
  • Use text2image for prompt-only image generation, image2image for image-guided editing, and image_upscale for upscaling.
  • Use text2video for prompt-only video generation.
  • Use image2video when one main image is enough.
  • Use frames2video for first-and-last-frame driven video generation.
  • For seedance2.5 with image2video or frames2video, omit --ratio: reference-frame output follows the first frame and the CLI rejects an explicit ratio.
  • Use multiframe2video for Dreamina's fixed-model, image-only intelligent multi-frame flow: multiple images in, one coherent story video out. This command does not expose model selection.
  • Use multimodal2video for Dreamina's flagship video mode when the task needs all-around references across images, video, and audio, or when a Seedance 2.5 multi-image request needs model selection. If the legacy name ref2video appears, trust dreamina -h for the current command surface.

For the exact flags and supported combinations, rely on each subcommand's -h.

Model selection rule

Do not hardcode model support from this skill.

If the user specifies a model, always check the relevant subcommand help before running it:

dreamina <subcommand> -h

Use the subcommand help to confirm:

  • whether that command exposes model selection
  • whether the requested model is supported on that command
  • what other constraints apply to that model, such as duration, ratio, resolution, or whether the command supports model_version at all

Additional guidance:

  • some commands do not expose model selection at all
  • runtime availability and queue capacity can change
  • if the user does not specify a model, preserve the subcommand's current default instead of overriding it
  • if the user expresses a speed or quality preference, inspect the current help and select a model only when that preference requires an explicit choice

How to judge submit acceptance and terminal success

Do not rely on shell exit code alone.

For async generation commands, submit_id plus gen_status=querying means only that the submission was accepted. It is not evidence that generation finished successfully.

Treat the task as terminally successful only when gen_status=success. If gen_status=fail, inspect fail_reason and reply proactively with the concrete reason.

Use --poll=N on a generation command to wait for up to N seconds for a terminal result. If the command still returns querying after that bounded wait:

  • save the submit_id
  • continue with query_result --submit_id=<id> until the task reaches success or fail

Follow-up pattern for async tasks

After a submit returns querying without reaching a terminal result during --poll=N:

  1. Save the submit_id.
  2. Use query_result --submit_id=<id> for follow-up.
  3. Use list_task when you want to review saved tasks in bulk.

If you are running a test sweep, keep results in a machine-readable format so you can query the returned submit_id values later.

Important user-facing rules

  • Some generation commands are asynchronous; submit and query are separate steps.
  • Some models may require a one-time authorization on Dreamina Web.

If the CLI returns AigcComplianceConfirmationRequired, reply proactively: ask them to complete that web-side confirmation first, then retry.

  • Do not assume that different commands support the same models, ratios, durations, or resolutions.

Check each subcommand's -h before use.

Good agent behavior

  • Relay OAuth Device Flow instructions exactly enough for the user to complete login.
  • Always close the loop when the login command finishes with a user-visible confirmation.
  • Prefer small, reviewable batches when running real generation tasks.
  • Keep a record of the command, arguments, submit_id, and final status for every paid test you run.
  • If you are preparing a report, separate:
  • help-only inspection
  • submit-stage validation
  • later async result follow-up

质量与来源

所属仓库
pengfeiqiao/kunpeng
仓库星标
99
最近更新
2 天前
采集时间
今天
commit
bf8a8ac8c6d3
内容指纹
sha256:3b8250bb89a4aeb
文件路径
skills/jimeng-cli/SKILL.md

同仓库其它 Skill

查看全部 49 个
anchor-frame-production
建立参考分工、锚定图变体、局部核验与版本记录,用于普通对话、画布和工坊的连续镜头创作。
pengfeiqiao/kunpeng 99 原文
Codex CLIMCP 客户端
blender-clay-previz
用户提到白模/白膜/运镜预演/previs 时使用。调用本机 Blender 无界面渲染极简白模场景与运镜视频,用于验证构图遮挡、空间调度与动作时机,也可作为 AI 视频生成的全能参考。
pengfeiqiao/kunpeng 99 原文
Codex CLIMCP 客户端
blender-modeling
在 Blender 中新建或修改可编辑模型、材质、灯光及场景工程。适用于产品建模、场景搭建、已有 blend 修改与渲染;纯白模运镜使用 blender-clay-previz。
pengfeiqiao/kunpeng 99 原文
Codex CLIMCP 客户端
canvas-project-manager
画布能力由 canvas 工具契约提供,本文件仅保留操作顺序和数据安全约束。
pengfeiqiao/kunpeng 99 原文
Codex CLIMCP 客户端
car-commercial-storyboard
汽车TVC、品牌片、汽车文案剧本、车辆资产与图片/视频提示词、分镜及Blender白模运镜。按人物叙事、生活观察、产品演示、造型光影等意图选择方法,维护车型身份与驾驶安全带连续性;不处理购车行情或维修问答。
pengfeiqiao/kunpeng 99 原文
Codex CLIMCP 客户端
car-model-generation
专业的汽车3D模型图片生成技能,使用Gemini API生成高质量汽车展示图片,并通过豆包AI进行质量分析和优化。 使用场景:汽车品牌宣传片、车型展示、汽车广告素材生成。 关键词:汽车模型、车型图、汽车展示图、AI生图、Gemini
pengfeiqiao/kunpeng 99 原文
Codex CLIMCP 客户端

相似 Skill

更多「办公」
opencli-adapter-author
Use when writing an OpenCLI adapter for a new site or adding a new command to an existing site. Guides end-to-end from first recon through field decoding, adapter coding, and verify. Replaces opencli-oneshot / opencli-explorer. For ad-hoc browser driving (no adapter), see opencli-browser instead; for a top-level orientation to opencli, see opencli-usage.
精选 jackwener/OpenCLI 3.0 万 原文
Gemini CLI
opencli-autofix
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
精选 jackwener/OpenCLI 3.0 万 原文
Gemini CLI
opencli-browser
Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.
精选 jackwener/OpenCLI 3.0 万 原文
Gemini CLI
opencli-usage
Use at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".
精选 jackwener/OpenCLI 3.0 万 原文
Gemini CLI
smart-search
基于 opencli 命令的智能搜索路由器。当用户想要使用 OpenCLI、CLI 或 API 搜索、查询、查找或研究信息时,尤其是涉及指定网站、社交媒体、技术资料、新闻、购物、旅游、求职、金融或中文内容时,务必使用此 skill
精选 jackwener/OpenCLI 3.0 万 原文
Gemini CLI
deeptutor-cli
终身个性化辅导系统:根据学习者情况持续调整教学方式。
精选 HKUDS/DeepTutor 4.1 万 仓库简介
Codex CLIMCP 客户端