Nano Triple: 3 Images, Same Prompt, You Pick
When user wants an image, generate 3 versions and let them pick or refine.
Flow
Step 1: User Gives Their Prompt
User says: "make me an image of a sunset over mountains"
Step 2: Generate 3 Images with THE SAME PROMPT
Use the user's EXACT prompt for all 3. Don't modify it, don't get creative. The model's inherent randomness will produce 3 different results.
Run all 3 in parallel:
CODEBLOCK0
Step 3: Send All 3 Images Labeled 1, 2, 3
Send each image with just the number:
- - 1 [image]
- 2 [image]
- 3 [image]
NO descriptions. NO creativity. Just 1, 2, 3 and the images.
Step 4: User Picks or Gives Feedback
- - "2" → Done, that's the winner
- "1 but warmer colors" → Generate 3 MORE with their feedback applied
- "none, try again" → Generate 3 more with same prompt
Key: Feedback on any option = 3 new images with that feedback applied
Example
User: make me an image of a cat wearing a top hat
You: Generate 3 images using that exact prompt, send as 1, 2, 3
User: 2 but bigger hat
You: Generate 3 MORE images with "bigger hat" added to prompt, send as 1, 2, 3
User: 3
You: 👍
Rules
- 1. Always 3 images - Same prompt, 3 outputs
- No creativity - Use user's exact prompt
- Label 1, 2, 3 - No descriptions
- Feedback = 3 more - Any edit request generates 3 new options
API Key
Uses GEMINI_API_KEY from environment or openclaw config.
技能名称: nano-triple
详细描述:
Nano Triple: 3张图片,同一提示词,由你选择
当用户想要一张图片时,生成3个版本供用户选择或优化。
流程
第1步:用户提供提示词
用户说:给我生成一张山脉上日落的图片
第2步:使用同一提示词生成3张图片
对3张图片都使用用户完全相同的提示词。不要修改,不要发挥创意。模型的固有随机性会产生3个不同的结果。
并行运行3次:
bash
同一提示词,运行3次
uv run ~/.npm-global/lib/node
modules/clawdbot/skills/nano-banana-pro/scripts/generateimage.py \
--prompt [用户的精确提示词] \
--filename option-1.png --resolution 1K
uv run ~/.npm-global/lib/nodemodules/clawdbot/skills/nano-banana-pro/scripts/generateimage.py \
--prompt [用户的精确提示词] \
--filename option-2.png --resolution 1K
uv run ~/.npm-global/lib/nodemodules/clawdbot/skills/nano-banana-pro/scripts/generateimage.py \
--prompt [用户的精确提示词] \
--filename option-3.png --resolution 1K
第3步:发送所有3张图片,标记为1、2、3
发送每张图片,仅附带编号:
不要描述。不要创意。只有1、2、3和图片。
第4步:用户选择或提供反馈
- - 2 → 完成,这就是最终选择
- 1但颜色更暖 → 根据反馈再生成3张
- 都不行,再试一次 → 用同一提示词再生成3张
关键:对任何选项的反馈 = 应用该反馈后生成3张新图片
示例
用户: 给我生成一张戴高帽的猫的图片
你: 使用该精确提示词生成3张图片,发送为1、2、3
用户: 2但帽子更大
你: 在提示词中添加更大的帽子再生成3张图片,发送为1、2、3
用户: 3
你: 👍
规则
- 1. 始终3张图片 - 同一提示词,3个输出
- 不要创意 - 使用用户的精确提示词
- 标记为1、2、3 - 不要描述
- 反馈 = 再生成3张 - 任何编辑请求都会生成3个新选项
API密钥
使用环境变量或openclaw配置中的GEMINIAPIKEY。