技能图谱SKILLSGROVE
技能图谱/设计与图像/LazyAGI/LazyMind/landscape-art-postcard

landscape-art-postcard

安装

$npx skills add https://github.com/LazyAGI/LazyMind --skill landscape-art-postcard
$git clone --depth 1 https://github.com/LazyAGI/LazyMind.git /tmp/LazyMind && mkdir -p ~/.claude/skills && cp -r /tmp/LazyMind/skills/patches/landscape-art-postcard/adapt-lazymind-image-tools-v1/files ~/.claude/skills/landscape-art-postcard
请帮我安装这个 Agent Skill:https://github.com/LazyAGI/LazyMind/tree/2c37e3d8622c608d0fa00bec857ca6f7b46ed805/skills/patches/landscape-art-postcard/adapt-lazymind-image-tools-v1/files ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · Apache-2.0将风景照片转成水墨、纸感版画或超现实平涂作品,可自由组合纯画、撕口融合、原图+画三种构图,并选择独立画作或带文字与符号的明信片。支持横竖版、文字密度调整及多图同款制作。用于风景转绘、旅行纪念卡和同景多风格对比。
以下 SKILL.md 内容转载自 LazyAGI/LazyMind(提交 2c37e3d),依据 Apache-2.0 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 owner or entity authorized by 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

风景水墨画-明信片生成

先确定用途、构图、画风,再合成一条无冲突的本图提示词。默认保留已经认可的淡彩水墨:原配色、低对比柔光、简约块面、淡墨柔边、象牙白留白。调用标识为 landscape-art-postcard,用途、构图与画风可以自由组合。

精选案例直接试用

进入“试一试”时,启动提示词中的案例预设已经是完整方案,用途、构图、画风、横竖比例、文字与符号都直接沿用;其优先级高于本技能的通用默认。用户只需上传照片,不再询问这些选项,也不发送方案确认。只有用户主动提出改动才覆盖相应预设;未选择案例的普通创作仍可自由组合。

本轮未附图时先复用本对话已上传照片;确实没有内容图时只提示上传一张风景照片,不索取方向、文案等偏好。明信片文案按照片自行拟定,超现实巨物按照片自行选择。单图直接在当前任务调用 image_editor,不要为一张图创建子任务或要求先确认输出槽位。

三个独立选择

选择 值 控制的内容 默认
用途 purpose artwork 画作/postcard 明信片 图文层级、文字与符号的默认密度 画作
构图 layout pure 纯画/torn 撕口融合/photo-art 原图+画 是否保留摄影,以及摄影和插画如何组织 纯画
画风 style ink 淡彩水墨/print 纸感版画/surreal 超现实平涂 插画区域的笔触、色块、材质与造型 淡彩水墨

用途不决定摄影是否出现,构图不决定文字多少,画风不固定画幅或禁止文字。例如,水墨可以用撕口构图,超现实也可以做带英文的明信片。允许用户只说自然语言,不要求填写参数表。

可另外指定文字密度 text(none/minimal/postcard/rich)、符号密度 symbols(none/light/rich)、方向、比例、文案和主次画风。画作默认无字无装饰符号;明信片默认标题+描述+小编号与少量分隔符。明确的“加一句话”“不要任何字”等覆盖用途默认值。

如何选择

  • 只说“水墨画”:画作+纯画+水墨。只说“明信片”:明信片+纯画+水墨。
  • “撕口水墨明信片”:只改构图为撕口,用途仍为明信片,插画仍为水墨;不能额外套入版画风。
  • “原图+画”:采用独立摄影区和插画区,不自动变成撕口;摄影区保持实景,画风只作用于插画区。
  • “超现实”:插画采用平涂和一个同源巨物;是否保留摄影、加字、横竖版仍由其余选项决定。
  • 历史 ink 模式按“水墨画”理解;postcard 模式按“明信片”理解。明确指定的构图或画风覆盖默认项。both 或“画作与明信片各一张”表示每图两种用途,不是新画风。
  • 用户明确要求混合画风时,确定一个主画风及一个局部辅效果,例如“水墨为主,撕口附近少量网点”。不要把三种画风的全部规则叠加。无法同时满足的明确要求才需简短澄清。

执行

  1. 查看原图。 使用当前上传或明确指定的内容图。图片已在当前请求中可见时直接判断;否则用 vision_extractor(url=图片引用, instruction=本次需要辨认的景观信息) 查看,使用附件提供的引用,不猜测文件名。提示词截图不是景观输入。识别叙事焦点、核心地形与地标、位置关系、斜向视角及原配色;只写可见内容,剔除明确拍摄反光。没有内容图时补充输入;只要提示词或打包技能时不擅自生成图片。
  2. 确定本图方案。 用用户的明确选项覆盖默认值,记录用途、构图、画风、文字/符号密度、最终画幅。缺省项直接采用默认,不逐项追问。多图保持用户要求的统一项,各自提炼景物;未要求统一方向时按每张原图判断。
  3. 按需读取模块。 读取 公共提示词与组装、用途与文字、构图、画风 中所选条目,再按 画幅与排版 选一个具体版式。需要示例或复现同图时再读 示例与实测范围。不要把所有备选原文一并交给图像模型。
  4. 明确文字和内容。 优先使用用户给出的逐字文案,否则自行拟定文案,无需确认;没有文字时删除所有标题、编号和字形要求。撕口确定摄影保留区域和跨界线索;超现实确定一个源自原图的巨物及少量同源小元素。其他画风不默认启用巨物。将所选模块改写成一条完整提示词,检查占位符与冲突。
  5. 实际生成。 使用 LazyMind 的 image_editor(prompt=本图完整提示词, urls=[内容图引用], image_size=受支持的尺寸, batch_size=1) 将原图转绘;有额外风格参考时在 urls 后续位置加入,并在提示词中明确各自用途。每次只生成一个成品,不混合不同照片。默认每张原图一张;只有用户要求多用途、多风格或对比时才展开数量,不默认生成全部组合。
  6. 查看验收。 检查构图选项、画风作用域、同景对应、原配色、文字和符号密度、实际画幅。明确错误定向修正一次,保持其他要求;仍有问题则如实展示,不无限重试。不能为了凑横竖比例拉伸成品。
  7. 交付。 优先原样使用工具返回的 image_markdown 展示图片;多图逐项使用 images[] 中的图片结果,不改写签名 URL,不将裸本地路径当成可访问图片。记录实际提示词、原图对应关系、所选方案和工具;只有获得实际像素证据才报告尺寸。版本化命名,不覆盖原图;多图分别交付,不能用合成对照页代替各张成品。两种用途共用同一画面时,可先生成画作,再将其返回的 local_path 作为下一次 image_editor 的参考来排明信片文字;不是所有明信片都强制多生成一张中间图。

工具与质量边界

  • urls 使用附件短引用、可访问的 local_path 或工具给出的图片 URL。图片编辑必须带内容图,不能用 image_generator 的纯文生图替代。象牙白纸面不透明的要求写进提示词,不添加工具不支持的参数。
  • 每张图只保留一个最终比例。按已知模型支持范围填写 image_size(例如支持时横版用 1536x1024、竖版用 1024x1536),并在提示词中明确比例;比例不足时按实际结果说明,不拉伸成品。请求4K不等于达到4K,返回的请求尺寸不证明实际像素,不把DPI或文件名当作尺寸提升。
  • “原图+画”的摄影保留是内容与质感目标。生成模型可能重绘摄影,不能宣称像素零改动;明确要求摄影像素完全不变时,只有可用的确定性排版/合成工具真正保留原像素后才可这样交付。
  • 对于明确的图片生成/编辑请求,直接调用 image_editor 作为媒体能力可用性的判据。若返回 MEDIA_CAPABILITY_DEPENDENCY_MISSING,立即停止,让宿主展示配置引导;不得改用其他工具、脚本、API 或占位图兜底,也不继续追问。待用户配置后选择继续/重试,再恢复生成。其他失败按实际错误说明,不宣称已生成;本包不含模型API或账号密钥。

最后检查

  • 纯画:整幅转绘,无摄影锚点、撕口或对照区;明信片仍可在纯画旁排字。
  • 撕口:保留真实摄影锚点,沿场景结构发展不规则撕边,与同景插画有连续线索,无矩形贴片与均匀白边。
  • 原图+画:独立两个区块对应同一场景;允许同景两种表达,不要求撕边或跨界轨迹。
  • 水墨柔边、版画网点、超现实平涂的规则没有错误地作用于摄影区或其他画风。
  • 无字时没有偷偷加入编号或落款;有字时每个字母和标点准确,字号与留白适合最终横竖版。

本包依据用户提供的视觉需求及本会话编写的基准提示词整理,运行不依赖另行安装的 zine 技能。包内不含第三方 Gathered Scenes Zine 的指令、素材或配置,不表示其作者授权或背书。其第三方技能本身的许可不由本包授予。

查看许可证全文(Apache-2.0)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.