CommunityBildgithub.com

image-prompt

Turns an idea, brief or reference image into a production-grade image prompt plus the rendered image. Runs a topic analysis first (thesis in 8 words + creative angle), covers 19 verticals (anime, portraits, fantasy, cinematic, 3D, fashion, landscapes, architecture, logos, pets, historical, product, tattoo, game characters, memes, food, dark fantasy, minimalist illustration, 3D typography), and builds on a six-gate protocol, a 9-block skeleton, a taxonomy of 2D/3D/photo mediums plus print processes, a 15-move escalation engine, ad and poster depth, and a Gate 0 brief that fetches a real brand's site, wordmark and palette before designing. Use for posters, ads, portraits, landing and UI mockups, product shots, logos, infographics, photoreal scenes, character sheets, edits and reverse-engineered prompts. Trigger with 'make a poster', 'design me a', 'ad for <site>', 'make this better', 'same style as this', 'prompt from this image'.

Was ist image-prompt?

image-prompt is a Claude Code agent skill that turns an idea, brief or reference image into a production-grade image prompt plus the rendered image. Runs a topic analysis first (thesis in 8 words + creative angle), covers 19 verticals (anime, portraits, fantasy, cinematic, 3D, fashion, landscapes, architecture, logos, pets, historical, product, tattoo, game characters, memes, food, dark fantasy, minimalist illustration, 3D typography), and builds on a six-gate protocol, a 9-block skeleton, a taxonomy of 2D/3D/photo mediums plus print processes, a 15-move escalation engine, ad and poster depth, and a Gate 0 brief that fetches a real brand's site, wordmark and palette before designing. Use for posters, ads, portraits, landing and UI mockups, product shots, logos, infographics, photoreal scenes, character sheets, edits and reverse-engineered prompts. Trigger with 'make a poster', 'design me a', 'ad for <site>', 'make this better', 'same style as this', 'prompt from this image'.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zedxlab/image-prompt-master/tree/HEAD/skills/image-prompt

Installed? Explore more Bild skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

image-prompt — master

One skill, five modes, one protocol. Prompt craft and rendering in the same pass.

Installing this into an agent? If the agent was handed only the repo URL, point it at AGENTS.md at the repo root: five-step bootstrap, tool-binding ladder, and the standing rule that every image request — however casual — goes through this skill. Per-runtime paths in adapters/.

ModeTriggerYou produce
Briefan ad/hero/OG/email/banner for a real named brand, site or appone-screen factual brief → then Generate
Generate"make a poster / ad / hero / logo / screenshot…"prompt + rendered image
Prompt"just give me the prompt", "for Midjourney", "I'll paste it"prompt only, per-model formatted
Edita supplied image + "restyle / put me in / change the background / fix the text"edit prompt + rendered edit, change-vs-preserve
Reversea reference image + "prompt from this / same style"reconstructed prompt + negative prompt
Style"help me with the style", "what styles can you do"short grouped menu, then build

The protocol, on one page

Gate 0 first — Brief. If the artifact advertises a real named brand (a domain, product, app, repo, shop), do not design from memory and do not design from a pasted promo alone. Fetch the home page, /pricing and /faq, download the og:image and the logo/mascot, sample the real hexes with PIL, then write a one-screen brief: what it actually does (quoted), real numbers, real wordmark casing and typeface class, real voice, the caution line, the CTA. Only after that do the gates below. Fictional brands skip Gate 0 entirely. Full procedure, brief template, logo policy and numbers discipline → references/preflight-brief.md.

6 gates, in this order. Structure before style — always.

  1. Intent — what artifact, what for. First sentence. Sets global mode and polish level.
  2. Subject — the hero decomposed into observables ("almond eyes, high bridge, silk blouse", never "beautiful woman"). Materials named.
  3. Composition — aspect ratio, layout pattern, named zones with position + size %, module/ panel counts, camera angle + lens, focal hierarchy.
  4. Text — every string verbatim in quotes, with role, font, hex, placement, spelling lock.
  5. Style — medium/technique, hex palette mapped to elements, lighting, texture, mood, finish.
  6. Constraints — the artifact's real failure modes + IP safety + "no extra text".

Design artifacts (poster, UI, infographic, logo, editorial) expand gates 3 and 5 into the 9 blocks: concept · canvas · zones · subject · typography · palette · font role map · mood · finish. Photoreal and game work swaps gates 3–5 for SCENE / SUBJECT / ACTION / LIGHTING / CAMERA / HUD / TECHNICAL.

First, analyse the topic — never prompt the request as given. Seven intake questions, a decomposition grid, a thesis in ≤8 words, one of twelve angle generators (references/topic-analysis.md): "a dragon" is not a prompt, "the myth has outlived the believers" is. Then take the category's must-haves and traps from references/verticals.md — nineteen of them, anime to 3D typography.

Then classify, then escalate. Six questions from references/taxonomy.md (medium · movement · skeleton · type · colour · process) — whatever you can't answer, the model invents, and that invention is the generic "AI look". Then run the six passes in references/escalation.md: a plain prompt needs four to six of the fifteen moves (named medium, counts, measurements, material behaviour, one imperfection, named skeleton, zones with %, one contrast pair, real quoted copy, hexes with jobs, stated process). Ads get an extra pass — ad-master.md for archetype, claim, CTA and the four-slot copy hierarchy; posters get poster-master.md for genre furniture, grid and print process.

Then pick the genre playbook — each genre has native furniture that must exist or the artifact is a different thing: ad → CTA + fine print; poster → credit block + print process; website ad → nav + button + "simulated text blocks"; fashion → garment construction + fabric behaviour; casual → named imperfections + camera honesty; realistic → lens/aperture/ISO before adjectives. Skeletons, traps and the 11-line compact form for plain-string APIs → references/category-playbooks.md.

Full detail, consistency contracts, prose-vs-JSON and the negatives table → references/protocol.md.


Workflow

  1. Parse the ask into: artifact, subject/brand, style hint, aspect, mode (generate vs prompt vs edit vs reverse). Real brand or URL present → Gate 0: fetch, brief, save to briefs/<brand>-brief.md. Brand implied but unnamed → invent a fictional one.
  2. Route the archetype (references/protocol.md router): 13 archetypes → a templates.md section and/or a recipes.md number. Specific scene → recipe. Generic type → template. Ambiguous → the richest layout, and say so.
  3. Fill the gates. Calibrate depth against one matching example in references/gold-examples.md — that file is the quality bar, not a suggestion.
  4. Pull components for gates 3/5: camera + lens + film stock + lighting from references/style-components.md; fonts and palettes from references/fonts-palettes.md.
  5. Write the render prompt — sections, aspect in words, verbatim text, negatives last.
  6. Render with generate_image (or hand over the prompt in Prompt mode).
  7. Look at the file. Run the verify table below. Iterate once if something is actually broken.
  8. Deliver: image + the exact prompt in a fenced block + one assumptions line.
  9. Offer the loop: "darker palette", "9:16", "brand is NOVA", "another variant" — one change per pass, restating what must be preserved.

Auto-first

Produce a finished prompt and a finished image on the first pass. Infer archetype, aspect, palette, brand and copy; surface every inference in the assumptions line so one sentence can correct it. Ask at most one question, and only when the idea has no discernible subject, or when two genuinely different deliverables are both plausible ("logo mark or full poster?"). Use ask_user for real forks, never for permission to start.

Except one thing, never inferred: a real brand's facts. Wordmark casing, palette, plan numbers, CTA and cautions come from the fetched page, not from the prompt text you were handed. Guessing those is not an inference, it is a false ad — see references/preflight-brief.md.


Load on demand — don't dump the library into context

Don't know which file? bash scripts/find.py <keyword> — greps all 24 references, returns the top three sections with line numbers. --list prints the index. Cheaper than reading the library.

NeedRead
real brand / URL in the ask — fetch, brief, logo policyreferences/preflight-brief.md
analyse the topic: thesis + angle before any promptreferences/topic-analysis.md
19 verticals: anime, portrait, fantasy, cinematic, 3D, fashion, landscape, architecture, logo, pets, historical, product, tattoo, game, memes, food, dark fantasy, minimal, 3D typereferences/verticals.md
any medium: 2D · 3D · photo · hybrid, eras, grids, print processreferences/taxonomy.md
advertising: archetypes, copy system, lighting recipes, test matrixreferences/ad-master.md
an ad claim, a regulated word, a marketplace listing imagereferences/ad-master.md §9–10
posters: 18 genres, 7 grids, print process, 10 devicesreferences/poster-master.md
the carrier, the ink budget, one-ink disciplinereferences/poster-master.md §9–10
turn an ordinary prompt into an extraordinary onereferences/escalation.md
how many elements, and which ones — per topicreferences/detail-budget.md
type, tracking, and what the eye hits firstreferences/type-system.md
a loose prompt in, a shaped brief + reference images outbash scripts/intake.py "<prompt>" --refs 3
genre playbook: ad / poster / website ad / fashion / casual / realisticreferences/category-playbooks.md
gates, router, consistency, negativesreferences/protocol.md
13 archetype templates (prose + JSON + top traps)references/templates.md
29 opinionated scene recipesreferences/recipes.md
camera/lens/film/lighting/materials/realism boosters/text directivesreferences/style-components.md
font library + ready-made hex palettesreferences/fonts-palettes.md
15-look style menu ("help me with the style")references/styles.md
depth calibration — full-length gold promptsreferences/gold-examples.md
art direction per archetype, sizes, zone templatesreferences/archetypes.md + references/anatomy.md
edit / remix workflowsreferences/edit-remix.md + references/edit-recipes.md
image → prompt (reverse mode)references/reverse-prompt.md (+ -framework, -categories)
something came out wrongreferences/troubleshooting.md
named model, user's own toolreferences/models/*.md
need raw prompt material / examplesreferences/corpus/ → search_corpus.py

Tiers — flat rules don't get enforced

Eleven laws at the same volume all feel important, so none of them bite. Three tiers fix it. When you overrule a Reflex gate, name it and the reason in one line of the delivery note.

Floor — never ship past it. A violation is a re-do, not a note. a quoted string missing or misspelled · a subject cropped at an edge nobody asked to crop · a hex role collision · an invented fact (claim, price, date, logo) · a real trademark or a real person's face the user didn't supply · type below 2.5% of frame height · the affect inverted (a "cute" brief delivered cold).

Reflex — the model's default. Overrule only with a stated reason. centred hero and symmetric margins · three or more fonts · vignette or glow "for depth" · full-frame subject, zero negative space · a gradient ground nobody asked for · every headline word shouting.

Finish — craft. Chase it, it never blocks a ship. dot gain and screen angle · hairline weights, trapping, 1 mm registration offset · one honest imperfection · letter-spacing on one word · grain that matches the ISO the prompt claims.

Full table, with what each gate protects: references/protocol.md § Tiers.

Quality law (non-negotiable)

  1. Named zones beat adjectives. Every layout gets regions with position, size %, tilt. This is the single biggest lever, and the thing generic prompts skip.
  2. Every colour is a hex, mapped to an element. 4–6. Never "blue".
  3. Real font families per role (Druk Wide, Bungee Slab, Tiempos Headline, Söhne, Inter…) with weight/tracking/case/effects. Exceptions: models that can't consume font names — describe by trait there.
  4. All rendered text in quotes, short, each string once, spelling locked.
  5. A concrete finish cue — grain, halftone, brushwork, pores, dot gain — plus an authority tag ("Awwwards-quality", "Cannes-Lion quality", "Behance-quality poster").
  6. Numbers over adjectives for anything photographic: 50mm, f/1.4, 6500K, "anamorphic 2.39:1".
  7. Write the negatives for the artifact's real failure modes. Short and targeted; a long negative wall dominates the prompt.
  8. IP safety always — original design, no real logos/trademarks/watermarks, brand-like glyphs "generic, not resembling any real brand", no recognizable real people unless the user supplied the photo.
  9. No empty stacking — "masterpiece, best quality, ultra HD, trending on artstation" adds noise, not control. Cut it.
  10. Classify before you design — one value per taxonomy dimension, or the model picks the average of the internet for you.
  11. Real brand = fetched brand. Wordmark, palette, numbers, CTA and caution line are copied from Gate 0's brief, not from memory. A creative that breaks the brief is a re-do, however good it looks.
  12. Name the carrier. A poster, ad or cover must say what physically holds the image — photo crop, ink block, paper cutout, specimen, texture window, printed illustration, or the type itself. Without a carrier the model invents a glossy render. Table: references/poster-master.md §9.
  13. Declare the detail budget. Before writing, pick a register — sparse 3–5 elements, editorial 6–9, rich 10–16, maximal 17–30 — and list the elements by name. Detail is the number of things left in the frame, not the length of the prompt: a short prompt fills the frame from the model's prior (bokeh, badges, taglines), and eighteen negatives leave six things. One hero only, 35–55% of frame. sparse requires a written reason. Close every prompt with "Detail budget: the N elements listed above, nothing else added." Vocabulary per topic: references/detail-budget.md.
  14. Commit to a type combo, and to one highlight. Two or three families in named roles with a contrast axis you can point at — pick a numbered combo from references/type-system.md §2 and map every text zone to a role (display · deck · body · label · accent). One family across the whole artefact needs a written reason. Two roles may never share family and weight and case: that is the AI look in typography. Exactly one highlight from the ladder — scale jump, accent colour, isolation, weight contrast, rule, spot finish — never two techniques on one element, never a second accent.
  15. Intake before writing. If the brief arrives as a loose prompt, run bash scripts/intake.py "<prompt>" --refs 3 first: it keeps the user's keywords, modifies each into a rendering instruction, picks the register and the element vocabulary, names the type system and the highlight, and returns related local images from references/ref-index.json to pass as conditioning. Never renumber that element list — numerals get printed as content.
  16. No claim without evidence. Before writing ad copy, list each claim with the proof on file and tier it proven / soft / banned. A banned claim leaves the brief — it is not softened in the prompt. Missing data is labelled as an assumption in the delivery note, never invented. Ledger: references/ad-master.md §9.

Text discipline — the #1 failure mode

The four locks, verbatim where possible:

  • Exact-spelling lock: "Render this text exactly as written, correctly spelled and fully legible. Do not translate, shorten, paraphrase, or substitute it."
  • No-extra-text lock: "Do not add any other large readable text, captions, watermarks or labels."
  • Language lock: "Text is in [language]; render the correct characters."
  • Single-artifact lock: "Single finished poster only — no moodboard, grid, mockup gallery or process sheet."

Plus: keep on-image copy short; long paragraphs degrade — if body copy is unavoidable, ask for "simulated text blocks" and hardcode only the headline; for typography-led posters declare the title is the structure and nothing competes with it.

People

Appearance is an explicit, editable variable, never a silent default.

  • Scene context wins first (a Dhaka street scene depicts Dhaka residents).
  • Otherwise match the user's language/locale as the sane default.
  • Decompose features regardless of group: eye shape, brow, nose bridge, jaw, skin undertone and texture, hair type. Add the realism kit: pores, peach-fuzz, asymmetry, stray hairs, and "no plastic skin, no over-smoothing".
  • State the assumed slot in the assumptions line so it can be swapped in one sentence.

Consistency & series

  • Text alone yields similar faces, not identical ones. For a hard lock: render one hero frame, then pass that file as an input image on every later pass.
  • Write the consistency contract above the panel list ("identical face, outfit, proportions, hairstyle"), pin the grid count and per-panel structure, and repeat the contract each iteration.
  • For multiple separate images, demand "N separate standalone images, one per scene — not a grid, collage or contact sheet".

Edit mode

Change-vs-preserve is the whole discipline:

INPUTS: Image 1: <role>; Image 2: <role>; …
CHANGE: <only what changes>
PRESERVE (do not alter): <identity, geometry, layout, palette, camera, background, label legibility>
CONSTRAINTS: no watermark, no added logos; render text verbatim once.
  • One change per pass. Repeat the preserve list every time or it drifts.
  • Multi-reference: index + role each input, and say how they interact ("apply the style of Image 2 to the subject of Image 1").
  • Pass the source path(s) in images[]. For edits to an approved render, pass the previous output so the model edits rather than redesigns.
  • Cutouts: ask for a transparent background with clean alpha edges, no checkerboard, no scenery, no shadow — then verify the actual alpha, not a preview.
  • Surgical: for a single-detail fix, add "do not alter saturation, contrast, layout, labels, arrows, camera angle or surrounding objects".
  • Ready-made refinement passes (protect a face while restyling, remove invented lettering, extend horizontal → vertical, restore a product label, ground a floating subject, fix waxy skin, apply artwork to fabric, isolate a product, make space for copy…) → references/edit-recipes.md.

Reverse mode

Image in, prompt out. Fix the medium boundary first, put the 3–5 reproduction-critical anchors in the first third, translate abstractions into observables, convert names into mechanics, never invent unknowable facts (focal length, resolution), and finish with a 10–15 item negative prompt. Full procedure → references/reverse-prompt.md.


Deliver — how this workspace's tools map

PurposeTool
rendergenerate_image (aspect/framing/finish must be in the prompt text, there are no size params)
editgenerate_image with images: [paths]
offer a genuine style forkoffer_options: true — one call yields the candidates
fix a chosen imageoffer_options: false, pass its path in images
show the resultpresent_file
consult examplesreferences/corpus/search_corpus.py "query"
save a lookpresets/<name>.md

offer_options: true when the look is genuinely undecided: the user asked for variations, said they're unsure, or the image is the deliverable and taste forks are wide (logo marks, poster concepts, mascots). false for assets inside a bigger build, corrections to an already-chosen image, and batches over three. If the user says "just one", stay at false for the session.

File hygiene: descriptive paths (images/riso-poster.png, images/hero-v2.png); never overwrite an approved version; present only the final file.

Output shape

<image>

```
<exact prompt used — self-contained, no meta-commentary>
```
**Assumptions:** archetype=poster · aspect=2:3 · brand=MONSOON PRESS · palette=cream/indigo/vermilion ·
people=n/a · rendered=1 · redirect in one line ("9:16", "darker", "brand is NOVA", "another variant").

Verify the render — every time, eyes on the file

CheckFailure
Textmisspelling, doubled strings, garbled glyphs, a string rendered twice
Zone drifthero ate the headline, footer vanished, sticker wandered
Palette bleedaccent took over; colours appeared outside the hex list
Structuremelted hands/faces, warped geometry, wrong aspect, wrong panel count
Texturereads as a filter, not print/film/photo
Conceptpretty, but it isn't the image the brief asked for

Exact labels, long copy, or pixel-critical regions → composite the approved asset instead of re-rolling. Alpha → inspect the channel. Grids → measure cells. Diagrams → check node-and-edge, not polish. Numbers → re-read every one.

Something wrong? references/troubleshooting.md (symptom → cause → fix), and escalate in gate order: Intent → Structure → Text → Negatives → Subject/Style. Two failures = simplify.


Style menu & presets

  • Menu — references/styles.md: 15 built-in looks in four groups (graphic/poster, landing/UI, ad/cinematic, diagram). Show names + one-line vibes, let the user pick or blend two, then load the full spec for the chosen one only.
  • Presets — saved styles (never content) at presets/<name>.md, capturing MEDIUM, BACKGROUND, PALETTE, LINE, FONTS, MOTIFS, COMPOSITION, MOOD, FINISH, AVOID, CONSTRAINTS. The AVOID list is what keeps a style from sliding back into generic AI illustration.
  • Share — imgpreset:v1:<base64(gzip(preset))>. Export prints the code; import decodes and validates the frontmatter before writing.

Corpus — search instead of recall

references/corpus/ holds ~5,100 real prompts (Nano Banana Pro + GPT-Image sets, schemas normalised). Don't load it; grep it:

python3 references/corpus/search_corpus.py "risograph poster" -n 3
python3 references/corpus/search_corpus.py --stats

Use it to steal mechanisms — a phrase that clearly works, a JSON shape, a constraint set — not to copy whole prompts verbatim.

Growing the skill

A prompt that rendered well → append to references/gold-examples.md with a Teaches: tag. A look worth repeating → a preset. A recurring failure → references/troubleshooting.md. A new model quirk → references/models/.


Credits: nine-block anatomy, archetypes, archetype art direction, style menu, gold examples, presets and edit/remix discipline from veryCoolTimo/imagegen-skills (MIT); 6-gate protocol, 13-category router, templates, 29 scene recipes, style component library, people/consistency/ troubleshooting from JacksonTai2007/gpt-image-2-prompting-skill (MIT); reverse-prompt framework from wuyoscar/GPT-Image2-Skill (MIT); 20 refinement recipes from VulcanEon/awesome-gpt-image-2.5-prompts (MIT); option-first routing from locqueliu/image-prompter-skills (Apache-2.0); corpora from YouMind-OpenLab and EvoLinkAI prompt sets. See CREDITS.md.

Verwandte Skills