Reverse Image Prompting | Jianshi AI: Deconstructing Reference Image Visuals and Creating Executable Prompts

Introduction

When working on design or content creation, a common requirement is to “generate another version based on this image” or “transfer the poster’s style to a new theme.” Often, we only have the final image on hand, without the original prompts. Describing the subject, composition, lighting, and style from scratch often leads to omissions, and the terminology may not align with the conventions of various image generation models. This article introduces a community Skill on SkillHub: “Image Prompt Reverse Engineering | Jianshi AI.” It consolidates the workflow of “Image viewing → Structured analysis → Multi-model compatible prompts” into a single Agent workflow.

What is this

“Image Prompt Reverse Engineering | Jianshi AI” is an image prompt reverse engineering workflow provided by Jianshi AI. It is published on SkillHub with the coordinate @user_fccf428b/image-prompt-jianshi-ai. The current version is 1.0.1, the source is community, the category is design-media, and the tag is requires_api_key=false (according to the page description, it does not rely on additional API keys).

It processes single or multiple reference images provided by users (screenshots, posters, photography, illustrations, product images, etc.), breaks down visible visual elements, and generates prompts suitable for use in models such as GPT Image, Midjourney, Stable Diffusion, FLUX, Gemini/Nano Banana, and Jimeng (即梦). The Skill explicitly requires that outputs distinguish between visible facts, reasonable inferences, and unverifiable information. It must not claim to have recovered original prompts, models, seeds, or real generation parameters.

Official Portals:

  • SkillHub Page: https://www.skillhub.cn/skills/user_fccf428b/image-prompt-jianshi-ai
  • API Coordinate Page: https://api.skillhub.cn/user_fccf428b/image-prompt-jianshi-ai

Core Functions

Based on the SkillHub description, the verified capabilities include:

  1. Multi-type Input: Supports analyzing single images or multiple style reference images.
  2. Structured Analysis: Covers subject, composition, camera work, lighting, color, texture, typography, and overall style.
  3. Multi-model Prompts: Generates executable descriptions tailored for common image generation stacks, rather than applying a single rigid format.
  4. Intent Alignment: Adapts to natural language requests such as “Reverse engineer the prompt for this image,” “How to generate a similar image,” “Extract the common style of these images,” or “Rewrite reference images into generation prompts.”
  5. Honest Boundaries: Does not fabricate original generation parameters; clearly marks content that is unclear or cannot be inferred from pixels.

Installation and Activation

The Skill is based on the universal SKILL.md format and is installed into the current Agent’s skills directory via the SkillHub CLI. If installed in the wrong directory, the Agent may not recognize it; you must select the correct path based on your environment.

1. Check or Install SkillHub CLI

First, confirm if skillhub is available on your local machine:

command -v skillhub && skillhub --version

If not installed, you can follow the official SkillHub installation documentation to perform a complete installation (CLI + default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill

During installation, you must use --dir to point to the current Agent’s skills directory. For example, in Cursor, the common path is ~/.cursor/skills/; for Claude Code, it is ~/.claude/skills/; for Codex, it is ~/.codex/skills/ or .agents/skills/ under the project. For paths of other clients, please refer to the SkillHub Installation Documentation.

skillhub install user_fccf428b/image-prompt-jianshi-ai --dir ~/.cursor/skills/

Replace ~/.cursor/skills/ with the actual skills directory you are using. The official page also suggests: you can ask the AI to install @user_fccf428b/image-prompt-jianshi-ai by referencing https://skillhub.cn/install/skillhub.md.

After installation, refresh or restart your Agent according to its conventions to ensure the new Skill is loaded.

Typical Usage

Assuming the Agent has already enabled this Skill, attach the reference image and use natural language to describe the goal. The following expressions are consistent with the applicable requests in the official description and can be directly reproduced:

  1. Single Image Reverse Engineering
    Upload a poster or product image and specify: “Reverse engineer the prompt for this image; it needs to be usable in Midjourney.”
    Expectation: Output dimensions such as subject, composition, lighting, color, and style, and provide paste-ready prompt snippets.

  2. Similar Imagery
    Attach a photo or illustration and ask: “How to generate a similar image?”
    Expectation: Provide annotated inferences based on visible facts, written as descriptions tailored to the selected model.

  3. Common Style from Multiple Images
    Upload multiple style reference images and ask: “Extract the common style of this set of images and write Stable Diffusion / FLUX prompts.”
    Expectation: Summarize commonalities (color tone, texture, composition habits, etc.) and distinguish the differences between each image.

  4. Rewrite as Generation Prompt
    Attach a screenshot or UI mock and say: “Rewrite the reference image into a generation prompt, preserving the layout and color scheme feel.”
    Expectation: Include visible elements like typography and material, without claiming to restore the original prompt.

If you need to specify a target model, clearly state names like GPT Image or Jimeng in the question to help the Skill adjust its terminology habits.

Scenarios and Notes

Who is it for

  • Design and operation staff who need to quickly draft ideas or perform style transfer from reference images.
  • Developers working in environments supporting Skills (like Cursor, Claude Code) who need to “look at images and write prompts.”

Limitations and Notes

  • The reverse engineering results are analysis and inference based on the visual content, not the original generation records; regarding models, seeds, or precise parameters, refer to the Skill’s “Unverifiable” annotations.
  • Page Statistics (as of data capture): Rating 100000, Downloads 2573, Installs 0. This is a community Skill; before use, you may judge the maintenance and update rhythm yourself based on the SkillHub page description.
  • Installing to the wrong path is a common pitfall: Ensure to use skillhub install ... --dir <current Agent's skills directory>. Do not default to installing to a ./skills/ location that is not scanned by the Agent.

Conclusion

“Image Prompt Reverse Engineering | Jianshi AI” breaks down reference images into structured visual descriptions and translates them into prompts usable by various image generation models, while constraining against the fabrication of original parameters. If you frequently deal with “how was this image created” type questions in Agents, you can install @user_fccf428b/image-prompt-jianshi-ai via SkillHub to standardize this workflow. For details and installation instructions, see: https://www.skillhub.cn/skills/user_fccf428b/image-prompt-jianshi-ai

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye