Get prompt from image

From lza6/Armor-piercing-system-prompts · View interactive version

Get prompt from image is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Analyze user-provided reference images and reverse-engineer high-fidelity AI image-generation prompts. Use when the user asks to recreate, imitate, reverse-engineer, or extract prompts from photographs, illustrations, 3D renders, products, characters, landscapes, typography, logos, posters, or other

How to use this skill

Skill file

Get Prompt from Image

Generate high-fidelity prompts that can be used directly with AI image-generation tools from user-provided target images. The goal is not to list visible content mechanically, but to recover the visual mechanisms that most affect similarity: subject, composition, camera, lighting, color, materials, background, spatial layers, mood, medium, and post-processing characteristics.

Core Principles

Workflow

  1. Inspect the target image at the highest available quality.
  2. Internally determine the image’s use case, medium, and subject type.
  3. Read and apply the general visual dimensions in analysis-framework.md.
  4. Based on the subject type, read and apply only the relevant specialized rules in category-guides.md.
  5. Read and apply illustration-style.md only when the image’s primary medium is illustration. Skip it for photography, 3D renders, product images, typography and logos, UI, graphic design, and other non-illustration media; apply it to mixed media only when illustration language is dominant.
  6. Extract the 3–5 reproduction-critical elements that must not be lost. Prefer composition, subject features, lighting, materials, background geometry, color relationships, spatial layers, and key mood; for illustrations, select style anchors according to the illustration-specific rules.
  7. Put these visual anchors in the first third of the positive Prompt, then add other supporting details.
  8. Make the medium boundary explicit, and use the Negative Prompt to exclude confusing media and common generation defects.
  9. Output the final prompts without showing the internal analysis.

Medium Boundaries

The target image must be clearly identified as photography, realistic 3D, semi-realistic 3D, anime-style illustration, painterly illustration, flat vector, product rendering, UI or graphic design, mixed media, or another type.

IP, Brands, Logos, and Text

You may understand internally how an IP, character name, brand, logo, or text affects the image, but the default output must not depend on specific names.

Default Output Format

Output only the following two sections. Do not add analysis, explanation, suggestions, or a conclusion.

1. Positive Prompt

Under the same project, output these in order:

The Chinese positive Prompt must include:

State clearly whether the subject is on the left, right, or center; what is closest to the camera; what the foreground contains; what the background contains; and what geometric or spatial structure the background has.

2. Negative Prompt

Output 10–15 English negative words or phrases separated by English commas. Based on the target image and medium boundary, exclude:

Do not mechanically apply a fixed set of negative words; choose them for the current image.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.