关于 creative-orchestrator
面向 Claude Code 的创意制作编排技能,指导如何调用创意技能、运行 Python 资产生成代码并串联任务。提供常见工作流模板与生成文件的组织方式。
主要功能
- 01协调创意技能调用顺序
- 02指导 Claude Code 运行 Python
- 03串联多个生成任务
- 04管理生成资产的存储
- 05提供常见工作流模板
适用场景
- 01批量生成产品与社交媒体素材
- 02制作品牌标识和图形资产
- 03按模板组织电商发布素材
- 04串联不同创意技能完成制作
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ sanky369/ vibe-building-skills --skill creative-orchestrator安装后在 Claude Code 中输入/creative-orchestrator确认已加载。
详细介绍
创意编排器技能
概述
Creative Orchestrator 是所有创意技能的主协调器。它会准确地告诉 Claude Code 如何使用自动化系统生成素材、管理工作流并统筹创意制作。
关键词:编排、工作流、自动化、素材生成、创意制作、Claude Code 集成
此技能的作用
Creative Orchestrator:
- 协调所有创意技能 — 告诉 Claude 按什么顺序使用哪些技能
- 管理 Claude Code 集成 — 展示如何运行 Python 代码来生成素材
- 自动化工作流 — 将多个生成任务串联起来
- 处理文件整理 — 管理素材的存储与整理
- 提供模板 — 为常见场景预先构建工作流
Claude Code 如何使用此技能
当你要求 Claude 生成创意素材时,Orchestrator 会告诉 Claude Code:
- 自动化系统的位置 — 文件路径和导入语句
- 如何设置环境 — API 密钥和依赖项
- 要运行哪些 Python 代码 — 准确的函数调用
- 如何串联操作 — 按顺序生成多个素材
- 结果的保存位置 — 整理好的文件夹结构
自动调用技能
了解用户的创意需求后,询问他们是否希望你自动调用相关的创意技能。例如:
"For your product launch, I recommend these skills:
1. creative-strategist (define visual direction)
2. product-photography (hero shots)
3. social-graphics (platform assets)
Would you like me to run these skills now? I'll invoke each one to guide your asset creation."
如果用户同意,使用 /技能名称命令调用每项技能(例如,/creative-strategist、/product-photography)。按推荐顺序逐项执行。
设置:启用自动化系统
第 1 步:提取自动化系统
将 vibe-creative-automation.zip 复制并解压到你的项目中,然后将其添加到 gitignore(该文件位于本文档所在的根目录中):
your-project/
├── vibe-creative-automation/
│ ├── fal_api.py
│ ├── creative_cli.py
│ ├── claude_integration.py
│ └── requirements.txt
└── assets/ (will be created automatically)
第 2 步:安装依赖项
pip install requests
第 3 步:设置 API 密钥
export FAL_API_KEY="your_fal_api_key_here"
或者在环境中设置:
export FAL_KEY="your_fal_api_key_here"
第 4 步:测试连接
让 Claude 测试 API:
Test my nanobanana pro API connection by generating a simple test image.
Claude 将运行:
from fal_api import NanobananProClient
client = NanobananProClient()
result = client.generate_image(
prompt="A red cube on a white background, minimalist, professional quality, 4K",
num_images=1,
resolution="2K"
)
print(f"✅ Generated: {result['images'][0]['url']}")
Claude Code 集成模式
模式 1:生成单个素材
from claude_integration import generate_product
result = generate_product(
product_name="Luxury Watch",
description="A luxury leather watch with gold accents",
style="professional product photography",
num_variations=3
)
for img in result['images']:
print(f"Generated: {img}")
模式 2:社交媒体宣传活动
from claude_integration import generate_social
platforms = ["instagram", "linkedin", "twitter"]
for platform in platforms:
result = generate_social(
platform=platform,
topic="Product Launch",
description="Eye-catching post for product launch",
num_variations=1
)
print(f"{platform}: {result['images']}")
模式 3:品牌形象
from claude_integration import generate_brand
assets = ["logo", "icon", "pattern"]
for asset_type in assets:
result = generate_brand(
brand_name="TechCorp",
element_type=asset_type,
description=f"Modern {asset_type} for tech company",
num_variations=1
)
print(f"{asset_type}: {result['images']}")
模式 4:批量生成
from claude_integration import batch_generate_assets
assets = [
{
"type": "product",
"name": "Watch",
"description": "Luxury leather watch with gold accents",
"style": "professional product photography",
"num_variations": 2
},
{
"type": "social",
"platform": "instagram",
"topic": "Product Launch",
"description": "Instagram post for launch",
"num_variations": 1
},
{
"type": "brand",
"brand_name": "TechCorp",
"element_type": "logo",
"description": "Modern tech logo",
"num_variations": 1
}
]
results = batch_generate_assets(assets)
for result in results:
print(f"{result['asset_name']}: {result['images']}")
模式 5:通过网页搜索创建自定义素材
from claude_integration import generate_asset
result = generate_asset(
category="infographics",
name="tech-trends-2025",
prompt="Create an infographic of top tech trends for 2025 based on current data",
num_variations=1,
enable_web_search=True
)
print(f"Generated: {result['images']}")
Nanobanana Pro 参数
分辨率选项
1K — Small, fast generation
2K — Default, balanced quality
4K — Large, maximum detail
宽高比
21:9 — Ultra-wide
16:9 — Widescreen
3:2 — Standard
4:3 — Square-ish
5:4 — Square-ish
1:1 — Square (default)
4:5 — Portrait
3:4 — Portrait
2:3 — Portrait
9:16 — Mobile portrait
输出格式
png — Lossless, best for graphics (default)
jpeg — Compressed, smaller file size
webp — Modern format, good compression
网页搜索集成
启用 Google Search 获取实时数据:
result = generate_asset(
category="infographics",
name="stock-trends",
prompt="Visualize current stock market trends",
enable_web_search=True
)
工作流模板
工作流 1:电商产品发布
from claude_integration import batch_generate_assets
# Generate complete product launch assets
assets = [
# Product photos
{"type": "product", "name": "watch", "description": "Luxury watch", "num_variations": 4},
{"type": "product", "name": "wallet", "description": "Premium wallet", "num_variations": 3},
# Social graphics
{"type": "social", "platform": "instagram", "topic": "launch", "description": "Instagram post", "num_variations": 2},
{"type": "social", "platform": "linkedin", "topic": "launch", "description": "LinkedIn post", "num_variations": 1},
{"type": "social", "platform": "twitter", "topic": "launch", "description": "Twitter post", "num_variations": 1},
# Brand assets
{"type": "brand", "brand_name": "MyBrand", "element_type": "logo", "description": "Brand logo", "num_variations": 2},
]
results = batch_generate_assets(assets)
print(f"Generated {len(results)} asset groups")
工作流 2:内容创作者系列
from claude_integration import generate_social, generate_asset
# Generate content series for a week
topics = ["AI Trends", "Web3", "Blockchain", "NFTs", "Metaverse"]
for topic in topics:
# Generate thumbnail
thumbnail = generate_asset(
category="thumbnails",
name=f"video-{topic.lower()}",
prompt=f"YouTube thumbnail for {topic} video, bold design, eye-catching",
num_variations=1
)
# Generate social post
post = generate_social(
platform="twitter",
topic=topic,
description=f"Tweet about {topic}",
num_variations=1
)
print(f"{topic}: thumbnail={thumbnail['images']}, post={post['images']}")
工作流 3:品牌焕新
from claude_integration import batch_generate_assets
# Complete brand refresh
assets = [
# New brand identity
{"type": "brand", "brand_name": "NewBrand", "element_type": "logo", "description": "Modern logo", "num_variations": 3},
{"type": "brand", "brand_name": "NewBrand", "element_type": "icon", "description": "App icons", "num_variations": 1},
{"type": "brand", "brand_name": "NewBrand", "element_type": "pattern", "description": "Brand pattern", "num_variations": 1},
# Marketing graphics
{"type": "social", "platform": "instagram", "topic": "rebrand", "description": "Rebrand announcement", "num_variations": 2},
{"type": "social", "platform": "linkedin", "topic": "rebrand", "description": "LinkedIn announcement", "num_variations": 1},
]
results = batch_generate_assets(assets)
print(f"Brand refresh complete: {len(results)} assets generated")
常见提示词模式
产品摄影
A luxury leather watch with gold accents on white background,
professional product photography, studio lighting with rim light,
centered composition, sharp focus, 4K, highly detailed
爆款缩略图
Design a viral video thumbnail with bold colors, eye-catching text overlay,
high contrast, professional quality, 4K, trending design
信息图
Create a clean, modern infographic summarizing key information.
Include charts, icons, and legible text.
Professional quality, 4K, suitable for presentation
品牌徽标
Modern tech company logo, geometric style, blue and white colors,
minimalist design, scalable, professional, clean lines,
suitable for all media
社交媒体图片
Instagram post graphic for product launch, vibrant colors,
eye-catching composition, modern design, professional quality,
trending aesthetic
故障排除
问题:找不到 API 密钥
错误:FAL_API_KEY or FAL_KEY not found
解决方案:
export FAL_API_KEY="your_key_here"
或者让 Claude 设置:
Set my FAL_API_KEY environment variable to [your_key]
问题:没有生成图片
解决方案:
- 检查 API 密钥是否有效
- 确认网络连接正常
- 尝试使用更简单的提示词
- 检查 nanobanana pro 是否可用
问题:图片风格不符
解决方案:
- 添加更具体的风格描述
- 参考你的 Creative Strategist 指南
- 生成多个变体
- 使用对话式编辑
问题:生成速度太慢
解决方案:
- 将分辨率从 4K 降至 2K
- 将 num_images 减少到 1
- 使用更简单的提示词
与创意技能集成
Orchestrator 可与所有创意技能协同工作:
- Creative Strategist — 定义你的视觉方向
- Image Generation — 讲解提示词技巧
- Product Photography — 创建产品照片
- Social Graphics — 生成社交媒体内容
- Brand Asset — 创建品牌元素
- Product Video — 规划视频内容
- Talking Head — 规划出镜讲解视频
资源整理
生成的资源会自动整理:
assets/
├── product-photography/
│ ├── luxury-watch/
│ └── premium-wallet/
├── social-graphics/
│ ├── instagram/
│ ├── linkedin/
│ └── twitter/
├── brand-assets/
│ └── techcorp/
│ ├── logo/
│ ├── icon/
│ └── pattern/
└── thumbnails/
└── video-1/
后续步骤
- 提取自动化系统到你的项目中
- 安装依赖项:
pip install requests - 设置 API 密钥:
export FAL_API_KEY="your_key" - 测试连接:让 Claude 测试 API
- 选择工作流:选择上面的模板
- 生成资源:开始创作!
快捷命令
生成产品照片:
Generate 3 product photos for my luxury watch using nanobanana pro
生成社交媒体营销活动:
Generate Instagram, LinkedIn, and Twitter posts for my product launch
生成品牌形象:
Generate a complete brand identity including logo, icons, and patterns
批量生成:
Generate 10 assets for my e-commerce store including product photos and social graphics
测试 API:
Test my nanobanana pro API connection
现在,你已拥有完整的创意资源生成自动化流程,可与 nanobanana pro 搭配使用。开始创作吧!🚀