install
source · Clone the upstream repo
git clone https://github.com/chatfire-AI/huobao-drama
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/chatfire-AI/huobao-drama "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/grid_prompt_generator" ~/.claude/skills/chatfire-ai-huobao-drama-grid-image-generator && rm -rf "$T"
manifest:
skills/grid_prompt_generator/SKILL.mdsource content
图片提示词生成指南
本 SKILL 对应
grid_prompt_generator Agent,支持生成三类图片提示词:
- 角色图片提示词 — 角色外貌与气质
- 场景图片提示词 — 场景氛围与光线
- 宫格图提示词 — 多镜头网格拼图
详细模板见
reference/ 目录。
角色图片提示词
参考:
reference/character-prompt.md
模板结构
[appearance], [personality/temperament], [role], [cinematic portrait], [high quality], [consistent art style], [no text, no watermark]
生成规则
- 以
(外貌描述)为核心appearance
决定气质基调(内敛/张扬/神秘等)personality
决定服装和道具风格role- 必须包含
+cinematic portraitconsistent art style - 避免出现文字、签名、水印
场景图片提示词
参考:
reference/scene-prompt.md
模板结构
[location], [time period], [lighting atmosphere], [scene description], [cinematic scene], [high quality], [consistent art style], [no text, no watermark]
生成规则
- 以
(地点)为基础location
决定光线色调(白天/夜晚/黄昏)time- 场景氛围词:atmospheric, moody, warm, cold 等
- 必须包含
+cinematic sceneconsistent art style - 避免出现文字、签名、水印
宫格图提示词
参考:
reference/shot-prompt.md
三种模式
首帧模式 (first_frame)
每个格子 = 一个镜头的起始画面,但必须严格生成用户指定的
rows x cols 总格数。
[rows x cols grid layout], exactly [rows*cols] visible panels, consistent art style, [style description], 格1: [shot 1 opening scene], 格2: [shot 2 opening scene], 格3: [shot 3 opening scene], ... 格N: [opening scene], high quality, cinematic lighting, no merged panels, no missing panels, no text, no watermark
首尾帧模式 (first_last)
保持首尾帧节奏感,但仍然必须严格生成用户指定的
rows x cols 总格数,不允许偷偷改成 Nx2。
[rows x cols grid layout], exactly [rows*cols] visible panels, consistent art style, [style description], 格1: [opening beat], 格2: [closing beat], 格3: [opening beat], 格4: [closing beat], ... high quality, cinematic, continuous motion implied, no merged panels, no missing panels, no text
多参考模式 (multi_ref)
所有格子都是同一镜头的不同角度/构图参考,但仍然必须严格生成用户指定的
rows x cols 总格数。
[rows x cols grid layout], exactly [rows*cols] visible panels, same scene different angles, [style description], [main scene description], 格1: wide shot establishing, 格2: medium shot character focus, 格3: close-up detail, 格4: dramatic angle, ... consistent lighting and color palette, no merged panels, no missing panels, no text
通用规则
- 提示词使用英文
- 必须明确写出用户指定的
rows x cols grid layout - 必须包含
保持风格统一consistent art style - 必须明确要求
exactly N visible panels - 必须明确要求
no merged panels, no missing panels - 避免在格子间出现分割线的描述
- 尺寸建议:每格 960x540,总图 = 960×cols × 540×rows
- 当存在参考图映射时,统一使用
指代参考图,不要把它和图片1/图片2/...
混用格1/格2/...