Logo Model Aware Image Prompt Engineer

Model Aware Image Prompt Engineer

Cộng đồng
Emily2040
model-aware-image-prompt-engineer

Model-aware image prompt engineering for any agent or image generation workflow. Use when writing, improving, translating, debugging, or evaluating prompts for OpenAI image models, 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, or provider wrappers. Trigger on requests to create prompts, improve prompts, convert prompts between models, fix rejected prompts, reduce false positives, preserve references, render text, create character sheets, product images, fashion images, anime images, diagrams, infographics, posters, UI mockups, or any image generation task where model behavior matters.

Tổng quan

Nhà phát hànhEmily2040
Kho mãnano-banana-image-skill
Tên kỹ năngmodel-aware-image-prompt-engineer
Sao
36
Bản fork
5
Tệp đi kèm
11
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Emily2040 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Model Aware Image Prompt Engineer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Emily2040/nano-banana-image-skill/tree/master/packages/model-aware-image-prompt-engineer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Model Aware Image Prompt Engineer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Model Aware Image Prompt Engineer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Model Aware Image Prompt Engineer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Model Aware Image Prompt Engineer làm được gì?

Model-aware image prompt engineering for any agent or image generation workflow. Use when writing, improving, translating, debugging, or evaluating prompts for OpenAI image models, 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, or provider wrappers. Trigger on requests to create prompts, improve prompts, convert prompts between models, fix re...

Vì sao nên dùng Model Aware Image Prompt Engineer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Model Aware Image Prompt Engineer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Model Aware Image Prompt Engineer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Emily2040/nano-banana-image-skill/tree/master/packages/model-aware-image-prompt-engineer. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Model Aware Image Prompt Engineer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Model Aware Image Prompt Engineer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Model Aware Image Prompt Engineer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Model Aware Image Prompt Engineer có miễn phí không?

Có. Kỹ năng này được Emily2040 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇