# LDD JSON AI Image Prompt Builder — MASTER KNOWLEDGE BASE

This Knowledge file supports the LDD JSON AI Image Prompt Builder. The GPT Instructions control routing and output behavior. This file supplies deep analysis, schema, editing, Etsy/POD, prompt-engineering, consistency, and validation guidance.

======================================================================
1. CORE PURPOSE
======================================================================

The tool converts uploaded design images into structured JSON optimized for:
- AI image-generation prompts
- Etsy design research
- print-on-demand artwork
- design recreation
- design variation
- iterative design editing

The uploaded image is analyzed, not edited.

For INITIAL analysis, describe what is visible.

After initial JSON exists, the last JSON becomes CURRENT DESIGN STATE. User edits modify that state. Requested edits are authorized changes and may intentionally differ from the original image.

The JSON should always describe the FINAL desired design, not a history of edits.

Bad final prompt:
"Replace the dog with a cat and change orange to pink."

Good final prompt:
"Playful black cat centered in a pink-and-black Halloween composition..."

The external generator should not need the conversation history to understand the final prompt.

======================================================================
2. SOURCE OF TRUTH AND STATE
======================================================================

INITIAL STATE:
Uploaded image > assumptions.

EDIT STATE:
Newest user instruction > last returned JSON > original image.

Edits accumulate unless explicitly reversed.

Example:
Initial: golden dog, pumpkins, orange/black, SPOOKY DOG MOM.
Edit 1: black cat.
Edit 2: pink/black.
Edit 3: cat-oriented accessories.
Edit 4: SPOOKY CAT MOM.
Edit 5: transparent.

Current final state:
black cat + pink/black + cat accessories + SPOOKY CAT MOM + transparent background.

Never resurrect removed details simply because they remain visible in the original upload.

A NEW uploaded image starts a new initial visual analysis for that image unless the user explicitly asks to transfer previous edits.

======================================================================
3. BATCH / MULTIPLE EDIT SEMANTICS
======================================================================

A message may contain one or many modifications. Parse every requested modification before rebuilding the JSON.

Example:
"change text to spooky cat mom, make transparent, change colors to pink and black, change dog to a black cat, change surrounding items to more cat oriented"

Required state mutations:
1. exact_text → SPOOKY CAT MOM
2. typography → appropriate current lettering description
3. prompt → exact new text
4. negative_prompt → protect new text
5. transparent_background → true
6. background → transparent background
7. color_palette → pink and black, plus necessary highlights
8. subject → black cat
9. illustration → black cat and cat-oriented objects
10. composition → replace obsolete dog-oriented elements
11. niche_fit → cat-mom/Halloween niche
12. keywords → remove dog terms and add cat terms
13. failure risks → cat anatomy, exact text, transparency, etc.
14. fix instructions → corresponding corrections
15. variants → current niche only

A batch edit is complete only when every requested mutation appears consistently throughout all dependent fields.

======================================================================
4. SHORT / NATURAL EDIT LANGUAGE
======================================================================

Interpret concise language using CURRENT DESIGN STATE.

"trans" / "transparent" / "remove bg" / "no bg"
→ transparent_background true; background transparent; prompt updated.

"pink"
→ make relevant current palette pink while retaining necessary neutral/detail colors.

"pink and black"
→ pink-and-black dominant palette.

"black cat"
→ main animal becomes black cat.

"no pumpkins"
→ pumpkins removed from all positive descriptions and optionally added to negative prompt.

"new colors"
→ create a coherent alternate palette while preserving subject/composition unless otherwise requested.

"new"
→ create a distinct JSON-described variation consistent with current niche and explicit constraints.

"again"
→ another distinct JSON-described variation; avoid simply paraphrasing the prior prompt.

"redo"
→ rebuild the current JSON coherently from current approved constraints.

"no"
→ previous variation rejected. Preserve the latest clearly approved constraints and revise the rejected aspect when inferable.

"more cat oriented"
→ replace dog-specific/generic pet accessories with clearly feline motifs such as yarn balls, paw prints, fish-shaped toys, cat toys, whisker motifs, small moons, cat silhouettes, or other contextually suitable elements. Do not overload the composition.

"less busy"
→ reduce supporting objects and decorative clutter while preserving main subject/text.

"more vintage"
→ strengthen period typography, limited retro palette, aged ink/distress where compatible.

"cleaner"
→ simplify edges, spacing, hierarchy and decorative clutter; do not arbitrarily change the niche.

======================================================================
5. DEPENDENCY PROPAGATION
======================================================================

Never change only one field when a semantic change affects several.

SUBJECT replacement can affect:
niche_fit, keywords, design_type, audience, subject, emotion, action, mood, hobby, occasion, style_description, composition, illustration, color_palette, prompt, negative_prompt, risks, fixes, variants.

TEXT replacement can affect:
niche_fit, keywords, audience, exact_text, composition, typography, illustration, prompt, negative_prompt, risks, fixes, variants.

COLOR replacement can affect:
style_description, composition if color placement matters, typography, illustration, color_palette, prompt, variants.

BACKGROUND replacement can affect:
transparent_background, background, composition, illustration, prompt, negative_prompt, risks, fixes.

STYLE replacement can affect:
selected_style, style_confidence, style_description, composition, typography, illustration, color_palette, prompt, negative_prompt, risks, variants.

OBJECT removal/addition can affect:
subject if central, composition, illustration, niche_fit, keywords, prompt, negative_prompt, risks, variants.

After every edit, perform a stale-reference sweep.

======================================================================
6. STALE-REFERENCE CLEANUP
======================================================================

Examples of contradictions that must be removed:

dog → cat:
Remove unintended "dog", "puppy", "canine", "dog bone", "dog mom", dog-ear descriptions.

orange → pink/black:
Remove unintended orange/rust/burnt-orange palette descriptions.

pumpkins removed:
Remove pumpkins from composition, illustration, prompt, keywords, variants unless intentionally mentioned only as an exclusion.

SPOOKY DOG MOM → SPOOKY CAT MOM:
Remove old phrase everywhere. Do not leave "dog mom" in SEO unless user intentionally wants cross-niche terms.

background → transparent:
Remove "cream backdrop", "solid black background", "Halloween scene background", etc., unless those elements are contained decorative shapes rather than a full backdrop.

======================================================================
7. REQUIRED SCHEMA
======================================================================

{
  "input_type": "image",
  "selected_style": "",
  "style_confidence": "",
  "niche_fit": "",
  "keywords": "",
  "transparent_background": true,
  "design_type": "",
  "audience": "",
  "subject": "",
  "emotion": "",
  "action": "",
  "mood": "",
  "hobby": "",
  "job": "",
  "occasion": "",
  "holiday": "",
  "year": "",
  "exact_text": "",
  "style_description": "",
  "composition": "",
  "typography": "",
  "illustration": "",
  "color_palette": "",
  "background": "",
  "image_size": "",
  "aspect_ratio": "",
  "dpi": "300 DPI",
  "quality": "high-resolution, print-ready",
  "output_specs": "4500x5400 px, 300 DPI, print-ready, centered, safe margins",
  "prompt": "",
  "negative_prompt": "",
  "common_failure_risks": [],
  "fix_instructions": [],
  "variant_suggestions": []
}

Preserve this field order.

All fields must exist.

Normally empty only when genuinely unknown/not applicable:
job, holiday, year, image_size, aspect_ratio.

exact_text = "" when no text.
typography = "no typography" when no text.
hobby may be empty when no meaningful hobby applies.

======================================================================
8. FIELD-BY-FIELD GUIDANCE
======================================================================

input_type:
Use "image" for uploaded-image analysis.

selected_style:
Choose the single strongest primary visual style. Avoid stuffing several styles into this field.

style_confidence:
Preferred: "very high", "high", "medium", "low".

niche_fit:
Commercially useful Etsy/POD niche, not merely a broad topic.
Good: "Halloween black cat mom apparel and gifts"
Weak: "Halloween"

keywords:
10–15 lowercase, comma-separated, long-tail Etsy phrases. No hashtags. No duplicates. Reflect current state.

transparent_background:
JSON boolean true/false. Never quoted.

design_type:
Describe artifact intent: "cute Halloween t-shirt graphic", "distressed outdoors apparel design", etc.

audience:
Likely buyer/wearer, e.g. "cat moms, black cat owners and Halloween lovers".

subject:
Main visual focus, specific enough to reconstruct.

emotion:
Dominant emotional expression/tone: joyful, playful, confident, sentimental, peaceful, mischievous, energetic.

action:
What subject does. If static, "displayed".

mood:
Overall atmosphere, often 2–4 compatible descriptors.

hobby:
Relevant activity/interest: pet ownership, football, hunting, fishing, reading, gardening, etc.

job:
Profession only when clearly relevant.

occasion:
Season/event/use: Halloween, graduation, birthday, pregnancy announcement, game day, awareness event.

holiday:
Specific holiday if applicable.

year:
Visible/requested year when relevant.

exact_text:
Exact current wording. Preserve line breaks with \n.

style_description:
Rendering approach, texture, linework, era, shading, print aesthetic, distress level, decorative treatment.

composition:
Spatial construction: center, top/bottom text, framing, supporting objects, hierarchy, balance, spacing.

typography:
Lettering category, case, weight, outline, shadow, curvature, stacking, distress, decorative treatment.

illustration:
Detailed current artwork description including subject, pose, expression, accessories, motifs and relationships.

color_palette:
Dominant and supporting colors. Use names and hex codes when user explicitly provides exact values.

background:
Visible/current background or "transparent background".

image_size:
Source dimensions only when confidently known; otherwise "".

aspect_ratio:
Only when confidently known; otherwise "".

dpi:
Default "300 DPI".

quality:
Default "high-resolution, print-ready".

output_specs:
Default "4500x5400 px, 300 DPI, print-ready, centered, safe margins".

prompt:
Complete standalone generation prompt describing final desired state.

negative_prompt:
Universal exclusions + text-specific + design-specific exclusions.

common_failure_risks:
Specific likely failure modes.

fix_instructions:
Specific prevention/correction instructions mapped to risks.

variant_suggestions:
Useful textual alternative directions within current niche and constraints.


======================================================================
9. STYLE LIBRARY
======================================================================

RETRO VINTAGE:
Period-inspired display typography, limited nostalgic palette, screen-print feel, simplified shapes, optional aged ink.

DISTRESSED VINTAGE:
Retro construction plus intentionally worn/faded ink, speckling, cracked print texture or weathering. Distress should not destroy legibility.

FLAT VECTOR:
Clean solid shapes, crisp outlines, limited gradients, scalable-looking forms, strong silhouette.

WATERCOLOR:
Soft pigment edges, translucent washes, organic blending, painterly botanical/subject details. For transparent POD designs, keep watercolor artwork isolated rather than placing it on a paper rectangle.

CARTOON:
Simplified expressive shapes, clear outlines, friendly exaggeration, readable silhouettes.

KAWAII:
Cute proportions, simplified facial features, rounded forms, cheerful/pastel palette where appropriate.

COMIC:
Bold linework, dynamic posing, graphic shadows, energetic shapes, optional halftone influence.

STICKER STYLE:
Bold outer contour, compact composition, simplified high-contrast shapes. A white sticker border should only be included when actually visible/requested.

COQUETTE:
Bows, ribbons, delicate feminine details, soft/pastel palette, ornamental typography when appropriate.

SOUTHERN BOUTIQUE:
Decorative apparel-forward composition, feminine/seasonal motifs, bold readable typography, commercially polished layout.

WESTERN:
Cowboy/cowgirl motifs, boots, hats, rope, desert/floral elements, western serif/slab lettering, vintage or modern western palette.

COLLEGIATE:
Athletic block typography, arches, varsity styling, simple iconography, strong hierarchy.

PATRIOTIC AMERICANA:
Red/white/blue, stars/stripes where appropriate, heritage-inspired typography and Americana motifs.

CHRISTIAN FAITH-BASED:
Scripture/faith messaging, crosses/florals/rays or other suitable motifs when visible/requested. Exact scripture text must be protected carefully.

GLOSSY 3D:
Dimensional rendered forms, smooth highlights, polished surfaces, strong depth and controlled reflections.

PHOTOREAL:
Realistic materials, lighting, anatomy and textures. For POD graphic intent, isolate subject appropriately if transparency requested.

HAND DRAWN:
Organic line irregularity, sketch/ink quality, intentional handmade character.

ENGRAVED VINTAGE:
Fine line hatching/crosshatching, old print/etching feel, restrained palette.

GROOVY RETRO:
70s-inspired rounded typography, waves, flowers, smile motifs and warm/funky palette when applicable.

MINIMALIST:
Reduced objects, clean negative space, simple hierarchy, restrained palette.

Style selection should describe what is actually/currently intended rather than stacking trendy labels.

======================================================================
10. TYPOGRAPHY LIBRARY
======================================================================

Useful descriptors:
- bold uppercase display lettering
- condensed sans serif
- chunky rounded retro lettering
- varsity block letters
- western slab serif
- hand-lettered script
- brush script
- elegant serif
- bubbly playful letters
- groovy 1970s lettering
- distressed athletic lettering
- arched headline
- stacked centered text
- outlined letters
- drop-shadow lettering
- offset retro shadow
- dimensional 3D lettering
- hand-drawn irregular letters

Typography descriptions should mention placement and hierarchy when useful.

Example:
"Large arched uppercase 'SPOOKY' above the illustration with stacked bold 'CAT MOM' below, chunky retro display lettering in hot pink with black outline."

Do not invent branded/proprietary font names unless specifically necessary and confidently identified.

======================================================================
11. COLOR HANDLING
======================================================================

Describe dominant colors first, supporting colors second.

Examples:
"hot pink, bubblegum pink, deep black, white highlights"
"burnt orange, cream, dark brown, muted mustard"
"dusty rose, sage green, warm cream, muted terracotta"

When user says "pink and black", do not necessarily make every pixel only two colors. Neutral white highlights may be retained where necessary for legibility, but pink and black must dominate.

When exact hex supplied, preserve it:
"soft pink #f186a2"

Avoid stale palette references after edits.

For vintage looks, consider muted/aged versions only if consistent with user's request.

======================================================================
12. TEXT FIDELITY
======================================================================

Initial visible text must be transcribed exactly.

Preserve:
- capitalization
- punctuation
- apostrophes
- symbols
- numbers
- line order
- spelling

Represent line breaks with \n.

If user provides replacement text, user wording becomes authoritative even if original image differs.

Prompt phrase:
text reads "SPOOKY CAT MOM"

Then reinforce:
"Render the wording exactly once with exact spelling; no additional words, missing words, duplicated words, or altered lettering."

Negative prompt when text exists:
"do not change the text, do not add extra words, do not rewrite the lettering"

For complex text, common_failure_risks should mention spelling/duplication/garbling.

======================================================================
13. TRANSPARENT BACKGROUND KNOWLEDGE
======================================================================

Transparency is an output property, not merely a visual color.

When transparent requested:
transparent_background = true
background = "transparent background"

Prompt concepts:
- isolated artwork
- true transparent background
- no rectangular backdrop
- no full-canvas scene
- clean alpha edges
- no white halo
- centered design
- complete uncropped artwork
- safe outer margins

If the composition contains decorative scenery intended as part of the design (e.g. small marsh silhouettes inside a badge), those may remain while the OUTER background stays transparent.

Negative additions:
no solid background, no rectangular background, no white box, no background scene, no halo around edges

Potential risk:
generator may simulate transparency with white/checkerboard. Fix:
"Require actual transparent output rather than a drawn checkerboard or white background."

======================================================================
14. COMPOSITION VOCABULARY
======================================================================

Possible structures:
- centered vertical apparel composition
- circular badge
- arched headline above subject
- stacked typography
- symmetrical framing
- asymmetrical botanical frame
- subject overlapping a sun/moon disk
- top text / central illustration / bottom text
- collage
- crest/emblem
- compact sticker composition
- panoramic scene
- isolated central mascot
- floral wreath
- decorative corner clusters

Describe relationships:
"black cat centered beneath arched headline"
"yarn balls clustered near lower corners"
"crescent moon behind cat without obscuring ears"
"small paw-print accents balancing both sides"

Use hierarchy:
primary subject > headline > secondary motifs > tiny accents.

Avoid clutter that competes with text.

======================================================================
15. EDGE SAFETY / POD
======================================================================

Default artwork target:
4500x5400 px
300 DPI
high-resolution
print-ready
centered
safe margins

Protect:
ears, hair, hats, hands, paws, wings, tails, text, flowers, stars, props, borders.

Avoid any critical feature touching canvas edges.

For apparel graphics, generous breathing room is usually preferable to filling every pixel.

Prompt language:
"Keep the complete design centered with generous safe margins; no text, subject features, or decorative objects cropped or touching the canvas edges."

======================================================================
16. ETSY NICHE CLASSIFICATION
======================================================================

Combine subject + audience + occasion + style/product intent when useful.

Examples:
black cat + Halloween + mom → Halloween black cat mom apparel
mallard + hunting + vintage → vintage duck hunting outdoors apparel
pumpkins + pregnancy → fall pregnancy announcement apparel/gifts
football + mom → football mom game-day apparel
teacher + Halloween → Halloween teacher shirt niche
faith + floral scripture → Christian faith-based floral apparel
breast cancer + dragon → breast cancer awareness fantasy/dragon apparel

Avoid niches broader than necessary.

Do not invent protected brand affiliations or celebrity identities from ambiguous art.

======================================================================
17. ETSY KEYWORD ENGINE
======================================================================

Produce 10–15 long-tail phrases.

Cover several buyer intents:
1. core subject
2. recipient/audience
3. occasion
4. style
5. product use
6. gift intent
7. seasonal intent
8. visual motif

Example current design:
SPOOKY CAT MOM + black cat + pink/black + Halloween

Possible keyword set:
spooky cat mom shirt, halloween cat mom png, black cat halloween shirt, pink halloween cat design, cat lover spooky season, halloween cat lover gift, spooky black cat graphic, cat mom sweatshirt design, cute halloween cat png, pink and black halloween, black cat mom apparel, spooky season cat shirt

Avoid repeating the exact same phrase with trivial word-order swaps.
Avoid unrelated high-volume keywords.
Remove stale dog keywords after cat replacement.

======================================================================
18. PROMPT ENGINEERING — STANDALONE FINAL STATE
======================================================================

Prompt order:
STYLE → SUBJECT → COMPOSITION → TYPOGRAPHY → COLOR → CONSTRAINTS → BACKGROUND → EXACT TEXT → PRINT SPECS.

Example pattern:

"Create a [STYLE] print-on-demand graphic featuring [SUBJECT]. Arrange [COMPOSITION]. Use [TYPOGRAPHY]. Use a [COLOR PALETTE]. [CONSTRAINTS]. Place the isolated artwork on a [BACKGROUND]. The text reads "[EXACT TEXT]" and must appear exactly once with exact spelling and no additional words. High-resolution, print-ready, 4500x5400 px at 300 DPI, centered with generous safe margins and no cropped elements."

Do not rely on phrases like:
"same as image"
"change this"
"replace that"
"keep everything else"

The final prompt must be self-contained.

======================================================================
19. NEGATIVE PROMPT ENGINE
======================================================================

Universal base:
no watermark, no extra text, no duplicate text, no misspelled text, no garbled letters, no distorted typography, no blurry edges, no messy outlines, no cropped design, no low resolution, no background artifacts

If text:
do not change the text, do not add extra words, do not rewrite the lettering

Subject exclusions:
cat replacing dog → no dog, no puppy, no canine muzzle, no floppy dog ears
raccoon replacing bear → no bear features
one subject → no duplicate animals unless intended

Object exclusions:
pumpkins removed → no pumpkins
guitar removed → no guitar
crown removed → no crown

Background exclusions:
transparent → no solid background, no white box, no rectangular backdrop, no checkerboard pattern

Anatomy:
no extra limbs, no missing limbs, no malformed paws/hands when relevant

Do not make negative_prompt so contradictory that it blocks required content.

======================================================================
20. FAILURE RISK ENGINE
======================================================================

Common categories:

TEXT:
- misspelling
- duplicated words
- omitted words
- garbled small text
- incorrect capitalization

SUBJECT:
- wrong species
- wrong color
- altered expression
- duplicated subject
- unwanted old subject traits

ANATOMY:
- extra paws/fingers/limbs
- missing tail
- malformed ears
- merged props

COMPOSITION:
- cropped elements
- text overlaps face
- supporting objects overpower subject
- poor hierarchy

TRANSPARENCY:
- white rectangle
- checkerboard drawn into image
- edge halo
- leftover background artifacts

STYLE:
- style drift
- too realistic / too cartoonish
- distress destroying legibility
- inconsistent rendering among elements

COLOR:
- old colors remaining
- palette too broad
- low text contrast

Fix instructions should directly answer these risks.

======================================================================
21. VARIANT SUGGESTIONS
======================================================================

Variants should be genuinely distinct but remain commercially related.

Good:
- "Pastel pink-and-black version with yarn balls and tiny paw-print accents"
- "Retro hot-pink version with crescent moon and simplified black cat silhouette"
- "Minimal black cat version with oversized pink typography and fewer accessories"

Weak:
- "Make another version"
- "Different colors"
- "Try something else"

Do not introduce random niche changes.

======================================================================
22. MULTIPLE IMAGE STATE
======================================================================

Maintain separate state per uploaded image.

If 3 images:
object 1 = image 1 state
object 2 = image 2 state
object 3 = image 3 state

Targeting:
"image 2 pink" → object 2 only.
"first one transparent" → object 1 only.
"last one no text" → last object only.
"all black and white" → all objects.
"both" → both relevant objects when exactly two are in current scope.

If user refers by visible trait:
"make the cat one transparent"
→ choose object whose current state contains cat.

Do not apply edits to unrelated objects.

======================================================================
23. INITIAL ANALYSIS VS AUTHORIZED INVENTION
======================================================================

During initial analysis, do not invent major unseen visual features.

Permitted inference:
- likely niche
- audience
- product intent
- SEO
- likely occasion
- useful failure risks
- print constraints

After user asks for a modification, the new requested feature is authorized even if not visible.

Original has dog.
User requests black cat.
Black cat is now correct current state.

Original has no witch hat.
User requests witch hat.
Witch hat is now authorized.

Do not reject an edit because it conflicts with the source image.


======================================================================
24. EDIT EXAMPLE LIBRARY
======================================================================

EXAMPLE A — ONE CHANGE
Current: orange ghost dog design.
User: "pink"
Result: preserve subject/layout/text; update palette and dependent fields to pink-dominant.

EXAMPLE B — SUBJECT CHANGE
Current: golden dog.
User: "black cat"
Result: subject/illustration/prompt/SEO become black cat; remove dog terms.

EXAMPLE C — TEXT CHANGE
Current exact_text: "SPOOKY DOG MOM"
User: "change text to spooky cat mom"
Result exact_text: "SPOOKY CAT MOM"; update prompt, typography references, keywords and negatives.

EXAMPLE D — TRANSPARENCY
User: "trans"
Result: true transparency requirement throughout JSON; do not merely say "white background removed."

EXAMPLE E — BATCH
User: "change text to spooky cat mom, make transparent, change colors to pink and black, change dog to a black cat, change surrounding items to more cat oriented"
Result: ALL five concepts incorporated into complete current JSON. No old dog/orange/background contradictions.

EXAMPLE F — REMOVE
User: "no pumpkins"
Result: remove pumpkins everywhere positive; optionally add "no pumpkins" negative.

EXAMPLE G — ADD
User: "add pink yarn and little fish toys"
Result: incorporate as secondary motifs without overwhelming main subject/text.

EXAMPLE H — STYLE
User: "more vintage"
Result: selected_style/style_description/typography/color treatment/prompt updated coherently; preserve subject and requested text.

EXAMPLE I — SIMPLIFY
User: "too busy"
Result: reduce supporting motifs and visual clutter, enlarge breathing room, preserve central identity.

EXAMPLE J — NEW PALETTE
User: "new colors"
Result: select coherent alternate palette; avoid changing subject/text/layout without reason.

EXAMPLE K — AGAIN
User: "again"
Result: distinct JSON variation of current design, preserving explicit locked constraints.

EXAMPLE L — NO
User: "no"
Result: reject previous proposed variation, return a revised JSON based on last clearly established requirements. Do not revert all the way to the original image.

======================================================================
25. HALLOWEEN DESIGN KNOWLEDGE
======================================================================

Common motifs:
ghosts, black cats, bats, crescent moons, stars, pumpkins, candy, witch hats, spiderwebs, potion bottles, yarn/paw motifs for cat niches.

Use only motifs appropriate to current request.

Cute Halloween:
friendly expressions, rounded shapes, playful spooky elements.

Retro Halloween:
orange/cream/black or user-directed palettes, vintage display type, aged texture if desired.

Pink Halloween:
hot pink/pastel pink + black, white highlights, bows/stars/cats where suitable.

Cat-oriented Halloween alternatives:
yarn balls, fish-shaped toys, paw prints, whiskers, cat silhouettes, tiny mice, cat toys, moons.

Do not automatically include every motif.

======================================================================
26. PET NICHE KNOWLEDGE
======================================================================

Dog cues:
bones, paw prints, collars, tennis balls, floppy/pointed ears according to breed, dog-mom language.

Cat cues:
yarn, fish toys, mice, catnip toys, whiskers, feline paws, cat silhouettes, pointed ears, curled tail.

When converting dog → cat:
Do not retain dog bones, dog-specific toys, canine muzzle anatomy or dog-specific SEO unless explicitly desired.

Generic pet motifs such as paw prints can remain if compatible.

======================================================================
27. VINTAGE / DISTRESS CONTROL
======================================================================

Distress is not the same as low quality.

Good distress:
intentional worn ink, speckles, faded print, cracked texture while preserving edges/text readability.

Bad:
blurry edges, muddy details, illegible text, accidental compression artifacts.

If "no distress":
remove worn/cracked/speckled texture descriptions and use clean print edges.

If "light distress":
subtle aged ink only.

If "heavy distress":
strong vintage wear but preserve recognizable subject and readable typography.

======================================================================
28. WATERcolor CONTROL
======================================================================

Watercolor should use:
soft pigment transitions, organic edges, subtle blooms, painterly layering.

Avoid:
muddy indistinct subject, accidental paper rectangle when transparent requested, overly photographic textures.

Transparent watercolor POD:
isolated watercolor artwork with soft but clean alpha edges; no visible paper background.

======================================================================
29. CARTOON / KAWAII CONTROL
======================================================================

Cartoon:
clean readable shapes, expressive face, simplified anatomy, controlled outline.

Kawaii:
cute proportions, rounded features, simplified eyes/mouth, cheerful tone.

Avoid unintended baby-like proportions if the reference/current state is not cute.

For animals, preserve species-defining traits.

======================================================================
30. PHOTOREAL / 3D CONTROL
======================================================================

Photoreal:
realistic lighting, materials, anatomy, depth.

Glossy 3D:
polished dimensional surfaces, controlled reflections, rounded dimensional typography/objects.

For transparent POD output:
avoid generating a floor, room or studio backdrop unless requested.

======================================================================
31. PRINT-READINESS
======================================================================

The JSON is intended to help produce artwork suitable for print.

Default:
4500x5400 px
300 DPI
centered
safe margins
high-resolution
print-ready

Prompt should favor:
clean silhouettes
readable text
strong contrast
complete subject
clean edges
no accidental clipping
appropriate detail at apparel-print scale

Avoid relying on microscopic detail that will disappear in printing.

======================================================================
32. COMMERCIAL CLARITY
======================================================================

Design should have a clear primary read at thumbnail size.

Prioritize:
1. main phrase or subject
2. recognizable niche
3. supporting visual theme

For text-heavy designs:
lettering should dominate.

For mascot/character designs:
subject should dominate, with text supporting.

For collage:
maintain hierarchy so it does not become visual noise.

======================================================================
33. EXACT USER CONSTRAINTS
======================================================================

Treat explicit constraints as locked until reversed.

Examples:
"no guitar"
"no crown"
"three claws"
"no nails"
"pink #f186a2"
"transparent"
"no distress"
"hide guitar neck"
"solid earring"

A later generic "again" should preserve locked constraints.

If a new explicit instruction conflicts with an old one, newest explicit instruction wins.

======================================================================
34. SAFE-MARGIN LANGUAGE
======================================================================

Useful prompt wording:
"Leave generous empty space around the complete design."
"Keep all text and artwork comfortably inside the canvas."
"No ears, paws, hair, hats, props, letters, borders, or decorative elements touching the image edges."
"Maintain comfortable crop-safe margins for print-on-demand placement."

======================================================================
35. COMMON JSON QUALITY ERRORS
======================================================================

Avoid:
- invalid trailing commas
- comments inside JSON
- quoted booleans
- missing fields
- arrays represented as strings
- accidental Markdown inside string values
- stale old text
- prompt contradicting subject
- transparent_background true while background says solid scene
- exact_text differing from prompt wording
- keywords describing removed subject
- variants violating locked constraints

======================================================================
36. FINAL INTERNAL AUDIT
======================================================================

For INITIAL analysis:
[ ] image analyzed accurately
[ ] visible text exact
[ ] primary style chosen
[ ] niche commercially specific
[ ] 10–15 useful keywords
[ ] composition reconstructable
[ ] prompt standalone
[ ] negative prompt complete
[ ] schema complete

For EDIT:
[ ] started from last JSON
[ ] parsed every requested edit
[ ] preserved unreversed edits
[ ] propagated dependencies
[ ] removed stale references
[ ] exact_text synchronized
[ ] palette synchronized
[ ] subject synchronized
[ ] background synchronized
[ ] prompt describes final state, not edit history
[ ] negative prompt reflects final state
[ ] risks/fixes relevant
[ ] schema complete and valid

For MULTI-EDIT:
Create a silent checklist of every clause separated by commas, "and", semicolons, or line breaks. Confirm each clause was applied before output.

======================================================================
37. MASTER MULTI-EDIT TEST CASE
======================================================================

INPUT CURRENT STATE:
- cute golden dog
- white ghost costume
- orange pumpkins
- orange/black palette
- "SPOOKY DOG MOM"
- visible background

USER:
"change text to spooky cat mom, make transparent, change colors to pink and black, change dog to a black cat, change surrounding items to more cat oriented"

EXPECTED SEMANTIC FINAL STATE:
- black cat is the main subject
- retain ghost costume only if not removed and still coherent
- exact text is SPOOKY CAT MOM
- pink and black dominate
- background is transparent
- surrounding motifs are cat-oriented rather than dog-oriented
- Etsy niche is Halloween cat mom
- keywords are cat/Halloween focused
- prompt is written as the final black-cat design
- negative prompt excludes dogs/old text/background artifacts where useful
- no stale "golden dog", "dog mom", or orange palette references
- complete schema returned

This test case should pass even though it contains many visual modification verbs.

======================================================================
38. ADDITIONAL MULTI-EDIT TESTS
======================================================================

TEST:
"make cat white, bow pink, remove moon, add stars, text black, transparent"
Final state must satisfy all six changes.

TEST:
"no distress, make lettering bigger, remove bottom flowers, use teal and gold"
Preserve subject; update style texture, typography hierarchy, composition and palette.

TEST:
"image 2 black and white, image 3 trans, all text bigger"
Apply targeted edits first, then global text-size edit to every relevant image object.

TEST:
"both transparent but only first one change text to CAT MOM"
Transparency applies to both; text change applies only first.

TEST:
"new, but keep black cat, pink and black, and exact text"
Create variation in composition/accessories/style details while locking subject, palette and exact text.

======================================================================
39. KNOWLEDGE PRIORITY
======================================================================

When several knowledge rules apply:
1. explicit newest user constraint
2. current design state
3. exact text fidelity
4. semantic consistency
5. uploaded image for initial visual facts
6. Etsy/POD optimization
7. variant creativity

Never let SEO optimization alter exact user text or required visual constraints.


======================================================================
DREAMER / OUTPUT CHARACTER BUDGET
======================================================================

When JSON is intended for MyDesigns Dreamer, the COMPLETE serialized JSON output must remain below Dreamer's 12,000-character limit.

TARGET:
- Aim for 9,000–10,500 total characters.
- Treat 11,000 characters as a soft ceiling.
- Never intentionally approach 12,000 characters.
- The character budget applies to the entire JSON object, not only the "prompt" field.

COMPRESSION PRIORITY:
1. Preserve every explicit user constraint and CURRENT DESIGN STATE.
2. Preserve exact_text and text-fidelity protections.
3. Preserve subject, requested colors, style, composition, transparency, required/removed objects, and generation-critical details.
4. Keep "prompt" complete and standalone, but concise.
5. Shorten supporting fields before weakening the main prompt.
6. Reduce keywords to useful non-duplicate phrases when space is needed.
7. Keep common_failure_risks and fix_instructions short and specific.
8. Keep variant_suggestions concise and reduce their count when necessary.
9. Compress IP notes and metadata before removing visual instructions.
10. Remove redundant wording repeated across style_description, composition, typography, illustration, prompt, negative_prompt, risks, fixes, and variants.

DEDUPLICATION:
- style_description = rendering/style only
- composition = layout/hierarchy only
- typography = lettering treatment only
- illustration = subject and important visual details
- prompt = complete standalone generation instruction
- negative_prompt = concise exclusions
- common_failure_risks = short likely failures
- fix_instructions = short corrections
- variant_suggestions = brief alternate directions

FINAL LENGTH AUDIT:
[ ] complete JSON is under 12,000 characters
[ ] preferred target is 9,000–10,500 characters
[ ] all required fields exist in required order
[ ] every explicit edit is preserved
[ ] exact_text is unchanged
[ ] no stale references remain
[ ] prompt is standalone
[ ] supporting fields do not unnecessarily duplicate the prompt

COMPACT DOES NOT MEAN VAGUE. Preserve specificity that changes the generated image; remove wording that merely repeats specificity already established elsewhere.

======================================================================
40. MASTER PRINCIPLE
======================================================================

The best JSON is:
- complete
- internally consistent
- faithful to current state
- specific enough for an external image generator
- useful for Etsy/POD
- easy to copy
- free of stale references
- robust against common generation failures

The final prompt should read as though the desired finished artwork already exists conceptually. It should not narrate the sequence of edits used to reach it.


======================================================================
41. EXPANDED STYLE ENCYCLOPEDIA
======================================================================

Use these as classification/generation vocabulary. Choose ONE primary style in selected_style; combine compatible influences in style_description only when useful.

APPAREL / PRINT STYLES
- screen print: limited inks, bold separations, print-friendly shapes
- halftone print: dot-based tonal shading, retro print texture
- risograph: limited overlapping inks, slight registration character
- linocut: carved high-contrast marks, handmade block-print texture
- woodcut: engraved carved lines, rustic vintage illustration
- rubber stamp: rough ink edges, simple bold silhouette
- ink illustration: expressive black linework, controlled fills
- pen and ink: fine line detail, crosshatching, monochrome-friendly
- stippling: tonal shading built from dots
- scratchboard: sharp light marks cut from dark fields
- monoline: consistent single-weight linework
- contour drawing: flowing outlines with minimal fills
- silhouette: solid recognizable shape with minimal interior detail
- paper cut: layered cut-paper shapes with dimensional overlap
- layered vinyl: simple separated color layers suitable for cut-style graphics
- patch / embroidered look: stitched borders, thread-like texture, badge construction
- chenille patch: fuzzy varsity-style dimensional lettering/shapes
- appliqué: layered fabric-like forms and stitched edges
- puff print look: raised rounded ink appearance
- foil-look graphic: metallic visual effect represented in artwork
- glitter-look graphic: illustrated sparkle texture; do not imply actual material unless product supports it
- rhinestone-look: illustrated gem/rhinestone arrangement
- sequin-look: overlapping reflective disc effect
- sublimation style: full-color smooth artwork suited to sublimation
- DTF-style graphic: crisp full-color isolated apparel artwork

ERA / RETRO STYLES
- 1950s retro: diner-era shapes, atomic accents, script/display combinations
- 1960s mod: geometric forms, bold clean color blocking, optical influence
- 1970s groovy: rounded type, flowers, waves, earthy/warm palette
- 1980s retro: neon, grids, chrome, energetic geometric accents
- 1990s retro: chunky type, doodles, bold color blocking, grunge or playful variants
- Y2K: chrome, bubbly type, stars, hearts, glossy futuristic nostalgia
- vaporwave: neon gradients, retro-digital atmosphere, surreal nostalgic motifs
- synthwave: neon sunset/grid aesthetics, angular futuristic retro forms
- retro futurism: vintage interpretation of future technology
- mid-century modern: clean geometric forms, restrained period palette
- atomic age: starbursts, boomerangs, orbit motifs, mid-century shapes
- vintage travel poster: simplified scenic blocks, strong poster typography
- vintage tourism: destination-poster composition, nostalgic color
- vintage sports: aged athletic lettering, mascots, pennants, badges
- vintage collegiate: varsity type, arches, simple academic/athletic icons
- heritage workwear: rugged badge typography, industrial/outdoors feel
- old western poster: slab/wood type, ornamental borders, aged print
- Victorian: ornate serif, decorative frames, botanical flourishes
- Art Nouveau: flowing organic lines, floral curves, decorative frames
- Art Deco: geometric symmetry, elegant angular forms, luxurious poster feel
- Bauhaus: geometric simplicity, functional type, primary-form influence
- psychedelic: warped lettering, flowing shapes, dense energetic color
- grunge: rough texture, distressed type, raw layered marks
- punk zine: photocopy texture, ransom/cutout influence, rough collage
- retro comic: halftones, bold outlines, speech/display lettering
- pulp poster: dramatic vintage illustration, bold headline treatment

FEMININE / BOUTIQUE STYLES
- coquette: bows, ribbons, delicate ornaments, soft romantic palette
- balletcore: ribbons, ballet-inspired elegance, soft feminine treatment
- cottagecore: florals, mushrooms, gardens, pastoral handmade charm
- grandmillennial: traditional florals, bows, decorative classic motifs
- shabby chic: faded florals, soft vintage textures, romantic distressed look
- preppy: clean stripes/checks, monograms, polished color combinations
- southern boutique: seasonal motifs, bold feminine lettering, apparel-forward layout
- glam western: western motifs plus sparkle, pink, metallic-look accents
- pink western: cowgirl imagery with pink-dominant boutique palette
- boho: earthy palette, organic forms, sun/moon/floral motifs
- boho rainbow: muted arches/rainbows, soft earthy tones
- celestial feminine: moons, stars, constellations, delicate decorative type
- botanical feminine: floral framing, elegant type, organic illustration
- romantic vintage: antique floral/ornamental styling with soft nostalgia
- dark feminine: black, burgundy, deep florals, ornate dramatic treatment

CUTE / CHARACTER STYLES
- kawaii: rounded cute proportions and simplified expressive faces
- chibi-inspired: oversized head, compact body, exaggerated cuteness
- mascot cartoon: strong silhouette, expressive pose, merchandise-ready
- storybook: gentle illustrative forms, whimsical narrative feel
- nursery: soft simple shapes, friendly animals, child-friendly palette
- doodle: loose hand-drawn icons and playful imperfect marks
- sticker bomb: multiple compact sticker-like motifs arranged as collage
- clay look: soft sculpted dimensional forms
- plush look: soft stuffed-toy appearance, rounded seams/forms
- felt craft: layered felt-like shapes and stitched details
- paper craft: folded/cut paper appearance
- hand-painted folk: simplified decorative forms and handmade brush character
- folk art: stylized animals/florals, symmetry, traditional decorative forms
- Scandinavian folk: clean floral/animal symmetry and restrained palette
- whimsical fantasy: playful magical motifs, imaginative forms
- fairytale: storybook magic, castles/forests/florals where relevant

DARK / ALTERNATIVE STYLES
- gothic: ornate dark typography, black/deep tones, architectural/floral motifs
- gothic romantic: dark florals, elegant serif/script, dramatic ornament
- dark academia: antique books, scholarly motifs, muted dark palette
- witchy: moons, herbs, crystals, cats, potion motifs where requested
- occult-inspired decorative: celestial/esoteric geometry without assuming specific belief content
- tattoo flash: bold isolated motifs, strong outlines, traditional flash layout
- traditional tattoo: bold outlines, limited saturated palette, classic motifs
- neo-traditional tattoo: richer shading/color with bold tattoo structure
- blackwork tattoo: dense black shapes and ornamental linework
- metal poster: aggressive angular type, high contrast, dramatic illustration
- horror comic: expressive dark comic illustration, distressed title treatment
- spooky cute: Halloween motifs with friendly expressions and cute proportions
- pastel goth: black combined with pastel pink/purple, cute-dark contrast
- grunge goth: distressed dark graphics, rough type and textures

OUTDOORS / RUSTIC STYLES
- outdoors badge: mountains/wildlife/trees in emblem composition
- hunting vintage: wildlife, marsh/forest, rugged distressed sporting print
- fishing vintage: fish/water/outdoors badge with aged sporting style
- national-park-poster inspired: simplified landscape poster composition
- rustic lodge: woodsy wildlife, earthy palette, cabin/outdoor typography
- camping badge: tent, trees, mountains, campfire in compact emblem
- adventure patch: embroidered/patch-like outdoor emblem
- nautical: anchors, waves, rope, coastal typography
- coastal vintage: sun, waves, palms, retro vacation colors
- surf retro: wave/sunset motifs, groovy or vintage surf lettering
- beach vacation: bright/coastal palette, palms, shells, sunshine
- lake life: water, boats, fish, dock motifs
- farm rustic: barns, tractors, crops, farmhouse lettering where appropriate
- country farmhouse: rustic typography, simple botanical/agricultural motifs

MODERN / DIGITAL STYLES
- clean vector: precise shapes and crisp scalable-looking edges
- geometric: circles, triangles, blocks and structured abstraction
- abstract modern: nonrepresentational shapes with intentional balance
- maximalist: dense decorative composition with controlled hierarchy
- minimalist: sparse elements, strong negative space
- gradient mesh: smooth multicolor vector-like gradients
- neon glow: luminous edges/sign-like light effects
- holographic look: iridescent color-shift appearance
- chrome: reflective metallic-look dimensional surfaces
- liquid metal: fluid reflective metallic forms
- glassmorphism-inspired: translucent frosted shapes and soft highlights
- glossy 3d: polished dimensional forms
- inflatable 3d: puffy rounded balloon-like forms
- bubble 3d: rounded glossy typography/objects
- pixel art: deliberate low-resolution grid aesthetic
- 8-bit: simplified retro game-like pixel construction
- low-poly: faceted geometric 3D forms
- isometric: consistent angled pseudo-3D view
- cyberpunk: neon technology, dark city/futuristic visual language
- futuristic tech: clean digital interfaces/geometric light effects
- glitch: intentional RGB shifts, digital fragmentation
- datamosh-inspired: abstract digital compression-like distortion
- collage: layered cutouts, photos/illustrations/textures
- mixed media: combined paint, paper, linework and texture
- editorial illustration: concept-driven polished illustration
- poster graphic: strong hierarchy, headline and central image
- iconographic: simplified symbolic forms

ART / PAINTERLY STYLES
- watercolor
- gouache: opaque matte paint, soft but solid shapes
- acrylic painting: visible brushwork and opaque layered color
- oil painting: rich blending, textured painterly depth
- pastel: soft chalk-like blending and powdery edges
- colored pencil: visible pencil grain and layered color
- graphite sketch: monochrome pencil lines and shading
- charcoal: rough dark tonal marks
- ink wash: monochrome flowing tonal brushwork
- marker illustration: saturated marker-like fills and linework
- airbrush retro: smooth gradients, soft highlights, vintage commercial-art feel
- impasto-inspired: thick painted texture appearance
- pointillist: image built from small colored dots
- screenprint poster: limited inks, bold shapes, print texture

PATTERN / DECORATIVE STYLES
- seamless pattern
- ditsy floral
- toile-inspired
- damask-inspired
- checkerboard
- gingham
- plaid
- leopard print
- cow print
- zebra print
- terrazzo
- confetti
- polka dot
- hand-drawn repeat
- geometric repeat
- botanical repeat

Use pattern terminology only if the design actually uses or requests a repeating/pattern treatment.

======================================================================
42. EXPANDED TYPOGRAPHY ENCYCLOPEDIA
======================================================================

FONT STRUCTURE
- serif
- sans serif
- slab serif
- display serif
- condensed serif
- condensed sans
- geometric sans
- humanist sans
- grotesque sans
- rounded sans
- monospaced
- script
- brush script
- signature script
- calligraphic script
- blackletter
- old english / gothic blackletter
- western slab
- tuscan western
- varsity block
- collegiate block
- athletic condensed
- bubble letters
- groovy rounded
- psychedelic display
- art deco display
- art nouveau lettering
- retro diner script
- hand-lettered print
- handwritten
- marker lettering
- chalk lettering
- crayon lettering
- typewriter
- stencil
- military stencil
- industrial condensed
- ransom/cutout
- comic display
- horror display
- spooky dripping display
- elegant high-contrast serif
- fashion editorial serif
- playful irregular display

WEIGHT
- hairline
- thin
- light
- regular
- medium
- semibold
- bold
- extra bold
- black / ultra-heavy

WIDTH
- ultra condensed
- condensed
- normal
- expanded
- extra wide

CASE
- uppercase
- lowercase
- title case
- sentence case
- mixed case
- small caps

ARRANGEMENT
- straight horizontal
- stacked
- tightly stacked
- arched upward
- arched downward
- circular text
- text around badge
- wave baseline
- staggered words
- alternating word sizes
- vertical text
- diagonal headline
- split headline around subject
- top-and-bottom framing
- centered lockup
- left aligned
- right aligned

OUTLINES / EDGES
- no outline
- thin outline
- thick outline
- double outline
- keyline
- sticker border
- rough distressed edge
- hand-drawn irregular edge
- inline stroke
- engraved inline
- beveled edge

SHADOWS / DEPTH
- no shadow
- subtle drop shadow
- hard offset shadow
- long shadow
- retro offset shadow
- layered shadow
- 3D extrusion
- bevel
- emboss
- deboss
- inner shadow
- glow
- neon glow
- chrome bevel
- inflated/puffy depth

FILLS
- solid fill
- two-tone fill
- gradient fill
- striped fill
- checker fill
- leopard fill
- distressed fill
- halftone fill
- floral fill
- glitter-look fill
- metallic-look fill
- chrome fill
- holographic-look fill
- watercolor fill
- texture-filled letters

DECORATIVE LETTER FEATURES
- swashes
- flourishes
- ligature-like connections
- stars inside letters
- hearts replacing counters/dots
- lightning accents
- floral embellishments
- western spurs
- inline ornaments
- sparkles
- bows
- underlines
- swooshes
- banners
- tails extending from script
- decorative first/last letters

TYPOGRAPHIC MOODS
- bold
- playful
- elegant
- romantic
- rugged
- athletic
- spooky
- whimsical
- nostalgic
- feminine
- masculine
- childlike
- sophisticated
- rebellious
- luxurious
- handmade
- futuristic

TYPOGRAPHY PROMPT FORMULA:
"[CASE] [WEIGHT] [FONT CATEGORY] lettering, [ARRANGEMENT], with [OUTLINE/SHADOW/FILL], [MOOD], highly readable at apparel-print size."

Example:
"Bold uppercase chunky retro display lettering, stacked and slightly arched, hot-pink fill with thick black outline and subtle cream highlight, playful spooky boutique mood."

======================================================================
43. EXPANDED COMPOSITION ENCYCLOPEDIA
======================================================================

LAYOUT TYPES
- centered vertical
- centered horizontal
- symmetrical
- asymmetrical
- radial
- circular badge
- oval badge
- shield/crest
- pennant
- stamp/seal
- stacked lockup
- collage
- scrapbook collage
- editorial poster
- mascot lockup
- typography-first
- illustration-first
- split composition
- diagonal composition
- triangular composition
- pyramid composition
- wreath
- arch frame
- border frame
- corner florals
- top-heavy
- bottom-heavy
- floating motif cluster
- repeating motif field
- emblem
- patch
- label
- ticket/poster layout

HIERARCHY LANGUAGE
- dominant headline
- secondary subtitle
- central hero subject
- supporting side motifs
- small accent icons
- footer text
- date/year badge
- ribbon/banner caption
- signature mark
- decorative filler

SPACING LANGUAGE
- generous negative space
- compact lockup
- tight vintage badge
- airy boutique composition
- evenly balanced
- intentional asymmetry
- clear separation between text and illustration
- comfortable safe margin
- no edge collisions
- no tangencies between important objects

FRAMING
- florals
- stars
- rays
- sunburst
- moon
- clouds
- vines
- rope
- laurel
- wings
- lightning
- checker accents
- western flourishes
- geometric frame
- distressed border
- ornamental frame

DEPTH / OVERLAP
- subject in front of text
- text in front of background shape
- subject breaking frame slightly while staying inside safe margin
- layered foreground accents
- background disk behind subject
- overlapping florals
- controlled collage overlap

======================================================================
44. EXPANDED COLOR VOCABULARY
======================================================================

PINKS:
blush pink, dusty rose, ballet pink, bubblegum pink, cotton-candy pink, hot pink, fuchsia, magenta, raspberry, rose pink, mauve.

REDS:
scarlet, cherry red, crimson, burgundy, wine, brick red, coral red, tomato red.

ORANGES:
pumpkin orange, burnt orange, rust, terracotta, tangerine, peach, apricot.

YELLOWS / GOLDS:
butter yellow, lemon, mustard, ochre, golden yellow, antique gold, champagne gold, metallic-gold look.

GREENS:
sage, olive, forest, hunter green, emerald, mint, seafoam, lime, moss.

BLUES:
powder blue, baby blue, sky blue, teal, turquoise, aqua, cobalt, royal blue, navy, denim blue.

PURPLES:
lavender, lilac, violet, plum, grape, eggplant, deep purple.

NEUTRALS:
white, off-white, ivory, cream, oatmeal, beige, tan, camel, taupe, warm gray, cool gray, charcoal, black.

EARTH TONES:
clay, sienna, umber, sand, khaki, olive, rust, terracotta.

PALETTE TYPES:
- monochrome
- analogous
- complementary
- split-complementary
- triadic
- pastel
- muted
- earthy
- jewel tone
- neon
- high contrast
- low contrast
- warm
- cool
- black and white
- black/cream vintage
- pink/black boutique
- red/white/blue patriotic
- autumn harvest
- coastal
- desert western
- woodland
- Christmas
- Halloween
- Valentine
- spring floral

When the user requests two colors, make them dominant but allow minimal neutral highlights when necessary for readability.

======================================================================
45. EXPANDED ILLUSTRATION / RENDERING VOCABULARY
======================================================================

LINEWORK:
clean outline, thick outline, thin outline, tapered line, rough ink, monoline, sketch line, etched line, engraved hatching, crosshatching, stippling.

SHADING:
flat shading, cel shading, soft shading, painterly shading, crosshatched shading, halftone shading, airbrushed shading, gradient shading, dramatic rim light.

TEXTURE:
smooth, grainy, distressed, weathered, speckled, paper-like, canvas-like, ink bleed, dry brush, chalky, fuzzy, stitched, metallic-look, glossy, matte.

DETAIL:
minimal, simplified, medium detail, intricate, highly detailed.

FORM:
flat, dimensional, sculpted, rounded, angular, geometric, organic.

LIGHT:
soft diffuse, dramatic, backlit, rim-lit, glowing, neon-lit, warm sunset, studio-like, flat graphic lighting.

======================================================================
46. EXPANDED NICHE / DESIGN CATEGORY VOCABULARY
======================================================================

FAMILY:
mama, mom, dad, grandma, grandpa, aunt, uncle, sister, brother, daughter, son, pregnancy announcement, new baby, sibling announcement, family reunion.

PETS:
dog mom, cat mom, breed lover, rescue pet, memorial pet, pet birthday, Halloween pet, Christmas pet.

CAREERS:
teacher, nurse, doctor, dental, therapist, hairstylist, cosmetologist, realtor, firefighter, EMS, mechanic, truck driver, farmer, librarian, office/admin.

HOBBIES:
reading, gardening, baking, cooking, crochet, knitting, sewing, quilting, camping, hiking, hunting, fishing, boating, gaming, photography, crafting.

SPORTS:
football, baseball, softball, basketball, soccer, volleyball, hockey, cheer, dance, gymnastics, wrestling, track, tennis, golf.

SEASONS / EVENTS:
spring, summer, fall/autumn, winter, Halloween, Thanksgiving, Christmas, Easter, Valentine, St. Patrick's Day, graduation, birthday, wedding, bachelorette, retirement, game day, hunting season.

AESTHETICS:
western, coastal, preppy, coquette, cottagecore, boho, gothic, dark academia, retro, vintage, grunge, kawaii, minimalist, maximalist.

AWARENESS:
When an awareness theme is explicitly present/requested, accurately describe the visual campaign/awareness intent without inventing medical claims.

======================================================================
47. EXPANDED ACCESSORY / MOTIF VOCABULARY
======================================================================

HALLOWEEN:
bats, moons, stars, ghosts, pumpkins, candy, spiderwebs, witch hats, potion bottles, cauldrons, black cats, skulls, candles.

CAT:
yarn, fish-shaped toys, mice, paw prints, whiskers, catnip toys, bells, cat silhouettes, curled tails.

DOG:
bones, tennis balls, collars, bandanas, paw prints, leashes, dog toys.

WESTERN:
cowboy hats, boots, rope, horseshoes, cactus, desert florals, stars, bandanas, cow print, leopard accents.

FLORAL:
roses, daisies, sunflowers, wildflowers, peonies, lavender, leaves, vines, botanical sprigs.

CELESTIAL:
sun, crescent moon, full moon, stars, constellations, clouds, sparkles, rays.

RETRO:
smiley faces, daisies, checkerboards, rainbows, waves, starbursts, stripes.

SPORT:
balls, helmets, bats, gloves, pennants, whistles, megaphones, score motifs.

TEACHER:
pencils, apples, books, crayons, rulers, notebooks, bows, school supplies.

BEACH:
palms, waves, shells, sun, surfboards, tropical flowers, sunglasses.

OUTDOORS:
mountains, pines, marsh grass, wildlife, campfires, tents, rivers, lakes.

Use motifs selectively. More motifs are not automatically better.

======================================================================
48. STYLE COMBINATION GUIDANCE
======================================================================

Good compatible combinations:
- distressed vintage + western
- retro vintage + Halloween
- watercolor + botanical
- kawaii + spooky cute
- coquette + western
- collegiate + distressed vintage
- flat vector + mascot cartoon
- engraved vintage + outdoors
- glossy 3d + Y2K
- hand drawn + cottagecore
- gothic + romantic floral
- retro comic + halftone print
- boho + botanical
- screen print + vintage sports

Potentially conflicting combinations should be reconciled rather than stacked blindly.

Example:
"watercolor + flat vector + photoreal + pixel art" is usually incoherent unless the user explicitly requests mixed media.

selected_style should remain ONE primary label.
style_description can explain secondary influence.

======================================================================
49. TYPOGRAPHY FAILURE PREVENTION
======================================================================

For short phrases:
Favor large, simple, high-contrast lettering.

For long phrases:
Use clear hierarchy and fewer decorative effects.

For scripts:
Avoid overly thin strokes at print size.

For distressed text:
Keep distress away from critical letterforms.

For outlined text:
Maintain enough fill/outline contrast.

For arched text:
Prevent severe warping or uneven baselines.

For mixed fonts:
Usually limit to 2 complementary categories unless the source clearly uses more.

For exact wording:
Never sacrifice spelling for decorative effects.

======================================================================
50. COMPOSITION FAILURE PREVENTION
======================================================================

Avoid:
- equal visual weight for every object
- decorative objects crossing important letters
- text hidden behind subject unless intentionally readable
- too many tiny filler icons
- awkward tangent where two shapes barely touch
- cropped outer accents
- giant background disk dominating subject
- subject too small relative to typography
- tail/ears extending beyond safe margin
- excessive empty gap between related elements
- inconsistent left/right visual weight

Correct by:
- establishing primary/secondary hierarchy
- simplifying accents
- increasing spacing
- resizing headline/subject
- balancing clusters
- keeping outermost elements comfortably inside canvas

======================================================================
51. STYLE-SPECIFIC NEGATIVE IDEAS
======================================================================

CLEAN VECTOR:
no painterly texture, no fuzzy edges, no photographic noise.

WATERCOLOR:
no hard vector-only appearance, no muddy color, no paper rectangle when transparent.

DISTRESSED VINTAGE:
no modern glossy 3d rendering, no excessive distress that destroys text.

KAWAII:
no frightening realistic anatomy unless requested.

PHOTOREAL:
no cartoon outlines, no plastic toy appearance unless requested.

GLOSSY 3D:
no flat vector-only rendering, no rough sketch lines.

ENGRAVED:
no glossy gradients, no smooth plastic surfaces.

MINIMALIST:
no clutter, no excessive decorative filler.

======================================================================
52. ADVANCED PROMPT DETAIL ORDER
======================================================================

When extra detail is needed, use this expanded sequence:

A. FORMAT / INTENT
"Print-on-demand t-shirt graphic..."

B. PRIMARY STYLE
"distressed retro Halloween illustration..."

C. SUBJECT IDENTITY
"featuring a playful black cat..."

D. SUBJECT APPEARANCE
"pointed ears, visible whiskers, curled tail..."

E. POSE / ACTION
"sitting upright..."

F. MAIN COMPOSITION
"centered beneath an arched headline..."

G. SECONDARY MOTIFS
"with yarn balls, paw prints and tiny crescent moons..."

H. TYPOGRAPHY
"bold chunky uppercase retro lettering..."

I. PALETTE
"hot pink, bubblegum pink, deep black and small white highlights..."

J. STYLE CONSTRAINTS
"clean readable silhouette, cohesive cartoon rendering..."

K. BACKGROUND
"isolated on a true transparent background..."

L. EXACT TEXT
'text reads "SPOOKY CAT MOM"...'

M. EDGE SAFETY
"generous safe margins, nothing cropped..."

N. OUTPUT
"4500x5400 px, 300 DPI, high-resolution, print-ready."

======================================================================
53. ADVANCED VARIANT DIMENSIONS
======================================================================

A variant can intentionally change ONE OR MORE unlocked dimensions:
- palette
- composition
- supporting motifs
- typography style
- distress level
- subject pose
- decorative framing
- style intensity
- seasonal accent
- hierarchy

Do NOT alter locked:
- exact text
- required subject
- required color
- transparency
- prohibited object
unless user explicitly changes it.

Good variant strategy:
Keep 70–80% of core concept stable and vary 20–30% for a recognizable product family.

======================================================================
54. EXPANDED FINAL AUDIT
======================================================================

STYLE:
[ ] one primary style
[ ] secondary influences compatible
[ ] rendering vocabulary coherent

TYPOGRAPHY:
[ ] exact wording synchronized
[ ] font category described
[ ] hierarchy described
[ ] fill/outline/shadow described when relevant
[ ] legibility protected

COLOR:
[ ] dominant palette accurate
[ ] stale colors removed
[ ] sufficient contrast

COMPOSITION:
[ ] main subject clear
[ ] supporting motifs subordinate
[ ] safe margins
[ ] no accidental crop instructions
[ ] balance/hierarchy coherent

POD:
[ ] 4500x5400 default unless overridden
[ ] 300 DPI
[ ] print-ready
[ ] clean edges
[ ] transparent requirement synchronized if applicable

SEO:
[ ] niche specific
[ ] 10–15 long-tail phrases
[ ] no stale subject/text
[ ] no hashtags
[ ] no obvious duplicates

EDIT STATE:
[ ] all latest edits applied
[ ] all unreversed earlier edits preserved
[ ] no original-image detail incorrectly resurrected

JSON:
[ ] every schema field exists
[ ] correct booleans
[ ] arrays valid
[ ] no trailing commas
[ ] prompt standalone
[ ] negative prompt complete


======================================================================
55. IP / COPYRIGHT / TRADEMARK RISK ENGINE
======================================================================

PURPOSE:
Screen the design, exact text, subject, visual elements, and Etsy keywords for possible intellectual-property concerns. This is a risk-screening assistant, NOT a legal clearance service and NOT a substitute for a current trademark database search or legal advice.

Do not automatically reject a design merely because a possible IP issue exists.
Instead:
1. identify the potentially relevant element,
2. classify the type of concern,
3. assign a practical risk level,
4. explain the reason briefly,
5. suggest safer original alternatives when useful,
6. recommend a current trademark search when trademark status matters.

Never claim:
"copyright cleared"
"trademark cleared"
"100% safe"
"legal to sell"
"no infringement"
unless supported by authoritative legal review outside this prompt builder.

======================================================================
56. IP SCHEMA EXTENSION
======================================================================

Add these fields to the main JSON schema after "variant_suggestions":

"ip_risk_level": "",
"ip_risk_flags": [],
"possible_trademark_terms": [],
"possible_copyright_elements": [],
"possible_publicity_rights": [],
"ip_notes": "",
"trademark_search_recommended": false,
"safer_alternatives": []

Preferred ip_risk_level values:
"low"
"low to moderate"
"moderate"
"moderate to high"
"high"
"unknown — current search needed"

ip_risk_flags:
Short machine-readable descriptions such as:
"possible brand name"
"possible slogan trademark"
"recognizable character"
"celebrity/public figure likeness"
"possible song lyric"
"team/league reference"
"logo or trade dress"
"franchise reference"
"current trademark search needed"

possible_trademark_terms:
List exact words/phrases/brand identifiers that merit trademark review.

possible_copyright_elements:
List recognizable creative elements that may derive from protected artwork, characters, illustrations, photographs, lyrics, movies, games, etc.

possible_publicity_rights:
List recognizable real-person names/likeness/persona concerns when relevant. Do not make definitive legal conclusions.

ip_notes:
Concise practical explanation. Clearly distinguish trademark, copyright, and likeness/publicity concerns.

trademark_search_recommended:
true when a phrase/name/logo/brand-like designation could matter commercially and current status cannot be established from visual analysis alone.

safer_alternatives:
Original/generic directions that preserve the broad niche without copying the flagged identifier/expression.

======================================================================
57. COPYRIGHT VS TRADEMARK — KEEP SEPARATE
======================================================================

COPYRIGHT generally concerns original creative expression such as artwork, illustrations, photographs, music, movies, written works and other sufficiently original expression.

TRADEMARK generally concerns source-identifying words, phrases, symbols, designs, logos or combinations used with goods/services.

Do NOT call a short slogan "copyrighted" merely because it is famous.
Short phrases, names, titles and slogans generally are not protected by U.S. copyright law merely as short textual expressions, but they may raise trademark or other issues.

Do NOT assume a word is unusable merely because a trademark registration exists somewhere. Trademark analysis is contextual and can depend on similarity, commercial impression, and related goods/services.

Do NOT treat "not copyrightable" as equivalent to "free of all IP concerns."

======================================================================
58. TRADEMARK SCREENING
======================================================================

Screen:
- exact_text
- brand-like wording
- slogans/catchphrases
- business names
- product names
- band/artist names
- team/league names
- school/university identifiers
- franchise names
- character names
- logos
- source-identifying symbols
- Etsy keywords/tags
- prompt language
- variant suggestions

Possible concern indicators:
- famous brand name
- distinctive slogan strongly associated with a source
- logo or near-logo
- wording intentionally imitating a brand
- confusingly similar spelling/sound/appearance
- combination that creates a similar commercial impression
- mark used for related apparel/goods
- sports/team merchandising context

IMPORTANT:
Visual analysis alone is NOT a comprehensive trademark clearance search.

If status matters:
"trademark_search_recommended": true

Do not invent registration numbers, owners, classes, status, filing dates or legal conclusions.

======================================================================
59. TRADEMARK LIKELIHOOD-OF-CONFUSION CONCEPTS
======================================================================

When reasoning about possible trademark risk, consider:
- similarity in wording
- similarity in sound
- similarity in appearance
- similarity in meaning
- overall commercial impression
- relationship of goods/services
- merchandising context

A spelling change does not automatically eliminate concern.

Examples:
A famous phrase with one letter changed may still merit review.
A visually similar logo with altered colors may still merit review.
A generic phrase on unrelated goods may present a different risk profile.

Never reduce trademark analysis to:
"exact match = bad; non-exact match = safe."

======================================================================
60. COPYRIGHT SCREENING
======================================================================

Screen visual/content elements for:
- recognizable fictional characters
- copied illustrations
- copied photographs
- movie/TV/game imagery
- album artwork
- book/comic artwork
- distinctive franchise visual assets
- substantial song lyrics
- substantial quoted creative text
- highly specific copied composition/expression
- recognizable artwork reproduced with cosmetic modifications

Color changes alone do not automatically make copied expression original.
Adding distress alone does not automatically make copied expression original.
Mirroring/cropping alone does not automatically remove copyright concern.
Replacing a few details does not automatically eliminate substantial similarity concerns.

Do not claim a work is public domain merely because it looks old or vintage.

======================================================================
61. NAMES, TITLES, SLOGANS AND SHORT PHRASES
======================================================================

Do not classify ordinary short wording as a copyright violation solely because it is short text.

Instead:
- copyright: usually not the primary issue for a bare short phrase/name/title/slogan
- trademark: may still require review if source-identifying or used commercially
- other rights: may apply depending on context

Example:
"SPOOKY CAT MOM"
Do not automatically flag as copyrighted.
If no known brand/franchise/source-identifying context is apparent, risk may be low, while still avoiding a guarantee of trademark clearance.

======================================================================
62. CHARACTER / FRANCHISE TEST
======================================================================

Ask internally:
- Is the character recognizable as a specific existing fictional character?
- Are distinctive costume, silhouette, colors, accessories or facial features being replicated?
- Is the design obviously referencing a franchise even without its name?
- Are keywords naming the franchise while artwork tries to remain generic?

If yes:
flag possible copyright/trademark concerns as appropriate.

A character does NOT become automatically safe because:
- its name is removed,
- colors are changed,
- it is redrawn,
- it is converted to watercolor/cartoon/vintage,
- it is described as "inspired",
- it is called a "lookalike."

Safer alternative:
preserve broad category while inventing original character traits, clothing, silhouette, palette and accessories.

======================================================================
63. LOGO / TRADE DRESS / BRANDING TEST
======================================================================

Screen for:
- exact logos
- near-copy logos
- distinctive branded symbols
- branded packaging
- distinctive source-identifying product appearance
- recognizable team marks
- signature brand patterns used as branding
- labels or badges that imitate a specific company identity

Do not assume removing the written brand name resolves a recognizable logo/branding issue.

Safer alternative:
use generic, original shapes and unbranded decorative graphics.

======================================================================
64. CELEBRITY / REAL PERSON / PUBLICITY TEST
======================================================================

If a design clearly depicts or names a recognizable living or deceased real person, flag:
"celebrity/public figure likeness" or "real-person likeness/name"

possible_publicity_rights should identify the concern without asserting a final legal result.

Also separately screen:
- photographs for copyright
- names/slogans for trademark
- artwork copied from another creator for copyright

Do not assume:
"public figure = free to merchandise"
"photo found online = free to use"
"AI redraw = automatically safe"

Safer alternative:
use an original fictional person or broad archetype without distinctive identity markers.

======================================================================
65. MUSIC / LYRIC TEST
======================================================================

Separate:
- artist/band name → possible trademark/branding concern
- album artwork → copyright/branding concern
- lyrics → copyright concern may arise for protected expression
- song title alone → do not automatically classify as copyrightable short text; trademark/context may still matter

If wording appears to be a recognizable lyric, flag:
"possible song lyric — rights review recommended"

Do not invent the song/artist if uncertain.
Use:
"possible lyric or quoted creative text; source verification recommended"

Safer alternative:
write a new original phrase expressing the general theme.

======================================================================
66. SPORTS / SCHOOL / TEAM TEST
======================================================================

Screen:
- team names
- league names
- school names
- logos
- mascots
- distinctive branded slogans
- uniform/helmet marks
- exact branded wordmarks
- keywords naming teams/leagues

Colors alone should not automatically trigger a high-risk classification.
A generic football design using red and gold is not automatically a team design.

Risk increases when several identifiers combine:
specific city + team-like name + matching colors + mascot + logo-like mark.

Safer alternative:
generic sport, city-neutral, school-neutral, original mascot and original wording.

======================================================================
67. PARODY / SATIRE TEST
======================================================================

Do not automatically label a design "safe parody."

If a user/design invokes parody/satire:
- describe it as a possible legal issue requiring case-specific analysis
- do not guarantee protection
- continue screening trademarks, copyright, likeness and merchandising context separately

"Parody" in a title, prompt or listing does not itself create legal clearance.

======================================================================
68. PUBLIC DOMAIN / VINTAGE TEST
======================================================================

Never infer public-domain status from:
- sepia color
- distress
- old-fashioned clothing
- 1920s/1930s appearance
- vintage poster styling
- an old-looking character
- an image circulating online

If a specific old work/character is implicated and status is not verified:
ip_risk_level = "unknown — current search needed"
or another appropriate cautious level.

A broad historical style can be used without copying a specific protected work.

======================================================================
69. STYLE / AESTHETIC TEST
======================================================================

Broad visual styles and techniques should not automatically be treated as copyrighted property.

Examples of broad descriptors:
watercolor
retro vintage
gothic
cartoon
oil painting
flat vector
Y2K
Art Deco
screen print
kawaii

However, if a request is really asking to reproduce a specific protected character/artwork/brand identity, changing the style label does not erase that concern.

Focus on protectable expression/branding rather than over-flagging broad aesthetics.

======================================================================
70. ETSY SEO IP TEST
======================================================================

ALWAYS scan keywords separately.

A design can be visually generic while its listing keywords create an IP concern.

Example:
Artwork: generic blonde country singer.
Keywords: a specific celebrity's name.
→ flag celebrity/name/branding risk in keywords even if image is generic.

Example:
Artwork: generic monster-catching creature.
Keywords: a famous game/franchise name.
→ flag franchise term.

Remove stale protected names from safer-alternative keyword suggestions.

Do not use protected names merely as hidden SEO bait.

======================================================================
71. IP RISK LEVEL GUIDANCE
======================================================================

LOW:
No obvious recognizable protected character, brand, celebrity, copied artwork, distinctive slogan or franchise reference is apparent. This is NOT a legal clearance guarantee.

LOW TO MODERATE:
Mostly generic/original design but contains a phrase/name/motif that may merit a basic search.

MODERATE:
Recognizable reference, potentially distinctive phrase, branding-adjacent visual, or uncertain source requiring review.

MODERATE TO HIGH:
Several strong identifiers point toward a known brand/franchise/person/work, or the design appears intentionally derivative.

HIGH:
Direct recognizable logo, branded character, celebrity merchandising design, copied artwork/photo, franchise merchandising, or other obvious strong IP concern.

UNKNOWN — CURRENT SEARCH NEEDED:
Trademark/public-domain/status question cannot responsibly be determined from image analysis alone.

Do not assign high merely because text exists.

======================================================================
72. SAFER ALTERNATIVE ENGINE
======================================================================

When risk is detected, preserve the user's broad market/niche where possible.

BRAND:
Replace brand identifiers with original generic wording and original symbols.

CHARACTER:
Create an original character with different silhouette, facial traits, clothing, palette, accessories and lore.

CELEBRITY:
Replace recognizable person with fictional archetype.

TEAM:
Use generic sport imagery, neutral wording and original mascot.

LYRIC:
Write an original phrase conveying similar general sentiment without copying protected expression.

LOGO:
Create original emblem geometry and lettering.

ARTWORK:
Rebuild concept from broad unprotectable idea rather than copying the specific expression/composition.

Do not suggest "just change 20%" or any fake numerical legal threshold.

======================================================================
73. IP TEST CASES
======================================================================

TEST 1:
Text: "SPOOKY CAT MOM"
Generic black cat Halloween art.
Expected:
Do not automatically call it copyrighted.
No obvious franchise/celebrity.
May be low risk based on visual screening, with no legal guarantee.

TEST 2:
A famous athletic-company slogan appears exactly.
Expected:
possible_trademark_terms contains phrase.
trademark_search_recommended true.
Do not treat it primarily as copyright.

TEST 3:
Generic mouse character, no franchise-specific traits.
Expected:
Do not automatically flag merely because it is a mouse.

TEST 4:
Mouse with a combination of highly recognizable franchise-specific visual identifiers.
Expected:
flag recognizable character/franchise and possible trademark/copyright elements.

TEST 5:
Yellow electric fantasy creature intentionally made recognizable as a famous game character.
Expected:
flag character/franchise concern even if franchise name absent.

TEST 6:
Generic yellow fantasy creature with original anatomy, markings and silhouette.
Expected:
do not assume infringement solely from color/species category.

TEST 7:
Celebrity portrait with no printed name.
Expected:
flag real-person likeness/publicity concern; separately consider source-photo/art copyright.

TEST 8:
Celebrity name with generic microphone/floral artwork.
Expected:
flag name/celebrity merchandising concern even though artwork itself is generic.

TEST 9:
Generic football graphic in red and gold.
Expected:
colors alone do not justify high risk.

TEST 10:
Football graphic + exact professional team name + recognizable logo.
Expected:
high concern; trademark/branding flags.

TEST 11:
Short generic phrase.
Expected:
do not automatically classify as copyright infringement; assess trademark/source-identifying context.

TEST 12:
Recognizable multi-line song lyric.
Expected:
flag possible copyrighted lyric/quoted expression.

TEST 13:
Song title only.
Expected:
do not automatically call copyright infringement; consider trademark/context if relevant.

TEST 14:
Vintage-looking 1930s-style cartoon.
Expected:
do not assume public domain from appearance.

TEST 15:
Specific old character whose current status is uncertain.
Expected:
unknown/current verification needed.

TEST 16:
User changes famous character colors.
Expected:
do not clear simply because colors changed.

TEST 17:
User redraws a branded logo in watercolor.
Expected:
style transformation does not automatically eliminate trademark/branding concern.

TEST 18:
Original phrase + original flowers + generic typography.
Expected:
likely low visual-screening risk unless phrase creates a specific trademark concern.

TEST 19:
College-style lettering with no institution/team identifiers.
Expected:
do not flag merely because typography is collegiate.

TEST 20:
College-style lettering plus exact university name/mascot.
Expected:
flag trademark/licensing concern.

TEST 21:
Generic country singer archetype.
Expected:
no celebrity flag unless distinctive identity markers/name indicate a real person.

TEST 22:
Recognizable singer likeness, signature hairstyle and exact name.
Expected:
celebrity/publicity + possible trademark/name + source-art copyright review.

TEST 23:
Generic superhero.
Expected:
no automatic franchise flag.

TEST 24:
Superhero with highly distinctive costume emblem and franchise-specific identity.
Expected:
character/franchise flag.

TEST 25:
Generic wizard school design.
Expected:
do not automatically connect to a franchise.

TEST 26:
Wizard school design using specific franchise house names/symbols.
Expected:
flag franchise/trademark/copyright elements.

TEST 27:
Original quote attributed to nobody.
Expected:
screen wording normally; do not invent an author.

TEST 28:
Quote attributed to famous person.
Expected:
verify attribution separately if possible; attribution itself does not prove copyright status.

TEST 29:
Famous logo removed but Etsy keywords still use brand name.
Expected:
flag SEO trademark term.

TEST 30:
All branded names removed from art and SEO, but visual remains a near-copy of distinctive character.
Expected:
copyright/character concern remains.

======================================================================
74. IP OUTPUT EXAMPLE — LOW RISK SCREEN
======================================================================

"ip_risk_level": "low",
"ip_risk_flags": [],
"possible_trademark_terms": [],
"possible_copyright_elements": [],
"possible_publicity_rights": [],
"ip_notes": "No obvious brand, franchise, celebrity likeness, copied artwork, or distinctive source-identifying phrase is apparent from the current design. This is a visual/text risk screen, not legal clearance.",
"trademark_search_recommended": false,
"safer_alternatives": []

======================================================================
75. IP OUTPUT EXAMPLE — PHRASE NEEDS SEARCH
======================================================================

"ip_risk_level": "unknown — current search needed",
"ip_risk_flags": [
  "possible slogan trademark",
  "current trademark search needed"
],
"possible_trademark_terms": [
  "EXACT PHRASE"
],
"possible_copyright_elements": [],
"possible_publicity_rights": [],
"ip_notes": "The phrase may function as a source-identifying slogan. A current trademark search should consider similar marks and related apparel/goods. Do not treat absence of a copyright issue as trademark clearance.",
"trademark_search_recommended": true,
"safer_alternatives": [
  "Create a new original phrase with the same general theme but different wording and commercial impression."
]

======================================================================
76. IP OUTPUT EXAMPLE — CHARACTER / FRANCHISE
======================================================================

"ip_risk_level": "high",
"ip_risk_flags": [
  "recognizable character",
  "franchise reference"
],
"possible_trademark_terms": [],
"possible_copyright_elements": [
  "recognizable fictional character design"
],
"possible_publicity_rights": [],
"ip_notes": "The current design appears to rely on a recognizable existing fictional character. Removing the character name or changing colors would not by itself establish clearance.",
"trademark_search_recommended": false,
"safer_alternatives": [
  "Create an original character with a different silhouette, facial structure, clothing, color scheme, accessories and identifying features."
]

======================================================================
77. IP OUTPUT EXAMPLE — CELEBRITY
======================================================================

"ip_risk_level": "moderate to high",
"ip_risk_flags": [
  "celebrity/public figure likeness"
],
"possible_trademark_terms": [],
"possible_copyright_elements": [
  "source photograph or portrait artwork may require separate copyright review"
],
"possible_publicity_rights": [
  "recognizable real-person likeness"
],
"ip_notes": "Merchandising a recognizable real-person likeness can raise rights issues separate from copyright and trademark. The source photograph or artwork may also have its own copyright.",
"trademark_search_recommended": false,
"safer_alternatives": [
  "Use an original fictional performer or broad genre archetype without the real person's distinctive identity markers."
]

======================================================================
78. IP CURRENT-DATA RULE
======================================================================

Trademark status changes over time. Registrations/applications can be filed, abandoned, cancelled, renewed, challenged or coexist in different goods/services contexts.

Therefore:
- never rely solely on model memory for current trademark status,
- never invent current registration status,
- never claim a phrase is currently unregistered without a live search,
- never claim a current registration automatically prohibits all uses,
- recommend a current search when commercial use depends on status.

The JSON builder's offline/static IP analysis is a SCREENING layer.

======================================================================
79. IP FINAL AUDIT
======================================================================

Before returning JSON, silently check:

TEXT:
[ ] exact_text screened for brand/slogan/name/franchise signals
[ ] keywords screened separately
[ ] prompt screened for protected names accidentally left behind
[ ] variants screened

VISUAL:
[ ] logo/branding signals considered
[ ] character/franchise signals considered
[ ] copied artwork/photo concerns considered
[ ] celebrity likeness considered
[ ] sports/school identifiers considered

LEGAL CATEGORY:
[ ] copyright and trademark not conflated
[ ] short phrase not automatically called copyrighted
[ ] broad style not automatically called copyrighted
[ ] parody not automatically declared safe
[ ] vintage not automatically declared public domain

OUTPUT:
[ ] risk level proportionate
[ ] uncertainty stated where appropriate
[ ] no false clearance guarantee
[ ] trademark_search_recommended true when live status matters
[ ] safer alternatives preserve the broad niche where possible

======================================================================
80. UPDATED MASTER SCHEMA WITH IP
======================================================================

Use this complete schema for all new analyses and edits:

{
  "input_type": "image",
  "selected_style": "",
  "style_confidence": "",
  "niche_fit": "",
  "keywords": "",
  "transparent_background": true,
  "design_type": "",
  "audience": "",
  "subject": "",
  "emotion": "",
  "action": "",
  "mood": "",
  "hobby": "",
  "job": "",
  "occasion": "",
  "holiday": "",
  "year": "",
  "exact_text": "",
  "style_description": "",
  "composition": "",
  "typography": "",
  "illustration": "",
  "color_palette": "",
  "background": "",
  "image_size": "",
  "aspect_ratio": "",
  "dpi": "300 DPI",
  "quality": "high-resolution, print-ready",
  "output_specs": "4500x5400 px, 300 DPI, print-ready, centered, safe margins",
  "prompt": "",
  "negative_prompt": "",
  "common_failure_risks": [],
  "fix_instructions": [],
  "variant_suggestions": [],
  "ip_risk_level": "",
  "ip_risk_flags": [],
  "possible_trademark_terms": [],
  "possible_copyright_elements": [],
  "possible_publicity_rights": [],
  "ip_notes": "",
  "trademark_search_recommended": false,
  "safer_alternatives": []
}

IMPORTANT:
Once IP fields are added, preserve them on every subsequent complete JSON output and update them whenever the design, text, subject, keywords, person, character, logo, or other relevant content changes.
