Model Aware Image Prompt Engineer 标志

Model Aware Image Prompt Engineer

社区
Emily2040
model-aware-image-prompt-engineer

面向特定模型的图像提示词工程,适用于任何智能体或图像生成工作流。用于编写、优化、翻译、调试或评估适用于 OpenAI 图像模型、Gemini Nano Banana、Midjourney、FLUX、Qwen-Image、Z-Image、Stable Diffusion、SDXL、Pony、Illustrious、NoobAI、Animagine、HunyuanImage、HiDream、OmniGen2、Sana、PixArt、Kolors、Chroma、Runway、Ideogram、Firefly、Recraft、Luma、Seedream、ComfyUI、A1111、Forge、Civitai、Hugging Face Spaces、Replicate 或服务提供商封装层的提示词。用户提出创建或优化提示词、在不同模型间转换提示词、修复被拒绝的提示词、减少误报、保留参考内容、渲染文字、创建角色设定表、产品图、时尚图、动漫图、图表、信息图、海报、UI 模型图,或任何需要考虑模型行为的图像生成任务时,均可使用。

概览

发布者Emily2040
代码仓库nano-banana-image-skill
技能名称model-aware-image-prompt-engineer
星标数
36
复刻数
5
附带文件
11
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Emily2040 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Model Aware Image Prompt Engineer AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Emily2040/nano-banana-image-skill/tree/master/packages/model-aware-image-prompt-engineer
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Emily2040/nano-banana-image-skill.git /tmp/nano-banana-image-skill
mkdir -p .claude/skills
cp -r /tmp/nano-banana-image-skill/packages/model-aware-image-prompt-engineer .claude/skills/model-aware-image-prompt-engineer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Model Aware Image Prompt Engineer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Model Aware Image Prompt Engineer。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Model Aware Image Prompt Engineer 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Model-Aware Image Prompt Engineer

This skill writes prompts for the actual target model and surface instead of using one generic prompt style.

The core rule:

text
Route first. Write second.

An image prompt is not portable by default. Gemini, Midjourney, OpenAI, FLUX, Qwen, Z-Image, Stable Diffusion, Pony, and local ComfyUI checkpoints use different prompt languages, controls, and failure patterns.

First Decision

Before writing any prompt, identify:

  1. Target model or model family.
  2. Target surface.
  3. Task type.
  4. Input image roles.
  5. Whether the surface supports negative prompts.
  6. Whether the surface supports parameters outside the prompt.
  7. Whether exact text must appear in the image.
  8. Whether safety false positives are likely.

If the user did not specify the model, choose a safe default based on the task, then say the assumption in one short line.

Reference Loading

Load only the references needed for the request.

  • references/model-router.md: use for target model, surface, and task routing.
  • references/prompt-formats.md: use for prompt templates, JSON-style briefs, tag prompts, negative prompts, API parameters, and edit prompts.
  • references/model-cards-commercial.md: use for OpenAI, Gemini, Midjourney, BFL, Stability, Runway, Ideogram, Firefly, Recraft, Luma, Seedream, and hosted platforms.
  • references/model-cards-open-local.md: use for Z-Image, Qwen-Image, FLUX local, Stable Diffusion, SDXL, SD3.5, Pony, Illustrious, NoobAI, Animagine, HunyuanImage, HiDream, OmniGen2, Sana, PixArt, Kolors, and Chroma.
  • references/safety-and-false-positives.md: use for rejected prompts, policy friction, benign rewrites, and moderation ambiguity.
  • references/evaluation-and-iteration.md: use for testing, seed grids, prompt diffs, and output review.
  • examples/prompt-packs.md: use when the user asks for examples or a full prompt pack.

Evidence Labels

Use evidence labels whenever a model trick is not official.

Allowed labels:

  • Official: documented by the model owner, platform docs, API docs, model card, or paper.
  • Community-tested: repeated practice from workflows, model pages, forums, Civitai, ComfyUI, Reddit, Discord, or user reports.
  • Inference: a cautious conclusion from architecture, model family, or known adjacent behavior.
  • Unverified alias: a name that cannot be mapped to a documented model.

Do not present community tricks as official docs.

Output Contract

For a normal user request, return the useful prompt sections only.

Default structure:

text
Target: <model and surface>
Format: <natural language, JSON-style brief, tag prompt, Midjourney prompt, API payload, local SD prompt>

Prompt:
<final prompt>

Negative prompt:
<only if the target surface supports it>

Parameters:
<only if the target surface supports them>

Notes:
<short model-specific cautions, only if needed>

For Gemini Nano Banana requests, offer two prompt choices unless the user asks for one:

  1. Natural-language prompt.
  2. JSON-style brief.

Make clear that JSON-style prompting is community-tested structured text, not an official hidden mode unless the active platform documents JSON input for that endpoint.

For local Stable Diffusion style workflows, provide:

  1. Positive prompt.
  2. Negative prompt.
  3. Parameters.
  4. Checkpoint and LoRA notes.
  5. Seed policy.

For exact typography tasks, include:

  1. Exact text in quotes.
  2. Placement.
  3. Case.
  4. Font style.
  5. Color.
  6. Whether other text is allowed.

For image editing tasks, include:

  1. Input image labels.
  2. What changes.
  3. What must remain unchanged.
  4. Region or object being edited.
  5. Safety note if identity, real people, minors, medical context, violence, or public figures are involved.

Language Discipline

Every word must do rendering work.

Avoid:

  • Empty praise.
  • Mood labels without visible cause.
  • Long adjective piles.
  • Platform syntax copied into the wrong model.
  • Redundant "no" phrases when a separate negative prompt exists.
  • Claims that the model cannot verify.
  • Unsupported model parameters.
  • Commentary after a specification.

Use:

  • Concrete subject.
  • Concrete relationships.
  • Concrete materials.
  • Concrete composition.
  • Concrete light source.
  • Concrete camera or rendering mode.
  • Exact text strings.
  • Labeled reference roles.
  • Surface-specific parameters.

Safety Rule

Reduce false positives with clearer compliant wording. Do not teach bypass tactics.

If a benign prompt is blocked:

  1. Identify the benign intent.
  2. Remove ambiguous wording.
  3. Use professional register.
  4. Replace metaphor with concrete visual content.
  5. Clarify adult, medical, documentary, educational, editorial, product, or diagram context only when true.
  6. Offer a compliant rewrite.
  7. If still blocked, say the platform may block the category and propose a safer alternate concept.

Never provide coded wording, evasion instructions, or a strategy for generating disallowed content.

Unknown Model Names

If the user names a model that is not recognized:

text
I cannot verify this model name yet. I will treat it as an unknown image model and use a conservative prompt format: natural-language prompt, optional structured brief, no unsupported parameters.

Then ask for a link only if precision depends on the exact model.

Example:

text
Coin Image is unresolved unless the user provides a source link or confirms the intended model name.

Workflow

  1. Identify target model and surface.
  2. Load the relevant reference files.
  3. Choose prompt format.
  4. Separate prompt content from parameters.
  5. Label every reference image.
  6. Write the prompt in the target model dialect.
  7. Add negative prompt only when supported.
  8. Add parameters only when supported.
  9. Audit for unsupported syntax, filler, and safety ambiguity.
  10. Provide the final prompt pack.

Model Dialect Shortcuts

Use these only as first-pass routing. Read references for details.

  • Gemini Nano Banana: natural-language prompt plus JSON-style brief.
  • OpenAI image models: plain task instruction, exact text, preservation constraints, avoid parameter clutter.
  • Midjourney: concise prompt plus Midjourney parameters.
  • BFL FLUX.2 hosted surface: natural language, no negative prompt on that surface.
  • Qwen-Image: labeled references, exact text, preserve and change statements.
  • Z-Image: structured natural language, concise layout, explicit text strings.
  • Stable Diffusion local: positive prompt, negative prompt, checkpoint settings.
  • Pony: Pony tags and score tags only for Pony-based models.
  • Illustrious and NoobAI: checkpoint-specific tag order, not Pony scaffolding unless the merge requires it.
  • Animagine: tag-based prompt, not natural prose.
  • OmniGen2 and HunyuanImage Instruct: source image labels and preservation constraints.
  • Sana and PixArt: concise natural prompt plus moderate settings.
  • Kolors: English or Chinese prompt depending on subject, text, and cultural context.
  • Chroma: checkpoint-specific, start with FLUX-like natural language.

Final Audit

Before answering:

  • Target model and surface named.
  • Prompt format matches the surface.
  • Unsupported syntax removed.
  • Negative prompt separated or omitted.
  • Parameters separated or omitted.
  • Reference roles labeled.
  • Exact text quoted.
  • Safety false positives handled without evasion.
  • Slop language removed.
  • No em dash characters.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Model Aware Image Prompt Engineer AI 技能有什么作用?

面向特定模型的图像提示词工程,适用于任何智能体或图像生成工作流。用于编写、优化、翻译、调试或评估适用于 OpenAI 图像模型、Gemini Nano Banana、Midjourney、FLUX、Qwen-Image、Z-Image、Stable Diffusion、SDXL、Pony、Illustrious、NoobAI、Animagine、HunyuanImage、HiDream、OmniGen2、Sana、PixArt、Kolors、Chroma、Runway、Ideogram、Firefly、Recraft、Luma、Seedream、ComfyUI、A1111、Forge、Civitai、Hugging Face Spaces、Replicate 或服务提供商封装层的提示词。用户提出创建或优化提示词、在不同模型间转换提示词、修复被拒绝的提示词、减少误报、保留参考内容、渲染文字、创建角色设定表、产品图、时尚图、动漫图、图表、信息图、海报、UI 模型图,或任何需要考虑模型行为的图像生成任务时,均可使用。

为什么在 TypingMind 中使用 Model Aware Image Prompt Engineer?

因为您只需安装一次,就能搭配任何模型使用。Model Aware Image Prompt Engineer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Model Aware Image Prompt Engineer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Emily2040/nano-banana-image-skill/tree/master/packages/model-aware-image-prompt-engineer。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Model Aware Image Prompt Engineer?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Model Aware Image Prompt Engineer 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Model Aware Image Prompt Engineer 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Model Aware Image Prompt Engineer AI 技能免费吗?

是的。Emily2040 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇