Albert Imagebook 标志

Albert Imagebook

社区
AlbertAZ1992
albert-imagebook

Transform photos into illustrations, stickers, paper cutouts and pixel art with reusable style directions, open space and exact-size exports. Use for photo-to-art, 照片转插画, 照片贴纸, named Imagebook styles, or original-and-art comparisons.

概览

发布者AlbertAZ1992
代码仓库albert-imagebook
技能名称albert-imagebook
星标数
7
复刻数
0
附带文件
223
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 223 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 AlbertAZ1992 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Albert Imagebook AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/AlbertAZ1992/albert-imagebook/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlbertAZ1992/albert-imagebook.git \
  .claude/skills/albert-imagebook
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Albert Imagebook,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Albert Imagebook。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Albert Imagebook 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Albert’s Imagebook

One installable Skill, one shared image workflow, and 24 photo-to-art styles. Resolve package paths relative to this file, including when installed outside the repository.

Select the source and style

Inspect the user's attached photo or explicit local file. For a directory, inventory image files, exclude hidden files and generated output, and avoid following symlinks outside that directory. Process each original independently; do not apply successive styles to previously generated art.

Discover styles from styles/*/prompt.md. Titles, descriptions, keywords and aliases identify both Chinese and English names. The directory name is the stable style ID. A new prompt file is immediately usable; no catalog or extra Skill installation is required.

Use a named style directly. If asked to recommend, offer a few source-specific choices; if asked to choose and generate, choose and proceed. Some newer styles currently have one beach study rather than several source examples, but they are selected and run through the same prompt-file workflow. For an unfamiliar style with a supplied visual reference, derive its material and composition from that reference. Clarify only when neither the name nor the reference establishes a usable direction. Sample artworks are for browsing, not image references unless requested.

Read the selected prompt completely. For established styles, pass everything after ## Prompt to the image model unchanged. Follow it with one delivery block and any explicit user requirements. The style prompt owns interpretation, palette, material, mark-making and optional typography. Do not add a second art direction, motif quota, color plan, caption package or copied sample composition.

Resolve delivery

Default: one design-only portrait, 1080×1440, no new text. Keep visual content below a 65% ceiling within the artwork canvas; generally aim around 45–55% or less. Judge the overall scene footprint, including spaces inside the subject group, not just pigment-colored pixels. Keep its overall width and height comfortably within the paper. A sparse style should stay much sparser, never expand to meet a target. These are composition instructions, not guaranteed pixel measurements or an inset rectangle. In comparisons this applies only to the artwork half; the original photo continues to fill its own half. Default to an optically centered, stable composition with balanced space on opposing sides; handmade marks may be uneven without making the whole scene tilted or displaced. The style determines subject selection, scale and how marks meet the surrounding paper. State omitted defaults briefly and proceed when source and style are clear. Explicit choices win. Ask only about material ambiguity, such as missing exact wording or conflicting instructions.

Preset IDChinese nameAspectFinal PNG size
portrait竖版3:41080×1440
feed信息流4:51080×1350
square方形1:11080×1080
story全屏竖版9:161080×1920
landscape横版16:91920×1080

These are product export presets, not claims about platform upload limits. Custom sizes and source aspect are allowed. Resolve aspect-only requests to integer pixels before generation. For automatic sizing, choose a preset appropriate to the photo and intended use.

  • design-only / 只要作品: one full artwork, original used as reference only. Photo Play retains photographic subjects as part of its mixed-media artwork.
  • top-bottom / 上下对照: original above, artwork below, exactly 50:50.
  • left-right / 左右对照: original left, artwork right, exactly 50:50.
  • wallpaper-pack / 壁纸套装: separate phone, tablet, desktop and watch artworks at resolved device sizes. For a coherent set, use its first artwork alongside the source for later images; otherwise generate each independently. Each output uses design-only export.

Text can be absent, supplied verbatim, or generated according to the style in a specified language. No new text means no added lettering, captions, signatures, watermarks or pseudo-text. On generated painted or modeled objects, omit source lettering under no-new-text delivery. Existing markings on an original-photo panel or retained photographic subject stay unless removal is requested. For generated copy, names, dates and documentary facts must be supplied or established by the source. Exact supplied wording overrides optional text in a style prompt.

Count source/style/layout/size combinations before a batch. Each chosen wallpaper device is one output; do not also multiply it by ordinary social presets. Use one fresh image call per artwork.

Generate the complete artwork

Run the export plan before generation. It resolves the final canvas and each comparison panel. Generate the complete artwork, including its paper/background and breathing space, at the panel aspect using the closest supported dimensions. A portrait top-bottom comparison uses a 3:2 artwork; a landscape left-right comparison uses an 8:9 artwork.

Append this delivery block to the complete style prompt:

text
DELIVERY FOR THIS IMAGE
Source: attached original photo, reference for its subject and relationships.
Canvas: <panel aspect and tool-supported pixels>.
Layout: one complete standalone artwork, no original-photo panel or comparison.
Composition: the overall scene footprint must occupy no more than about 65% of this canvas.
Aim around 45–55% or less, allowing substantially more open paper for a sparse style.
Include the gaps inside the subject group when judging its overall extent; sparse pigment
alone does not make a nearly edge-to-edge scene small. Keep the group optically centered,
with balanced opposing margins and a stable, level composition unless requested otherwise.
The ceiling is not a fill target. Let open paper flow between forms as well as around them;
do not recreate the whole photographic background just to occupy the available area.
Make the scene readable through the style's chosen subjects and relationships.
Compose an organic balance rather than a measured rectangle or uniform border. Generate the surrounding
paper/background as part of the same artwork. Preserve the style's natural edge treatment:
broken marks, exposed paper, dragged pigment, or soft fading where appropriate to its medium.
Let peripheral marks become sparse and give way to the background before reaching the canvas
edges; keep the focal subject intact. Avoid straight rectangular scene cutoffs and a picture
pasted onto a mat. The export script will preserve this complete composition without adding margins.
Text: <no new text; exact supplied wording; or style-led wording in specified language>.
Keep the selected style's material, color logic and subject interpretation.

Keep open ground within and around the artwork, using edges appropriate to its medium. Paint and ink may disperse or break; stickers need a clean die-cut rim, cardstock needs cut edges and shallow shadows, pixels need crisp steps, and line art needs deliberate open contours. Do not add painterly fading to these graphic forms. A requested letter mask or arch is an intentional design boundary, not an accidental rectangular crop. For enamel or photographic subjects, keep the object or person intact and apply this transition to the surrounding marks and environmental fragments. The style files describe what to draw and how, including negative space and material-specific edges. Preserve these instructions. The shared workflow sets delivery size, overall breathing room and photo-and-art placement; it must not override the style's brushwork with full-bleed fill. Do not impose generic blur or feathering on every style: paint, wax, stamps and enamel have different edge behavior. An explicit full-bleed or close-crop request overrides default spacing.

Use the available image-generation/editing tool, preferring the host's built-in tool and following its actual schema. The model draws the complete composition; the script controls export size and comparison assembly. Never repaint the original half with AI. Different aspects are independently composed; do not stretch or crop the artwork to fit. If no image tool is available, explain what is needed rather than returning a prompt as an image.

Export and deliver

Use scripts/compose.mjs for exact dimensions and 50:50 splits. It resizes the complete generated artwork to its panel, preserving the existing paper, negative space and natural painted edges. It adds no mat, border, background replacement or feather mask. It requires Node 22+ and ImageMagick 7 (magick). Run it from the installed Skill path:

bash
node <skill-dir>/scripts/compose.mjs --plan --layout top-bottom --preset portrait
node <skill-dir>/scripts/compose.mjs --source photo.jpg --art generated.png \
  --layout top-bottom --preset portrait --out comparison.png
node <skill-dir>/scripts/compose.mjs --art portrait-artwork.png \
  --preset portrait --out artwork.png

Use --size WIDTHxHEIGHT instead of --preset for custom dimensions; the split axis must be even. Custom spacing or full bleed belongs in the generation request, not an export-area percentage. --background accepts a six-digit hex color for unused space in the original-photo panel only; the default is warm white (#f6f3ed). It does not change the generated artwork's background. The script refuses larger artwork aspect mismatches, tolerates at most two pixels of rounding, and never overwrites existing outputs. CLI help has all options.

Photo placement defaults to --photo-fit cover: fill the original-photo half edge to edge, without padding or separator strips. Preserve its aspect and crop only the excess. Inspect the crop before delivery, especially people near the edges. --photo-gravity defaults to center; choose west/east/north/south or a corner when needed to retain the important subjects. For example, --photo-gravity west keeps a subject near the left edge in a wide source photo. Mention any meaningful crop. Never stretch or AI-repaint the original to fill its half. Use --photo-fit contain only when the user explicitly wants the entire original with padding. If the user requires both no crop and no padding, plan panels at the source aspect and generate the artwork at that aspect. A fixed incompatible canvas, exact 50:50 split, no crop and no padding cannot all be satisfied together; explain that conflict rather than silently adding white bars. No divider or labels are added by default. In comparisons, the generated breathing space belongs to the artwork half; the original-photo half uses its existing contain/cover placement. Keep the raw generated image and export a standalone artwork too. Always give the complete generated artwork, including its natural background, to --art. Do not crop it down to the painted subject, remove its background, or supply a previously assembled comparison. For a standalone version of a comparison artwork, export the raw file at the panel size in design-only mode.

Inspect the actual artwork for style, source recognition, comfortable spacing and requested text. Judge the artwork half by itself and in the finished comparison: does one relationship read first, is there meaningful open paper between forms, and has the background become an almost solid painted sheet? Check the overall footprint as well as the pigment: even thin marks can span almost the whole page. Check optical centering and stable orientation. If the group feels too large, displaced or above the 65% ceiling, correct its scale and position with the image tool. Do not repair it with a smaller rectangular inset. Pixel-based paper estimates are optional rough diagnostics; pale paint and paper texture can confuse them. A passing estimate alone does not establish a comfortable composition. For comparisons, inspect the top/outer edges and the seam for compositor-added padding. Under the default cover placement, the photograph must reach all four edges of its half; do not mistake letterbox bars for the generated artwork's intentional paper. Verify focal subjects survive the crop. Check that the painted region meets the background naturally rather than ending at a rectangular inset. If it was generated full bleed by mistake, regenerate with the corrected composition; shrinking it onto a blank canvas or blurring its rectangular boundary does not repair the artwork. For ordinary delivery, correct a visible missed requirement with one focused retry; report a remaining limitation plainly. For an explicitly requested creative first-pass comparison, generate one sample per direction and record visible limitations without automatically polishing every sample. Confirm the actual final dimensions. If an exact aspect/export is unavailable, explain the limitation instead of claiming a preset or exact split was delivered.

Save to the requested destination or a fresh output/albert-imagebook/<job>/ in the user's working directory. Copy tool-managed results there and preserve originals and earlier outputs. Name files by source, style and layout; return the actual images and usable paths. Account for missing batch outputs in the conversation, without adding failure logs to the public galleries.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 140 个文件。

常见问题

Albert Imagebook AI 技能有什么作用?

Transform photos into illustrations, stickers, paper cutouts and pixel art with reusable style directions, open space and exact-size exports. Use for photo-to-art, 照片转插画, 照片贴纸, named Imagebook styles, or original-and-art comparisons.

为什么在 TypingMind 中使用 Albert Imagebook?

因为您只需安装一次,就能搭配任何模型使用。Albert Imagebook 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Albert Imagebook?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/AlbertAZ1992/albert-imagebook/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Albert Imagebook?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Albert Imagebook 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Albert Imagebook 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Albert Imagebook AI 技能免费吗?

是的。AlbertAZ1992 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇