vault backup: 2026-01-08 09:34:22
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
|
||||
|
||||
### 1. 连接方式
|
||||
* **即插即用**:直接使用 Type-C 数据线连接电脑即可使用,无需开关机,也无需切换模式开关(有线版通常没有背面的模式切换开关)。
|
||||
|
||||
### 2. 灯光控制(RGB 版)
|
||||
虽然是有线版,但灯光控制逻辑与无线版基本一致:
|
||||
* **切换灯效**:**`FN + \ |`** (回车键上方) —— 循环切换约 20 种灯效。
|
||||
* **切换灯光颜色**:**`FN + Enter`** (回车键) —— 切换单色光颜色(红、绿、蓝、紫等)。
|
||||
* **亮度调节**:
|
||||
* **`FN + ↑`**:增加亮度。
|
||||
* **`FN + ↓`**:减小亮度(最低为关闭)。
|
||||
* **速度调节**:
|
||||
* **`FN + →`**:灯效流动变快。
|
||||
* **`FN + ←`**:灯效流动变慢。
|
||||
* **一键开关灯**:**`FN + X`** —— 快速开启或关闭整个键盘背光。
|
||||
* **侧翼灯光控制**(如果有侧灯):通常是 **`FN + 右 Ctrl`** 或类似的组合键切换侧边灯效。
|
||||
|
||||
### 3. 多媒体快捷键 (Windows)
|
||||
配合 `FN` 键使用 F 区按键:
|
||||
* **FN + F 1**:多媒体播放器
|
||||
* **FN + F 2**:音量 -
|
||||
* **FN + F 3**:音量 +
|
||||
* **FN + F 4**:静音
|
||||
* **FN + F 5**:停止
|
||||
* **FN + F 6**:上一曲
|
||||
* **FN + F 7**:播放/暂停
|
||||
* **FN + F 8**:下一曲
|
||||
* **FN + F 9**:邮件
|
||||
* **FN + F 10**:浏览器
|
||||
* **FN + F 11**:我的电脑
|
||||
* **FN + F 12**:计算器
|
||||
|
||||
### 4. 系统切换 (Win/Mac)
|
||||
* **FN + A**:切换到 **Windows** 模式(默认)。
|
||||
* **FN + S**:切换到 **Mac** 模式(Win 键变为 Option,Alt 变为 Cmd)。
|
||||
|
||||
### 5. 其他功能
|
||||
* **锁定 Win 键**:**`FN + Win`** —— 锁定后 Win 键失效,防止游戏误触;再按一次解锁(通常 Win 键灯光会常亮提示锁定状态)。
|
||||
* **恢复出厂设置**:长按 **`FN + Space`** (空格键) 3-5 秒,直到键盘背光闪烁重置。
|
||||
|
||||
### 6. 驱动软件
|
||||
有线版同样支持驱动,用于改键、设置宏和自定义灯光。
|
||||
* **下载地址**:请前往[黑爵官网 (a-jazz.com)](http://www.a-jazz.com/) -> 服务支持 -> 下载中心。
|
||||
* **注意**:下载时请务必选择对应的 **"AK 820 Max 有线版"** 驱动,不要下载成三模版的驱动,否则可能无法识别。
|
||||
|
||||
---
|
||||
**⚠️ 注意:**
|
||||
如果您的键盘是 **AK 820 Max 磁轴版**(也是有线的),它的驱动和普通机械轴版不同,支持 RT(快速触发)调节。磁轴版的说明书重点在于驱动中的 **行程设置** 和 **DKS (动态键程)** 设置,物理按键操作与上述基本一致。
|
||||
@@ -0,0 +1,288 @@
|
||||
---
|
||||
title: AI Prompt Engineering Tips - Image Generation
|
||||
created: 2026-01-07
|
||||
tags:
|
||||
- ai
|
||||
- prompts
|
||||
- image-generation
|
||||
- reference
|
||||
source: https://github.com/ZeroLu/awesome-nanobanana-pro
|
||||
---
|
||||
|
||||
# AI Image Generation Prompt Engineering Tips
|
||||
|
||||
A comprehensive guide to crafting effective prompts for AI image generation models (Nano Banana Pro/Gemini/Imagen 2).
|
||||
|
||||
## Core Principles
|
||||
|
||||
### 1. Be Specific and Detailed
|
||||
- Use precise technical parameters rather than vague descriptions
|
||||
- Specify exact camera models, lens types, and settings when relevant
|
||||
- Include lighting direction, quality, and temperature
|
||||
- Define exact aspect ratios and resolutions
|
||||
|
||||
### 2. Structure Your Prompts
|
||||
Use clear sections for complex requests:
|
||||
- **Subject** - What/who is in the image
|
||||
- **Environment** - Setting, location, background
|
||||
- **Lighting** - Type, direction, mood
|
||||
- **Camera/Style** - Technical specs, artistic style
|
||||
- **Details** - Textures, colors, specific elements
|
||||
|
||||
### 3. Reference Real-World Standards
|
||||
- Mention specific film stocks (e.g., "Kodak Portra 400")
|
||||
- Reference camera models (e.g., "Sony A7III with 85mm f/1.4")
|
||||
- Cite artistic styles or movements
|
||||
- Use professional terminology (bokeh, depth of field, golden hour)
|
||||
|
||||
## Technical Parameters
|
||||
|
||||
### Camera Settings
|
||||
```
|
||||
- Camera: [Model] (e.g., Canon EOS R5, Hasselblad H6D-100c)
|
||||
- Lens: [Focal length] [Aperture] (e.g., 85mm f/1.4, 35mm f/2.8)
|
||||
- Aperture: f/1.8 to f/5.6 (shallow DoF) or f/8+ (deep DoF)
|
||||
- ISO: 100-400 (clean), 800-1600 (grainy/documentary)
|
||||
- Shutter speed: 1/60s (standard), 1/125s+ (action)
|
||||
```
|
||||
|
||||
### Lighting Specifications
|
||||
```
|
||||
- Type: Natural light, studio lighting, flash, ambient
|
||||
- Direction: Key light, fill light, rim light, backlighting
|
||||
- Quality: Soft/diffused vs. hard/direct
|
||||
- Temperature: Warm (golden hour) vs. cool (blue hour)
|
||||
- Time of day: Golden hour (sunset/sunrise), midday, blue hour
|
||||
```
|
||||
|
||||
### Style References
|
||||
```
|
||||
- Photography eras: 1990s digital camera, 2000s flash, film aesthetic
|
||||
- Film stocks: Kodak Portra 400, Kodak Ektar 100, Fuji Velvia
|
||||
- Artistic styles: Cinematic, editorial, documentary, fashion
|
||||
- Processing: Vintage grain, clean digital, film texture
|
||||
```
|
||||
|
||||
## Consistency Techniques
|
||||
|
||||
### Face/Identity Preservation
|
||||
```
|
||||
Key phrases for maintaining facial features:
|
||||
- "Keep the facial features of the person exactly consistent"
|
||||
- "Preserve original face 100% accurate from reference image"
|
||||
- "Do not change the face, maintain exact facial structure"
|
||||
- "Face consistency: preserve_original: true"
|
||||
```
|
||||
|
||||
### Texture Preservation
|
||||
```
|
||||
For maintaining surface textures:
|
||||
- "Preserve the original fabric texture, color, and logos"
|
||||
- "Maintain the aged, greasy, textured look"
|
||||
- "Keep the same grain, focus depth, and lighting"
|
||||
- "Match ambient lighting, color temperature, shadow direction"
|
||||
```
|
||||
|
||||
## JSON Format for Complex Prompts
|
||||
|
||||
For multi-parameter requests, use structured JSON:
|
||||
|
||||
```json
|
||||
{
|
||||
"subject": {
|
||||
"description": "Young woman...",
|
||||
"age": "early 20s",
|
||||
"expression": "confident and playful",
|
||||
"hair": {
|
||||
"color": "dark",
|
||||
"style": "long, voluminous waves"
|
||||
}
|
||||
},
|
||||
"photography": {
|
||||
"camera_style": "early-2000s digital camera aesthetic",
|
||||
"lighting": "harsh super-flash with bright highlights",
|
||||
"angle": "mirror selfie",
|
||||
"texture": "subtle grain, retro highlights"
|
||||
},
|
||||
"environment": {
|
||||
"setting": "bedroom",
|
||||
"elements": ["dresser", "posters", "vanity"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Category-Specific Tips
|
||||
|
||||
### Portrait Photography
|
||||
```
|
||||
- Specify lens compression (85mm for flattering portraits)
|
||||
- Define depth of field (shallow for portraits, deeper for groups)
|
||||
- Include catchlights in eyes
|
||||
- Mention skin texture preference (natural pores vs. smooth)
|
||||
- Specify makeup and styling details
|
||||
```
|
||||
|
||||
### Product Photography
|
||||
```
|
||||
- Use "pure white background (RGB 255, 255, 255)"
|
||||
- Specify "soft studio lighting, even illumination"
|
||||
- Request "subtle contact shadow at base"
|
||||
- Include "no harsh glare, photorealistic rendering"
|
||||
- Define "high-resolution, 8k quality"
|
||||
```
|
||||
|
||||
### Vintage/Retro Aesthetics
|
||||
```
|
||||
- Reference specific years (e.g., "early-2000s aesthetic")
|
||||
- Mention "film grain, authentic texture"
|
||||
- Include era-specific elements (fashion, technology, decor)
|
||||
- Specify "flash photography" or "disposable camera look"
|
||||
- Use "nostalgic, vintage color grading"
|
||||
```
|
||||
|
||||
### 3D/Isometric Renders
|
||||
```
|
||||
- Specify "Cinema 4D rendering" or "3D isometric view"
|
||||
- Include "soft studio lighting, clean materials"
|
||||
- Define "miniature diorama style" or "architectural visualization"
|
||||
- Mention "rounded forms, pastel colors" for cute aesthetics
|
||||
- Request "blind-box toy aesthetic" for collectible styles
|
||||
```
|
||||
|
||||
## Advanced Techniques
|
||||
|
||||
### Multi-Image Consistency
|
||||
For generating multiple related images:
|
||||
```
|
||||
"Create [number] images with:
|
||||
- Same subject with exact facial features preserved
|
||||
- Same lighting setup and color grading
|
||||
- Same environment and props
|
||||
- Different poses/angles only
|
||||
- Maintain consistent wardrobe and styling"
|
||||
```
|
||||
|
||||
### Image-to-Image Translation
|
||||
```
|
||||
"Transform the uploaded image by:
|
||||
- Preserving [specific elements]: face, pose, composition
|
||||
- Changing [target elements]: background, lighting, style
|
||||
- Maintaining [technical aspects]: resolution, aspect ratio
|
||||
- Matching [aesthetic]: color palette, mood, era"
|
||||
```
|
||||
|
||||
### Text Integration
|
||||
```
|
||||
For adding text to images:
|
||||
- "Overlay text in [font style]: bold, serif, handwritten"
|
||||
- "Place text at [location] with [color] and [effects]"
|
||||
- "Ensure perfect spelling and centered alignment"
|
||||
- "Use drop shadow and outline for readability"
|
||||
- "Integrate text naturally into image depth of field"
|
||||
```
|
||||
|
||||
### Background Manipulation
|
||||
```
|
||||
Removal: "Remove all people/objects in background, fill with..."
|
||||
Extension: "Expand to 16:9, extend scenery naturally on both sides"
|
||||
Replacement: "Replace background with [description] while preserving subject"
|
||||
Context-aware: "Match original lighting, weather, and texture perfectly"
|
||||
```
|
||||
|
||||
## Common Pitfalls to Avoid
|
||||
|
||||
### ❌ Vague Descriptions
|
||||
- ❌ "Make it look nice"
|
||||
- ✅ "Soft diffused natural lighting, shallow depth of field, warm color grading"
|
||||
|
||||
### ❌ Missing Technical Context
|
||||
- ❌ "A portrait photo"
|
||||
- ✅ "Professional headshot, Sony A7III, 85mm f/1.8, three-point lighting"
|
||||
|
||||
### ❌ Ignoring Consistency
|
||||
- ❌ "Multiple photos of the same person"
|
||||
- ✅ "Same person, exact facial features preserved, different poses only"
|
||||
|
||||
### ❌ Unclear Hierarchy
|
||||
- ❌ Long paragraph with everything mixed together
|
||||
- ✅ Structured sections: Subject → Environment → Style → Technical specs
|
||||
|
||||
## Workflow Strategies
|
||||
|
||||
### 1. Start Broad, Then Refine
|
||||
```
|
||||
First pass: "Portrait of a young woman, outdoor setting"
|
||||
Refined: "Portrait of a young woman, 85mm lens, shallow DoF,
|
||||
golden hour lighting, urban park background, soft focus bokeh"
|
||||
```
|
||||
|
||||
### 2. Use Reference Layering
|
||||
```
|
||||
Base: "Fashion photography"
|
||||
+ Style: "in the style of Annie Leibovitz"
|
||||
+ Technical: "shot on Hasselblad H6D, 120mm macro lens"
|
||||
+ Mood: "editorial, high-fashion, dramatic lighting"
|
||||
```
|
||||
|
||||
### 3. Build Template Libraries
|
||||
Create reusable templates for common needs:
|
||||
- Professional headshots
|
||||
- Product photography
|
||||
- Social media content
|
||||
- Vintage aesthetics
|
||||
- 3D renders
|
||||
|
||||
## Negative Prompts
|
||||
|
||||
What to exclude (if supported):
|
||||
```
|
||||
Common negatives:
|
||||
- "no distorted faces, no extra limbs"
|
||||
- "no blurry, no low quality, no artifacts"
|
||||
- "no watermarks, no text overlays"
|
||||
- "no unrealistic proportions"
|
||||
- "no modern elements" (for vintage styles)
|
||||
```
|
||||
|
||||
## Quality Indicators
|
||||
|
||||
Add these for best results:
|
||||
```
|
||||
- "8K resolution, ultra-detailed"
|
||||
- "Photorealistic, high-fidelity"
|
||||
- "Professional photography, award-winning"
|
||||
- "Sharp focus, crisp details"
|
||||
- "Cinema-quality rendering"
|
||||
```
|
||||
|
||||
## Quick Reference Cheat Sheet
|
||||
|
||||
### Portrait
|
||||
`[Subject] | [Age/gender] | [Expression] | [Camera: 85mm f/1.8] | [Lighting: soft natural] | [Background: blurred] | [Style: editorial] | [Quality: 8K]`
|
||||
|
||||
### Product
|
||||
`[Product] | [Angle: 3/4 view] | [Background: pure white] | [Lighting: soft studio] | [Shadow: subtle contact] | [Quality: photorealistic, high-res]`
|
||||
|
||||
### Vintage
|
||||
`[Subject] | [Era: 1990s/2000s] | [Camera: disposable/digital] | [Flash: direct] | [Grain: authentic] | [Style: nostalgic] | [Colors: slightly faded]`
|
||||
|
||||
### 3D Render
|
||||
`[Subject] | [Style: isometric/chibi] | [Render: C4D] | [Lighting: soft studio] | [Materials: pastel, glossy] | [Background: solid color] | [Aesthetic: cute, minimalist]`
|
||||
|
||||
## Resources
|
||||
|
||||
- **Official Guide**: [Google Prompting Tips](https://blog.google/products/gemini/prompting-tips-nano-banana-pro/)
|
||||
- **Advanced Guide**: [How to prompt Nano Banana Pro](https://www.fofr.ai/nano-banana-pro-guide)
|
||||
- **Source Repository**: [[ZeroLuawesome-nanobanana-pro 🚀 An awesome list of curated Nano Banana pro prompts and examples. Your go-to resource for mastering prompt engineering and exploring the creative potential of the Nano banana pro(Nano banana 2) AI image model.|awesome-nanobanana-pro]]
|
||||
|
||||
## Practice Exercises
|
||||
|
||||
1. **Upgrade a basic prompt**: Transform "photo of a cat" into a detailed, technical prompt
|
||||
2. **Style transfer**: Take a prompt and adapt it for different eras (1980s → 2000s → modern)
|
||||
3. **Multi-parameter challenge**: Create a JSON prompt with 5+ nested parameters
|
||||
4. **Consistency test**: Write prompts for 3 related images maintaining exact subject consistency
|
||||
|
||||
---
|
||||
|
||||
*Last updated: 2026-01-07*
|
||||
*Source material: awesome-nanobanana-pro GitHub repository*
|
||||
Reference in New Issue
Block a user