Логотип Image To Prompt

Image To Prompt

Сообщество
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.

Обзор

Издательjiemianduan
Репозиторийimage-to-prompt
Название навыкаimage-to-prompt
Звёзды
35
Форки
3
Файлы в комплекте
3
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — jiemianduan. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Image To Prompt в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/jiemianduan/image-to-prompt/tree/main
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jiemianduan/image-to-prompt.git \
  .claude/skills/image-to-prompt
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Image To Prompt в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Image To Prompt, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Image To Prompt не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Image To Prompt в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Image To Prompt — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Image To Prompt в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/jiemianduan/image-to-prompt/tree/main. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Image To Prompt?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Image To Prompt?

С любым количеством. В TypingMind вы можете использовать Image To Prompt с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Image To Prompt?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — jiemianduan. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇