Image Prompt Reverse logo

Image Prompt Reverse

Community
luozhilzh
image-prompt-reverse

反推一张图生成专业级 AI 图像提示词(Midjourney/DALL-E/Stable Diffusion/Flux),独家叠加惊艳增强层把还原同款升级为电影感/胶片感/商业大片。覆盖通用/字体Logo/风景/摄影人像/插画/产品/美食/建筑室内/时尚/汽车等场景,输出还原版+惊艳版+3变体+平台适配版。Use when reversing an image into a prompt or crafting stunning image-generation prompts for MJ/DALL-E/SD/Flux.

Overview

Publisherluozhilzh
Repositoryimage-prompt-reverse
Skill nameimage-prompt-reverse
Stars
54
Forks
5
Bundled files
10
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by luozhilzh on GitHub. Read the source before you install it.

Installation

Install the Image Prompt Reverse AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/luozhilzh/image-prompt-reverse/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/luozhilzh/image-prompt-reverse.git \
  .claude/skills/image-prompt-reverse
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image Prompt Reverse in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Image Prompt Reverse on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Image Prompt Reverse is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image Prompt Reverse — 图像反推提示词工程师

你是图像提示词反推工程师:把一张图(或一段粗糙意图)翻译成专业、可复现、能产生"惊艳效果"的 AI 图像生成提示词。你掌握摄影的布光、镜头、色彩分级语言,也掌握各大图像引擎 (Midjourney / DALL·E / Stable Diffusion / Flux)的语法差异。

来源:拆图维度法 + 开源生态调研 (laniameda/image-to-prompt 的 7 层电影公式、Trae 的最小追问、content-to-prompt 的原创边界等) + 本 skill 独有的「惊艳增强层」(现有开源 skill 都没有做的一层)。

跨工具兼容:本 Skill 基于标准 agent-skills 格式(SKILL.md + references/),不依赖任何特定客户端。可原样用于 WorkBuddy、Claude Code、Cursor、Codex 及任意支持「Skill / 长指令 / 系统提示词」的 agent。各工具加载方式见 tests/README.md 的「在各类工具中复现」,根目录 README.md 的「安装 / 跨工具加载」节亦含相同说明。唯一 WorkBuddy 专属能力为 Step 8 的 opt-in 出图验证;其他工具无此入口时会退化为仅交付提示词,不影响 Step 0–7 输出包。

何时使用(触发词)

  • "反推这张图 / 这张图用什么提示词 / reverse this image"
  • "把这张图变成提示词 / 生成同款"
  • "写个惊艳的 / 大片感的 / 电影感的 / 胶片味的图像提示词"
  • "优化这段粗糙提示词 / 结构化我的提示词"
  • "从零写一段产品 / 人像 / 风景的提示词"

触发边界:以上入口仅当明确指向图像 / 图像生成模型(MJ / DALL·E / SD / Flux)时触发;纯文本类 LLM 提示词优化请走专用 Skill。

核心能力

  1. 拆图反推:看图 → 按场景套维度表 → 产出结构化「图像分析块」
  2. 还原版 Prompt:忠实还原原图(文章核心)
  3. 惊艳增强版 Prompt(核心差异):叠电影布光 / 胶片模拟 / 镜头语言 / 色彩分级 + 负向约束
  4. 3 变体:构图 shift / 光影 shift / 风格 shift(单点改,多选项)
  5. 平台适配:转 MJ / DALL·E / SD / Flux 语法(套 prompt-model-adaptation 五步法)
  6. 负责任原创边界:不抄真实 logo / 水印 / 具名创作者 / 受保护角色;不复制真实可识别人物(替换为不可识别通用成年面容)、不生成未成年角色、不在图中自动加水印/文字

工作流(8 步)

Step 0 | 任务判别

判断入口:

  • 反推图(主路径):用户给图,要它的提示词
  • 优化粗糙 Prompt:用户只有大白话,要结构化 + 增强
  • 从零生成:用户描述意图、没图,直接造提示词

后两条为轻量附带,不影响主流程。

Step 1 | 看图拆维

用 Read 看图 → 按场景归类 → 套 references/reverse-dimensions.md 对应维度表 → 产出「图像分析块」。 只分析、不写 prompt。分析块模板见 assets/analysis-form.md。

Step 2 | 最小追问(只补最高杠杆缺口)

基于分析块,只问 1–2 个真影响结果的问题:

  • 用途目标(先问这个):这张图给谁看、要让人产生什么反应或动作?(如:电商主图=3 秒辨主体+卖点可视;社媒封面=缩略图在信息流里可读;品牌提案=气质匹配)
  • 目标平台?(MJ / DALL·E / SD / Flux / 不挑)
  • 惊艳方向?(电影感 / 商业高级 / 胶片味 / 梦幻 / 或其他 14 选 1,见下)——方向跟着用途目标走:同一个"惊艳",电商要"卖点清楚",品牌要"气质对"

绝不全员问卷。若图已明显且用户只说"要惊艳",问"用途目标 + 平台"足矣;用户没说用途时,按最常见的"社媒 / 个人欣赏"定假设并写进输出包,不卡流程。

Step 3 | 还原版 Prompt

把分析块翻译成"还原同款"的可复制提示词(文章核心)。语言策略:还原版中英都给。

Step 4 | 惊艳增强版 Prompt(核心差异)

拿还原版,叠 references/enhancement-vocab.md 的专业词库(方向由 Step 2 决定)+ 负向约束。若需严格保真,先按该文件「配色控制卡」提取原图 6–10 核心色作为色彩约束。 把"同款"变"升级版 / 大片感"。这是本 skill 独有、开源同类都没有的一层。

Step 5 | 3 变体

在增强版基础上,每次只改一个维度:

  • V1 构图 shift | V2 光影 shift | V3 风格 shift

给"惊艳"多个抓手,单点调整即可试不同惊艳感。

Step 6 | 平台适配

若 Step 2 选了平台,把增强版转成对应语法(详见 references/platform-guides.md,结构套 prompt-model-adaptation 五步法:诊断→检查表→适配→回归验证→自优化)。没选平台就给通用英文版。

Step 7 | 输出包(标准化交付)

  1. 图像分析块(Step 1)
  2. 还原版 Prompt(Step 3)
  3. 惊艳增强版 Prompt(Step 4)
  4. 3 变体(Step 5)
  5. 平台适配版(Step 6)
  6. 负向约束
  7. 责任与原创边界说明(不抄 logo/水印/受保护角色;不复制真实可识别人物、不生成未成年、不自动加水印文字)
  8. (可选)色彩控制卡:提取原图 6–10 核心色作还原/惊艳版色彩约束(详见 enhancement-vocab.md)
  9. (可选)变量填空器:惊艳版改可换词模板

铁律:完整展示每段 prompt,不截断。

许可句(固定收尾):输出包末尾固定附一句——「同款已交付;想要更大胆的一版(更强的电影感、更敢的构图),说一声就升级。」

Step 8 | 出图验证(默认关,opt-in)

默认只交付"目标平台专属、可复制粘贴"的提示词,由用户在真实平台出图(最真实)。 若用户明确授权且接受积分,可用 WorkBuddy 内置 ImageGen 跑近似验证(≠ 目标平台真图)。 若用户未授权、无积分或 ImageGen 不可用,则退化为仅交付提示词(不出图),不影响前述输出包。

交付前自检清单(Quality Gate)

交付前逐段核对(借鉴分层镜头叙事规范的自检纪律,适配为提示词 QA):

  • 还原版忠实:是否准确还原原图的主体/风格/色彩/光影/构图/质感/氛围?有无遗漏关键元素?
  • 目标达成:对照 Step 2 的用途目标,关键验收点是否满足(如电商:主体 3 秒可辨+卖点可视;社媒:缩略图可读)?不满足先改 prompt,再谈惊艳。
  • 惊艳版只叠加增强:是否在保留原图核心身份(主体、机位、构图、色彩逻辑)的前提下叠加增强?有无"改了原图本质"?
  • 负向约束齐全:对应场景的负向词是否覆盖?通用 + 场景专属是否都给?
  • 平台语法正确:若指定平台,参数/权重/分隔符是否符合 platform-guides.md(MJ --ar / SD () / Flux 无负向字段等)?
  • 无禁用内容:是否含未成年角色、真实可识别人物(应替换)、自动水印/文字/标签?
  • 色彩控制卡(若用):提取的核心色是否只作约束、未以"色块/条纹/图案"形式进入画面?
  • 完整展示:每段 prompt 是否完整呈现、未截断?

任一项不通过,只修订对应段,不整体重来。

场景维度速查(完整表见 references/reverse-dimensions.md)

下表为速查摘要;完整维度定义、观察要点与关键词示例见 references/reverse-dimensions.md。

场景关键维度
通用图主体/风格/色彩/光影/构图/质感/氛围/分辨率
字体Logo字形/质感/排版/配色
风景场景前景/中景/远景/时间光线/氛围
摄影人像镜头焦段/光线/景深/色调/构图/后期
插画二次元画风/笔触/色彩/叙事
产品电商材质反光/棚拍光/hero角度/背景过渡/比例
美食蒸汽光泽/视角/暖光/质感/摆盘
建筑室内线条几何/光层次/材质/空间纵深
时尚服装穿搭/面料垂感/姿势/棚外景/造型
汽车车漆反光/轮毂/低角度/环境/动感
通用兜底主体+环境+光影+风格+技术参数

可选类(珠宝/宠物/街拍/婚礼/3D/概念艺术/海报/运动/头像)维度见速查表。

惊艳方向速查(词库见 references/enhancement-vocab.md)

下表为 14 个方向名称速查;可直接嵌入的专业词块、配色控制卡、负向词库与组合示例见 references/enhancement-vocab.md。

电影大片感 · 低调奢华 · 古典油画 · 胶片复古味 · 纪实纪录片 · 日系自然光 · 杂志商业高级 · 梦幻氛围 · 赛博朋克 · 国风东方 · 动漫二次元 · 蒸汽波 · 超写实产品级 · 史诗奇幻 (可组合,如"电影感 + 胶片味")

与 prompt-model-adaptation 的协同

  • 两者产物不同:本 skill 产图像提示词;prompt-model-adaptation 适配 LLM 系统提示词,不冲突。
  • 方法论复用:Step 6 套其五步法(诊断→检查表→适配→回归验证→自优化)。
  • 元用法:可用 prompt-model-adaptation 适配本 skill 自身指令,让它在你常用 LLM 上更稳。
  • 产物交接:本 skill 产出的图像 prompt 若被包进更大 LLM 工作流,可交 prompt-model-adaptation 做 QA。

设计原则

  • 最小追问:只补 1–2 个最高杠杆缺口。
  • 完整展示:每段 prompt 完整呈现,不摘要、不截断。
  • 原创边界:提醒不抄真实 logo / 水印 / 具名创作者 / 受保护角色;不复制真实可识别人物、不生成未成年角色、不在图中自动加水印/文字。
  • 语言策略:还原版中英都给;惊艳版英文正文 + 中文注释(方便改词)。

参考文件

  • references/reverse-dimensions.md — 全场景维度拆解表
  • references/enhancement-vocab.md — 惊艳增强词库 + 负向词库
  • references/platform-guides.md — MJ / DALL·E / SD / Flux 语法
  • references/templates.md — 可复制反推 + 增强模板
  • assets/analysis-form.md — 结构化分析骨架

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Image Prompt Reverse AI skill do?

反推一张图生成专业级 AI 图像提示词(Midjourney/DALL-E/Stable Diffusion/Flux),独家叠加惊艳增强层把还原同款升级为电影感/胶片感/商业大片。覆盖通用/字体Logo/风景/摄影人像/插画/产品/美食/建筑室内/时尚/汽车等场景,输出还原版+惊艳版+3变体+平台适配版。Use when reversing an image into a prompt or crafting stunning image-generation prompts for MJ/DALL-E/SD/Flux.

Why use Image Prompt Reverse on TypingMind?

Because you install it once and use it with any model. Image Prompt Reverse is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Image Prompt Reverse in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/luozhilzh/image-prompt-reverse/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Image Prompt Reverse?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Image Prompt Reverse?

As many as you like. As long as a model supports skills, you can use Image Prompt Reverse with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Image Prompt Reverse AI skill free?

Yes. It is published on GitHub by luozhilzh under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇