jimeng-opencli-image2image

jimeng-opencli-image2image is a skill for Claude Code from full-aigc-skills/jimeng-skills. It costs 93 tokens per session (827 once invoked), scanned A, original, Apache-2.0.

A workflow for creating edited images in Jimeng through its supported opencli commands and the Jimeng web interface. It uploads one to ten local reference images and applies an image-editing prompt.

In plain words
What is it for?
Use it to change an image’s background, clothing, or other requested details while using one or more reference images.
Why use it?
It prevents using unsupported commands and keeps image uploads, generation, and result checking in the correct order.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the jimeng-skills plugin — 13 skills shipped together

Good fit Use it to change an image’s background, clothing, or other requested details while using one or more reference images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add full-aigc-skills/jimeng-skills --skill jimeng-opencli-image2image
Clone the repo
git clone --depth 1 https://github.com/full-aigc-skills/jimeng-skills

Made for: Claude Code.

Or install jimeng-skills, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jimeng-opencli-image2image

README.md
[![agentmods](https://agentmods.dev/badge/skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image/github.svg)](https://agentmods.dev/skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image)
Your own site
<a href="https://agentmods.dev/skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image"><img src="https://agentmods.dev/badge/skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jimeng-opencli-image2image

Your own site · 80×15
<a href="https://agentmods.dev/skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image"><img src="https://agentmods.dev/badge/skills/full-aigc-skills/jimeng-skills/jimeng-opencli-image2image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.00827
Opus 5 $0.00046 $0.00413
Sonnet 5 $0.00019 $0.00165
Haiku 4.5 $0.00009 $0.00083

Measured 12d ago against content hash 2645c7d754e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

jimeng-opencli-image2image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/jimeng-opencli-image2image/SKILL.md · 62 lines

What it actually says

jimeng-opencli-image2image — 即梦图生图(opencli / 普通会员)

面向无 dreamina CLI 的普通会员。本技能仅允许 opencli jimeng 已注册的子命令,禁止 dreaminajimeng-cli-image2image 及任何 dreamina 安装说明。

编辑 prompt 由 jimeng-prompt-image2image 提供;图生图上传与点击生成在即梦网页完成(与 opencli 共用同一 Chrome 登录态)。

opencli 命令

子命令 用途
generate-image2image <prompt> --images <paths> 图生图:上传 1–10 张参考图 + prompt(type=image
history 提交后核对作品
new / workspaces 会话管理
user_credit 积分检查

--images 为英文逗号分隔的本地路径,最多 10 张。generate 仅文生图,不含参考图上传。

核心流程

1. PROMPT  → jimeng-prompt-image2image 定稿(Keep/Change)
2. SESSION → 可选 opencli jimeng new
3. GEN     → opencli jimeng generate-image2image "<prompt>" --images /path/a.png,/path/b.png [--wait 60]
4. VERIFY  → opencli jimeng history --limit N

允许的 opencli 示例

opencli jimeng generate-image2image "将背景改为日落海滩" --images ./ref.png --wait 60
opencli jimeng generate-image2image "保持人脸,换装红色礼服" --images ./a.jpg,./b.jpg --workspace 12958724505868
opencli jimeng history --limit 10 --format table

禁止事项

  • 不得执行 dreamina image2imagedreamina query_result 等。
  • 不得引导用户安装 dreamina CLI 作为回退。
  • 不得用 generate(无 --images)冒充图生图。

与 jimeng-cli-image2image

已开通 dreamina CLI / 高级会员且可本地提交图生图任务时,改用 jimeng-cli-image2image;本技能用户不要混用。

智能体规范

  • prompt 由 jimeng-prompt-image2image 负责;参考图路径由用户提供,由 generate-image2image 自动上传。
  • status=success 时从 media_urls 取图;timeout 时加大 --wait 或查 history
  • 若用户坚持「全自动」:使用 generate-image2image仍不得改用 dreamina。

Gotchas

  1. 多参考图用逗号分隔;单张过大(>15MB)会报错。
  2. 2k/4k、4.0+ 模型可在网页侧再调,或 --model(页面会尝试切换)。
  3. 编辑 prompt 应用 Keep/Change,避免未描述区域被改写。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 62 lines · 93 tokens per session scan A 2645c7d754e4

Subscribe to this mod's changes

jimeng-opencli-image2image is a skill published in the GitHub repository full-aigc-skills/jimeng-skills (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 827 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens