创意插画:专业 AI 艺术生成 - Openclaw 技能

作者:互联网

2026-04-16

AI教程

什么是 创意插画?

创意插画技能是一个专门设计的引擎,旨在将文本描述转化为高质量的视觉资产。通过弥补原始 AI 图像模型与结构化创意工作流之间的差距,它允许用户为书籍、杂志和数字媒体生成一致的艺术作品。它是希望利用 Openclaw 技能进行大规模或高度特定艺术制作的创作者的核心组件。

该技能通过提供预定义的插画类型、艺术风格和情感氛围,自动执行复杂的提示词工程任务。无论您需要为儿童读物提供系列水彩画,还是为技术博客提供流畅的矢量图形,该工具都能确保输出保持专业性、主题性并可供发布。

下载入口:https://github.com/openclaw/skills/tree/main/skills/hhhh124hhhh/creative-illustration

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install creative-illustration

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 creative-illustration。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

创意插画 应用场景

  • 为儿童绘本和童话故事创建连贯的视觉序列。
  • 为文章、博客和演示稿生成概念性社论插图。
  • 为游戏开发或电影故事板制作环境和角色概念图。
  • 设计专业级的书籍封面和章节开头插图。
  • 使用 Openclaw 技能自动创建符合品牌的视觉资产。
创意插画 工作原理
  1. 用户提供主题并从广泛的参数中进行选择,包括插画类型、媒介风格和氛围。
  2. 该技能处理这些输入,以构建针对最新 OpenAI 图像模型优化的详细、高性能提示词。
  3. 对于批量操作,引擎同时管理多个主题,确保整个集的视觉一致性。
  4. 图像按指定的尺寸和质量(标准或高清)生成,并保存到本地项目目录。
  5. 系统自动生成元数据清单和 HTML 图库,以便轻松浏览结果。

创意插画 配置指南

要在您的 Openclaw 技能环境中使用此技能,您必须提供 OpenAI API 密钥。

# 设置环境变量
export OPENAI_API_KEY='your-api-key-here'

# 运行测试插画
python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "a cozy cottage in an enchanted forest" r
  --style "watercolor"

创意插画 数据架构与分类体系

该技能将所有生成的内容整理到带有时间戳的输出目录中,确保您的 Openclaw 技能项目保持井然有序。

文件/文件夹 用途
*.png 由 API 生成的主要插画文件。
prompts.json 记录每张图像使用的具体提示词、模型和参数。
index.html 用于查看插画库的本地生成网页。
out-dir 用于基于项目的组织的可定制目录路径。
name: creative-illustration
description: Generate diverse creative illustrations via OpenAI Images API. Create book illustrations, editorial art, children's book art, concept illustrations, and artistic scenes. Use when user needs creative visual content for stories, articles, presentations, or artistic projects (e.g., "illustrate a fairy tale scene", "create editorial art about technology", "design children's book illustrations", "generate concept art for a story").

Creative Illustration Factory

Generate professional illustrations for books, editorial content, children's stories, and creative projects.

Setup

  • Needs env: OPENAI_API_KEY

Quick Start

Generate a simple illustration:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "a cozy cottage in an enchanted forest"

Generate with specific style:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "a robot learning to paint" r
  --style "watercolor" r
  --mood "whimsical"

Generate a story sequence:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "Alice discovers a tiny door" r
  --subject "Alice shrinks down" r
  --subject "Alice enters Wonderland" r
  --style "whimsical illustration" r
  --mood "magical"

Illustration Types

Book Illustrations

  • chapter-opener - Full-page chapter opening scene
  • character-intro - Character introduction portrait
  • landscape-scene - Wide landscape establishing shot
  • action-moment - Dynamic action or pivotal moment
  • emotional-scene - Emotional or dramatic scene
  • cover-art - Book cover illustration style

Editorial / Magazine Art

  • conceptual-art - Abstract conceptual illustration
  • info-graphic - Informational illustration style
  • portrait-editorial - Editorial portrait
  • spot-illustration - Small spot illustration
  • full-page-spread - Magazine full-page spread

Children's Book Art

  • picture-book - Classic picture book illustration
  • whimsical - Playful and imaginative style
  • educational - Educational book illustration
  • bedtime-story - Soft, calming bedtime story art
  • adventure-map - Adventure map or treasure map

Concept Art

  • environment-concept - Environmental concept art
  • character-concept - Character design concept
  • prop-concept - Object or prop design
  • storyboard - Storyboard panel style
  • mood-board - Mood board aesthetic

Styles

Traditional Media

  • watercolor - Watercolor painting with soft edges
  • oil-painting - Rich oil painting texture
  • charcoal-sketch - Charcoal drawing style
  • ink-wash - Ink wash / sumi-e style
  • pastel - Soft pastel drawing
  • colored-pencil - Colored pencil illustration
  • gouache - Gouache opaque watercolor
  • acrylic - Acrylic painting style
  • lino-cut - Linocut printmaking style
  • woodcut - Woodcut print aesthetic

Digital Styles

  • digital-painting - Digital painting
  • vector-illustration - Clean vector art
  • flat-design - Flat design aesthetic
  • isometric - Isometric perspective
  • pixel-art - Retro pixel art
  • concept-art - Game/film concept art style
  • cel-shaded - Cel shaded animation style
  • low-poly - Low poly 3D aesthetic

Book & Print Styles

  • picture-book - Classic picture book
  • storybook-illustration - Vintage storybook art
  • editorial-illustration - Magazine editorial
  • newspaper-engraving - Newspaper engraving style
  • poster-art - Vintage poster design
  • woodblock-print - Japanese woodblock print
  • screen-print - Screen print aesthetic

Mood

  • whimsical - Playful and imaginative
  • magical - Magical and enchanting
  • mysterious - Mysterious and intriguing
  • peaceful - Calm and serene
  • dramatic - Dramatic and intense
  • nostalgic - Warm and nostalgic
  • gloomy - Dark and atmospheric
  • vibrant - Bright and energetic
  • romantic - Soft and romantic
  • quirky - Quirky and eccentric

Parameters

  • --subject - Illustration subject/description (repeatable for batch)
  • --type - Illustration type (default: illustration)
  • --style - Artistic style (default: watercolor)
  • --mood - Mood/atmosphere (default: peaceful)
  • --palette - Color palette suggestion
  • --composition - Composition guidance (e.g., "wide shot", "close-up")
  • --count - Number of variants per subject (default: 1)
  • --out-dir - Output directory (default: ~/Projects/tmp/creative-illustration-*)
  • --size - Image size: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)
  • --quality - high/standard (default: high)
  • --model - OpenAI image model (default: gpt-image-1.5)
  • --api-key - OpenAI API key (or use OPENAI_API_KEY env)

Advanced Examples

Children's book page:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "a curious rabbit with a pocket watch" r
  --type "picture-book" r
  --style "watercolor" r
  --mood "whimsical" r
  --palette "pastel"

Editorial concept art:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "AI and humanity working together" r
  --type "conceptual-art" r
  --style "vector-illustration" r
  --mood "optimistic" r
  --composition "symbolic"

Story sequence:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "Hero finds an ancient map" r
  --subject "Hero deciphers mysterious symbols" r
  --subject "Hero discovers a hidden passage" r
  --subject "Hero enters the forgotten temple" r
  --style "storybook-illustration" r
  --mood "mysterious" r
  --palette "earth tones"

Full custom prompt:

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --prompt "A magical treehouse library nestled among ancient redwoods, spiral staircase winding up the trunk, lanterns hanging from branches, books floating in mid-air, warm golden light streaming through leaves, detailed watercolor illustration style, whimsical and enchanting"

Color Palettes

  • pastel - Soft pastel colors
  • earth tones - Natural browns, greens, golds
  • vibrant - Bright saturated colors
  • muted - Desaturated, subtle colors
  • monochrome - Single color variations
  • jewel tones - Rich ruby, emerald, sapphire
  • autumn - Orange, red, yellow, brown
  • winter - Blue, white, silver, purple
  • tropical - Bright greens, teals, pinks
  • vintage - Warm sepia, faded tones

Composition

  • wide shot - Wide establishing scene
  • close-up - Intimate close-up
  • panoramic - Panoramic landscape
  • rule-of-thirds - Balanced rule of thirds
  • centered - Centered subject
  • diagonal - Dynamic diagonal composition
  • triangular - Triangular composition
  • circular - Circular / spiral composition
  • symmetrical - Perfectly symmetrical
  • asymmetrical - Asymmetrical balance

Output

  • *.png - Illustration images
  • prompts.json - All prompts used
  • index.html - Illustration gallery

Project Templates

Children's Book (4-6 images)

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "Girl finds a magical seed" r
  --subject "Seed grows into a glowing plant" r
  --subject "Plant reveals a tiny fairy" r
  --subject "Fairy shows girl a secret garden" r
  --subject "Girl shares garden with friends" r
  --type "picture-book" r
  --style "watercolor" r
  --mood "whimsical"

Magazine Editorial (1-2 images)

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "The future of sustainable cities" r
  --type "conceptual-art" r
  --style "vector-illustration" r
  --mood "optimistic" r
  --count 2

Fantasy Story Chapter Opener (1 image)

python3 ~/Projects/agent-scripts/skills/creative-illustration/scripts/illustrate.py r
  --subject "The dragon's treasure hoard under ancient runes" r
  --type "chapter-opener" r
  --style "oil-painting" r
  --mood "dramatic" r
  --palette "jewel tones"

相关推荐