Preface¶
When performing image-to-image (I2I) generation in Dreamina/Jimeng 4.0+, a common issue is that prompts only describe “what to become” without clearly stating which elements in the original image must be retained. The model easily modifies the subject incorrectly, causes compositional drift, or alters the background, clothing, and style all at once. The “describing a scene from scratch” approach used for text-to-image is often insufficient when applied to existing reference images.
The following introduces the SkillHub community skill “Jimeng - Image-to-Image Prompt Skill, Making Your Prompts More Precise.” It is designed for image-to-image (I2I) editing scenarios, utilizing a Keep/Change framework to organize prompts: first declaring what to retain, then declaring what to change, covering ten common editing tasks in Jimeng.
What is this¶
This is an Agent Skill based on the standard SKILL.md format, with the identifier @user_c1d16043/jimeng-prompt-image2image. The current version is v1.0.1, sourced from the community, published by user_c1d16043, and categorized under ai-agent. The page is marked with requires_api_key=false, meaning installing this Skill itself does not rely on an additional API Key.
The Skill’s positioning is: to provide prompt writing guidelines for Jimeng 4.0+ image-to-image editing, rather than replacing the Jimeng client or API. When a user wants to modify an existing image, or attaches a reference image and requests a transformation, the Agent should prioritize loading this Skill and organize the output according to its categories and templates.
Official entries:
- API Page: https://api.skillhub.cn/user_c1d16043/jimeng-prompt-image2image
- SkillHub Page: https://www.skillhub.cn/skills/user_c1d16043/jimeng-prompt-image2image
(The SkillHub page shows a rating of 100000 and 7339 downloads; data is subject to the live page.)
Core Features¶
Keep/Change Framework¶
The key difference between image-to-image and text-to-image is the “anchor”: one must clarify which pixel-level or semantic-level information cannot be changed. This Skill requires that prompts explicitly state the items to Keep and the items to Change, reducing issues like accidental subject modification and compositional drift.
Ten Editing Scenarios¶
The applicable editing types listed in the materials include:
- Style transfer
- Background replacement
- Detail enhancement
- Color adjustment
- Element add/remove
- Season/time change
- Restoration
- Outfit change
- Creative transformation
- Multi-reference compositing
Templates and Examples¶
The Skill contains guidelines corresponding to 10 editing categories and provides 30 annotated examples, along with Keep/Change templates specifically for image-to-image (I2I). The specific example texts are located within the Skill package; after installation, the Agent reads SKILL.md and related reference files for usage.
Trigger Conditions (When the Agent should enable this)¶
When the user’s intent falls under the following circumstances, the Skill instructions require Always use:
- Mentions expressions such as “image-to-image,” “image2image,” “edit image,” “change background,” “change style,” “retouch,” “turn this image into,” etc.;
- Provides a reference image and requests a transformation based on it;
- Uses Jimeng to edit an existing image (rather than pure text-to-image).
Installation and Activation¶
Method 1: Let the Agent install according to SkillHub instructions¶
The method provided on the SkillHub page is: send the installation instructions to the AI and let it install the identifier according to the SkillHub Installation Documentation:
@user_c1d16043/jimeng-prompt-image2image
Method 2: Use the skillhub CLI¶
First, confirm if the CLI is already available on your machine:
command -v skillhub && skillhub --version
If not installed, you can perform a complete installation (including CLI and default Skills) according to the SkillHub documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, the default installation to ./skills/ might not be recognized. Common paths are as follows (excerpted from SkillHub installation docs):
| Environment | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Example installation command (replace <skills directory> with the corresponding path from the table above):
skillhub install @user_c1d16043/jimeng-prompt-image2image --dir <skills directory>
After installation is complete, restart or refresh the skill list according to the requirements of your Agent, then mention image-to-image requirements in the conversation to trigger it.
Typical Usage¶
The Skill does not directly call the Jimeng API but guides the Agent to generate or rewrite prompts. The reproducible interaction mode is as follows:
- Prepare Materials: Upload the reference image to be edited (or multiple images for multi-reference compositing needs).
- State Intent: Describe the goal in natural language, such as changing background, changing style, changing clothes, fixing flaws, etc.; try to explain which parts cannot be changed (face, posture, composition, etc.).
- Apply the Skill: After the Agent reads the Skill, it outputs a complete prompt according to the Keep/Change structure and categorizes it into one of the editing categories mentioned above.
- Execute in Jimeng: Use the prompt provided by the Agent together with the reference image in the Jimeng 4.0+ image-to-image/editing workflow (specific entry points depend on the Jimeng product).
If you only provide a vague request (e.g., “make this image look better”), you should supplement it with: what to keep, what to change, and the target style or scene. The Skill is designed to structure this information into the prompt, rather than replacing your business judgment.
Applicable Scenarios and Notes¶
Who it’s for
- Creators or operators who frequently perform image-to-image generation, retouching, background changing, or style transfer on Jimeng;
- Teams working in environments supporting Skills (like Cursor, Claude Code, Codex) who want the Agent to automatically write I2I prompts that fit Jimeng’s habits.
Limitations and Notes
- Aimed at Jimeng (Dreamina/Jimeng) model 4.0+; prompt habits for other platforms or older models may differ, do not copy directly.
- The Skill provides prompt and classification guidelines but does not guarantee the effect of a single generation; iterative parameter adjustment and sampling in Jimeng are still required.
- Tasks like multi-image compositing and large-scale creative transformation have higher requirements for “Keep” boundaries. It is recommended to specify retention items in the conversation to facilitate the Agent’s application of templates.
- Ratings and download counts come from the SkillHub page and will change over time; please refer to the page display at the time of installation.
Conclusion¶
The effectiveness of Jimeng’s image-to-image generation largely depends on whether the prompt clearly states “what not to change and what to change.” @user_c1d16043/jimeng-prompt-image2image consolidates the Keep/Change framework, ten editing scenarios, and 30 annotated examples into a single Agent Skill, suitable for long-term use in coding assistants that support SkillHub installation.
For installation and details, visit: https://www.skillhub.cn/skills/user_c1d16043/jimeng-prompt-image2image