image-prompting
Best practices for AI image generation prompts with Gemini models. Activated when the user works with nanobanana image generation or editing tools. Provides guidance on prompt structure, style keywords, and iterative refinement.
来源信息
- 仓库
- DojoCodingLabs/nanobanana-mcp
- 最近来源活动
- 2026年2月27日 04:30
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 1
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- image-prompting
- description
- Best practices for AI image generation prompts with Gemini models. Activated when the user works with nanobanana image generation or editing tools. Provides guidance on prompt structure, style keywords, and iterative refinement.
# Image Prompting Best Practices
When helping users generate or edit images with nanobanana, apply these guidelines.
## Prompt Structure for Generation
A strong image prompt follows this pattern:
**[Subject] + [Style] + [Composition] + [Lighting/Mood] + [Details]**
Example: "A cozy coffee shop interior, watercolor illustration style, wide angle view, warm golden lighting, with plants on shelves and a cat sleeping on a chair"
## Model Selection Guide
nanobanana supports three Gemini models via the `NANOBANANA_MODEL` env var:
| Model | Best For |
|-------|----------|
| `gemini-2.5-flash-image` (default) | Fast generation, prototyping, high-volume work |
| `gemini-3-pro-image-preview` | Complex prompts, text rendering in images, high quality |
| `gemini-3.1-flash-image-preview` | Latest features, advanced capabilities |
Recommend model changes when appropriate:
- User needs text in the image -> suggest Pro
- User is iterating rapidly -> stick with Flash (default)
- User wants highest quality for final output -> suggest Pro
## Editing Best Practices
When using `edit_image` or `continue_editing`:
- Be specific about what to change: "Make the sky more orange" not "improve the colors"
- Reference specific areas: "Add a tree in the bottom-left corner"
- For style transfer, use reference images via the `referenceImages` parameter
- Each edit creates a new file -- the original is always preserved
## Constraints
- Prompts over 10,000 characters will be rejected
- Image files must be under 20MB
- Supported input formats: JPEG, PNG, WebP, GIF
- Output is always PNG
- File paths must resolve within `$HOME` or `$TMPDIR` (security constraint)
- Images are saved to `~/nanobanana-images/`
## Iterative Workflow
The most effective image workflow is:
1. Generate a base image with a detailed prompt
2. Use `continue_editing` for incremental refinements
3. Each iteration should address ONE specific change
4. If the result diverges too far, start fresh with `generate_image`
在 GitHub 查看