Logo Image To Prompt

Image To Prompt

Cộng đồng
jiemianduan
image-to-prompt

Analyze one or more reference images and reconstruct faithful, reusable image-generation prompts in Chinese and English. Use when users want to reverse-engineer, infer, restore, imitate, or write prompts from visual references.

Tổng quan

Nhà phát hànhjiemianduan
Kho mãimage-to-prompt
Tên kỹ năngimage-to-prompt
Sao
35
Bản fork
3
Tệp đi kèm
3
Giấy phépMIT
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ộ.

  • 3 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 jiemianduan 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 Image To Prompt 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/jiemianduan/image-to-prompt/tree/main
  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/jiemianduan/image-to-prompt.git \
  .claude/skills/image-to-prompt
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 Image To Prompt 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 Image To Prompt 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 Image To Prompt 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.

Image to Prompt

Reconstruct prompts from visible evidence. Describe what can be reproduced, distinguish observation from inference, and never pretend to know the original prompt, seed, model, lens, or generation settings.

Workflow

  1. Confirm that at least one usable image is available. If not, ask the user to upload it.
  2. Inspect the image at the highest available detail. For a local file, use the image-viewing tool before analyzing it.
  3. Identify the image category: photograph, illustration, anime, 3D render, product image, poster/editorial graphic, UI, architecture/interior, or mixed media.
  4. Decompose the image using the analysis order below.
  5. Resolve the user's target:
    • Default: produce a model-neutral reconstruction prompt.
    • If a model is named, adapt syntax and parameter suggestions to that model.
    • If the user wants only the prompt, keep analysis brief but still perform it internally.
    • For every image, also produce a complete editable version of the prompt. Keep the standard Chinese and English prompts concrete so they remain usable without editing.
  6. Produce the output in the prescribed format.
  7. State material uncertainty only when it affects reproducibility.

Analysis Order

Prioritize high-impact visual facts:

  1. Subject and action — identity category, count, pose, expression, interaction, clothing, props.
  2. Composition — orientation, crop, subject placement, symmetry, foreground/midground/background, negative space, viewpoint.
  3. Environment — location, background elements, weather, time-of-day cues, atmosphere.
  4. Lighting — direction, softness, contrast, key/fill/rim behavior, practical lights, shadow character.
  5. Color — dominant palette, accent colors, saturation, temperature, tonal range.
  6. Surface and detail — materials, texture, depth of field, grain, bloom, motion, reflections.
  7. Visual language — photographic, cinematic, editorial, commercial, painterly, vector, cel-shaded, clay, CGI, collage, and other observable traits.
  8. Capture/render cues — plausible shot scale, perspective, focal-length range, rendering method, or post-processing. Mark these as estimates when not directly verifiable.
  9. Text and layout — transcribe only legible text; describe uncertain text as layout blocks rather than inventing wording.

Use spatially explicit phrases such as “subject in the lower-right third” or “soft backlight from frame left.” Prefer concrete visual properties over vague quality words.

Fidelity Rules

  • Preserve the reference's subject count, spatial relationships, camera angle, crop, lighting direction, palette, and major background geometry.
  • Do not add narrative, symbolism, props, logos, text, anatomy, or scenery that is not visible.
  • Do not identify a real person from appearance alone. Describe observable physical and styling traits.
  • Do not assert an artist, brand, camera, lens, model, LoRA, checkpoint, seed, or parameter unless supplied by the user or visibly documented.
  • If style attribution is uncertain, describe the visual characteristics instead of guessing a creator's name.
  • Treat focal length, aperture, film stock, render engine, and generation parameters as reproduction suggestions, not recovered facts.
  • For unreadable text, write [unreadable text] or describe its placement and typographic character.
  • For multiple references, identify which traits come from each image and flag contradictions instead of silently blending them.
  • Keep the prompt internally consistent. Remove terms that fight the observed image, even if they are fashionable prompt keywords.

Prompt Construction

Build the main prompt in this order:

subject → action/pose → environment → composition/viewpoint → lighting → color → materials/detail → medium/style → finish

Write natural, information-dense phrases. Avoid keyword spam, duplicated adjectives, unsupported “8K/masterpiece” language, and excessive camera jargon.

For model-specific output:

  • Midjourney: place the natural-language prompt first; add only useful aspect ratio, stylize, chaos, or image-weight suggestions. Never claim exact original values.
  • Stable Diffusion / SDXL / FLUX: separate positive and negative prompts; suggest dimensions or aspect ratio and optional guidance/steps only when useful. Treat values as starting points.
  • DALL-E or model-neutral: use coherent natural language with explicit composition and constraints; do not add unsupported command syntax.

Default Output

Respond in the user's language. Unless the user asks for another format, return:

画面拆解

A compact factual summary covering subject, composition, lighting, color, medium/style, and key textures. Mark important estimates with 推测.

中文 Prompt

One polished, copy-ready reconstruction prompt.

English Prompt

One polished, copy-ready English prompt. Optimize it independently rather than translating word-for-word.

Negative Prompt

Include only defects and unwanted deviations relevant to this image. Omit this section when the target model does not benefit from negative prompts.

建议参数

Give aspect ratio first, then a small number of model-appropriate starting suggestions. Label all inferred settings as recommendations.

可编辑变量

Always provide one complete, copy-ready editable prompt rather than a separate list of variable names. Base it on the Chinese prompt and preserve all fixed visual anchors as normal prose.

Choose the number of editable spans according to the image and likely reuse needs; there is no fixed minimum or maximum. Expose meaningful, high-impact elements such as the subject, clothing, action, environment, lighting, palette, material, style, or aspect ratio, while leaving structural details fixed when changing them would destroy the reference's defining composition.

Wrap each editable value directly in full-width brackets 【】. Put a useful current value inside each bracket so the prompt works immediately without editing, and so the user can replace only the bracketed text. Do not use empty brackets, abstract variable labels, numbered placeholders, or a detached variable list.

Example:

一位【穿深红色长外套的年轻女性】站在【雨夜的城市街道】上,柔和的【蓝紫色霓虹侧光】从画面左侧照入,保持人物居中的中景构图与潮湿路面反光。

Special Cases

  • Poster or graphic design: separate visual prompt from exact copy. Preserve hierarchy, grid, spacing, typography category, and text placement.
  • UI screenshot: describe information architecture, layout, component styling, density, color tokens, and interaction states. Do not treat it as a photographic scene.
  • Product image: prioritize product geometry, material, camera angle, grounding shadow, reflections, backdrop, and commercial lighting.
  • Portrait: prioritize pose, gaze, crop, facial expression, hair, wardrobe, background separation, and skin-light interaction without inferring identity.
  • Highly stylized image: describe line quality, shape language, shading method, texture, palette, and composition before using genre labels.
  • Poor-quality or obstructed image: state the limiting issue and provide a best-effort prompt without inventing hidden details.

Quality Check

Before responding, verify that:

  • The main prompt preserves the reference's dominant visual structure.
  • Observations and reproduction suggestions are not presented as the same thing.
  • The Chinese and English prompts are both directly usable.
  • Every image has a complete editable prompt whose bracketed values are immediately usable defaults.
  • The editable prompt uses 【】 only around replaceable values and does not reduce the output to a variable list.
  • The negative prompt does not accidentally remove a defining feature.
  • The output contains no invented text or falsely precise settings.

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 Image To Prompt làm được gì?

Analyze one or more reference images and reconstruct faithful, reusable image-generation prompts in Chinese and English. Use when users want to reverse-engineer, infer, restore, imitate, or write prompts from visual references.

Vì sao nên dùng Image To Prompt 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. Image To Prompt 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 Image To Prompt trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jiemianduan/image-to-prompt/tree/main. 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 Image To Prompt?

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 Image To Prompt 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 Image To Prompt 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 Image To Prompt có miễn phí không?

Có. Kỹ năng này được jiemianduan phát hành trên GitHub theo giấy phép MIT. 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 👇