Logo Editorial Illustration Generator

Editorial Illustration Generator

Cộng đồng
liuzihe849-png
editorial-illustration-generator

Transform any user-uploaded photo into a vintage editorial print illustration—not a photo filter. Use for food, beverage, landscape, architecture, portrait, or product images that need Japanese archive print, mid-century graphic, risograph, specimen-sheet, or handmade editorial-art direction while preserving source aspect ratio, composition, and subject relationships.

Add to TypingMind

Tổng quan

Nhà phát hànhliuzihe849-png
Kho mãai-editorial-print-studio
Tên kỹ năngeditorial-illustration-generator
Sao
57
Bản fork
3
Tệp đi kèm
26
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 26 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được liuzihe849-png công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Editorial Illustration Generator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/liuzihe849-png/ai-editorial-print-studio/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liuzihe849-png/ai-editorial-print-studio.git \
  .claude/skills/editorial-illustration-generator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Editorial Illustration Generator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Editorial Illustration Generator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Editorial Illustration Generator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

AI Editorial Illustration Generator

Run this as a multi-stage generation system, not as a single filter prompt:

text
Uploaded photo → image analysis → class router → editorial prompt plan → image generation → geometry + visual quality gate → delivery

Use the built-in image_gen edit workflow for generation. Use the scripts in scripts/ to record source geometry, build reproducible prompts, and check the measurable delivery constraints.

Phase 1: Prompt Engine

For the current Phase 1 deliverable, load exactly one prompt module after the image type and analysis result are supplied:

Image typePrompt module
Food or beverageprompts/food.md
Landscape or architectureprompts/landscape.md
Portraitprompts/portrait.md
Productprompts/product.md

Fill every {{placeholder}} from the image-analysis result. Output the populated Complete generation prompt followed by its six labeled controls: style, composition, subject ratio, negative prompt, texture, and typography. Do not call an image API or run quality checks as part of Phase 1.

For food, coffee, and every beverage, prompts/food.md is the canonical fixed core. Fill its image-specific placeholders only; do not layer conflicting scale rules, ingredient-detail quotas, or decoration templates on top of it.

Phase 2: Image Analyzer

For the current Phase 2 deliverable, analyze the uploaded source image and output only the JSON defined in references/image-analysis-schema.json.

  1. Obtain source geometry and a dominant-colour hint:

    bash
    python scripts/extract_image_metadata.py <image>
  2. Inspect the actual image with vision. Load prompts/image-analysis.md, follow its classification rules, and emit its exact JSON shape. Do not guess from the filename or use dominant-colour hints to determine the class.

  3. Validate the JSON before handing it to Phase 1:

    bash
    python scripts/validate_image_analysis.py <analysis.json>

The Phase 2 output contains exactly: type, subject_position, subject_ratio, background_type, colors, has_people, has_text, and elements. Do not generate an illustration, compile an editorial prompt, or run output quality checks as part of Phase 2.

Phase 3: Composition Controller

For the current Phase 3 deliverable, pass a validated Phase 2 JSON file to the controller:

bash
python scripts/build_composition_controls.py <analysis.json>

The resulting prompt_fragment is appended to the Phase 1 prompt only in a later orchestration phase; this phase outputs control JSON and does not generate an image.

  • If food, beverage, product, or portrait exceeds its maximum subject ratio, emit scale subject down with its class target and preserve generous negative space.
  • Food, coffee, and beverage always use the canonical 35–45% illustration / 55–65% uninterrupted-paper formulation in prompts/food.md; do not add competing scale language.
  • Simplify each image without losing its recognisable atmosphere, composition, subject relationships, and key visual identity. Do not turn this into an over-specified rendering recipe: observation should inform the result, not overwrite the class prompt's art direction.
  • Every class must keep the complete study inside its coverage limit, with visibly distributed paper around it—not a close-up with white margin only on one side.
  • Landscape and architecture always include organic irregular silhouette and natural border breaking, plus a no-rectangle constraint. Keep generous, asymmetrical paper space and let scene-led edges extend or dissolve naturally.
  • Preserve subject identity and source relationships in every branch. Read references/composition-controller-rules.json for the exact target/max values.

Phase 4: Visual Reviewer

After a future image-generation step produces an output, compare the source image and generated image with prompts/visual-review.md. The reviewer emits only the JSON defined in references/visual-review-schema.json, covering:

  1. rectangular-photo failure;
  2. oversized-subject failure;
  3. insufficient-negative-space failure;
  4. source-composition preservation;
  5. template-like decoration failure;
  6. decoration is source-linked rather than template-like;
  7. editorial print-texture presence;
  8. overly realistic rendering failure;
  9. overly abstract / unrecognisable-subject failure;
  10. excessive-detail-density failure;
  11. constrained-edge failure.
  12. portrait skin-tone drift / paper-bleaching failure.
  13. excessive detail-loss / over-minimalisation failure.

Validate the review first:

bash
python scripts/validate_visual_review.py <review.json>

If pass is false, automatically build the targeted revised prompt:

bash
python scripts/build_regeneration_prompt.py <base-prompt.txt> <review.json>

Use the output prompt for the next generation attempt. Do not regenerate a prompt when pass is true. This Phase 4 module controls review and corrective prompt construction; it does not itself call an image API.

System architecture

ModuleResponsibilityResource
Image AnalyzerInspect the upload, preserve its dimensions/orientation, and describe visible subjectsscripts/inspect_image.py + visual inspection
Class RouterSelect exactly one: food, beverage, landscape, architecture, portrait, productthis file + references/visual-rules.json
Art DirectorChoose class-specific scale, composition, scene-linked ornaments, palette, print texture, and archive typographyscripts/build_editorial_prompt.py
Image GeneratorEdit the upload with the generated prompt; preserve identified invariantsbuilt-in image_gen
Quality GateCheck delivered geometry automatically and inspect artistic constraints visuallyscripts/validate_editorial_output.py

Mandatory workflow

  1. Require a user-uploaded image. If it is only on disk, inspect it with view_image before using image generation.

  2. Record its geometry:

    bash
    python scripts/inspect_image.py <image>
  3. Visually inspect the image. Classify it using the dominant subject, not a filename. Keep the class explicit in the handoff: food, beverage, landscape, architecture, portrait, or product.

  4. Write short observations of only visible content: e.g. mountain, forest, water or bottle, citrus, ice. These observations determine decorations; never add a generic circle/square/line motif set.

  5. Build the prompt plan:

    bash
    python scripts/build_editorial_prompt.py <image> \
      --photo-class landscape \
      --observations "mountain, forest, water" \
      --archive-number "NO. 017" \
      --title "Mountain Water Study" \
      --json
  6. Generate using the upload as the edit target and the prompt field from the plan. State these invariants again in every correction: same aspect ratio/orientation; source identity and composition preserved; no forced 1:1 crop.

  7. After generation, run the geometry gate:

    bash
    python scripts/validate_editorial_output.py <source> <output> --photo-class landscape
  8. Read the report and visually complete each listed manual gate. Regenerate when any hard constraint fails. Do not deliver a square conversion, a pasted rectangular photo, an oversized subject, or a glossy digital rendering.

Class routing rules

Read references/visual-rules.json before building a prompt. Apply its full class rule plus the shared visual system.

ClassHard composition rule
Food / coffee / beveragePreserve food/drink and container relationships. Complete visual group: 35–45% of canvas; leave 55–65% as uninterrupted off-white textured paper. Follow prompts/food.md as the canonical prompt.
ProductPreserve silhouette, materials, structural/label details. Complete product: 30–40% of canvas.
Landscape / architecturePreserve source ratio; let the illustrated scene occupy roughly 35–50% and off-white paper 50–65%. Never frame it as a rectangle or make it full bleed. Use an organic irregular silhouette with scene-led extensions/dissolution.
PortraitPreserve identity, body structure, pose, clothing relationships, and framing. Person: 40–45% of canvas.

Shared artistic direction

  • Transform the photo into a living printed work: vintage editorial illustration, Japanese archive print, mid-century modern graphic, handmade risograph, and museum specimen sheet.
  • For food, coffee, and beverage, prompts/food.md takes precedence whenever it differs from shared artistic direction. Its sparse abstract graphic elements may use thin lines, circles, dots, rectangles, subtle curves, or small marks; do not force scene-linked ornament rules that conflict with that core.
  • Before generating, read references/deconstructed-editorial-direction.md and references/observational-editorial-balance.md and apply them to every type. Use an observational editorial middle ground: irregular colour blocks, curves, organic contours, rough ink, uneven pigment, paper grain, dry-brush marks, slight print misregistration, deliberate omissions, plus a selected layer of recognisable structural/material detail. Make the printing process visible through broad brayer sweeps, imperfect overlaps, local ink skips, softened dry-brush ends, and a small offset of one colour layer. Do not merely add paper texture over an otherwise realistic rendering, and do not reduce the source to anonymous flat icons or ultra-minimal poster shapes.
  • Use the restrained palette from visual-rules.json; retain the source's colour relationships. For portraits, preserve the source subject's relative skin-tone family and facial-plane contrast in simplified printed pigment; off-white paper is a background field only and must not bleach, wash out, or replace visible skin.
  • Add only scene-linked visual language: mountains use topographic marks, forest botanical patterns, water ripple lines, city architecture lines, and equivalent source-specific details for other classes. Use only 2–5 quiet companion marks derived from visible source elements and the source palette, never a reusable decoration template. Small bars, dots, and short lines are valid only when sampled from source colour and geometry.
  • Do not reproduce source surfaces literally. Simplify them into irregular colour fields, loose brush forms, layered blocks, and organic contours while preserving atmosphere, spatial depth, and the most recognisable relationships. Use rough ink, uneven pigment, paper grain, dry-brush marks, slight print misregistration, and handmade printing imperfections. Never scatter tiny disconnected colour chips, peppered white holes, or uniform AI-noise texture across the whole study.
  • Add subordinate archive typography: upper-right NO. XXX; lower-left date and a short English title. Use user-supplied text verbatim. When no copy is supplied, the builder creates a source-grounded poetic archive title from visible cues (for example, The Roofs Remember for roof + cloud), never a generic XXX Study. Keep it evocative but restrained; never invent place names, brands, products, people, or factual metadata.
  • Avoid photorealism, detailed rendering, realistic food or surface textures, shiny/glossy surfaces, smooth digital gradients, 3D, clean-vector polish, cartoon outlines, excessive decorative elements, neon, and high-saturation digital colour.

Delivery record

Report: source dimensions and ratio; selected class; target subject/open-space rule; observed scene-linked decorators; output dimensions and ratio check; completed visual quality gates. Save the selected final image in the project when the request is project-bound.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Editorial Illustration Generator làm được gì?

Transform any user-uploaded photo into a vintage editorial print illustration—not a photo filter. Use for food, beverage, landscape, architecture, portrait, or product images that need Japanese archive print, mid-century graphic, risograph, specimen-sheet, or handmade editorial-art direction while preserving source aspect ratio, composition, and subject relationships.

Vì sao nên dùng Editorial Illustration Generator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Editorial Illustration Generator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Editorial Illustration Generator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/liuzihe849-png/ai-editorial-print-studio/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Editorial Illustration Generator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Editorial Illustration Generator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Editorial Illustration Generator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Editorial Illustration Generator có miễn phí không?

Có. Kỹ năng này được liuzihe849-png phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇