references/config/watermark-guide.md
2.0 KB查看排版效果| 1 | --- |
| 2 | name: watermark-guide |
| 3 | description: Watermark configuration guide for baoyu-xhs-images |
| 4 | --- |
| 5 | |
| 6 | # Watermark Guide |
| 7 | |
| 8 | ## Position Diagram |
| 9 | |
| 10 | ``` |
| 11 | ┌─────────────────────────────┐ |
| 12 | │ [top-right]│ |
| 13 | │ │ |
| 14 | │ │ |
| 15 | │ IMAGE CONTENT │ |
| 16 | │ │ |
| 17 | │ │ |
| 18 | │[bottom-left][bottom-center][bottom-right]│ |
| 19 | └─────────────────────────────┘ |
| 20 | ``` |
| 21 | |
| 22 | ## Position Recommendations |
| 23 | |
| 24 | | Position | Best For | Avoid When | |
| 25 | |----------|----------|------------| |
| 26 | | `bottom-right` | Default choice, most common | Key info in bottom-right | |
| 27 | | `bottom-left` | Right-heavy layouts | Key info in bottom-left | |
| 28 | | `bottom-center` | Centered designs | Text-heavy bottom area | |
| 29 | | `top-right` | Bottom-heavy content | Title/header in top-right | |
| 30 | |
| 31 | ## Content Format |
| 32 | |
| 33 | | Format | Example | Style | |
| 34 | |--------|---------|-------| |
| 35 | | Handle | `@username` | Most common for XHS | |
| 36 | | Text | `MyBrand` | Simple branding | |
| 37 | | Chinese | `小红书:用户名` | Platform specific | |
| 38 | | URL | `myblog.com` | Cross-platform | |
| 39 | |
| 40 | ## Best Practices |
| 41 | |
| 42 | 1. **Consistency**: Use same watermark across all images in series |
| 43 | 2. **Legibility**: Ensure watermark readable on both light/dark areas |
| 44 | 3. **Size**: Keep subtle - should not distract from content |
| 45 | |
| 46 | ## Prompt Integration |
| 47 | |
| 48 | When watermark is enabled, add to image generation prompt: |
| 49 | |
| 50 | ``` |
| 51 | Include a subtle watermark "[content]" positioned at [position]. |
| 52 | The watermark should be legible but not distracting from the main content. |
| 53 | ``` |
| 54 | |
| 55 | ## Common Issues |
| 56 | |
| 57 | | Issue | Solution | |
| 58 | |-------|----------| |
| 59 | | Watermark invisible | Adjust position or check contrast | |
| 60 | | Watermark too prominent | Change position or reduce size | |
| 61 | | Watermark overlaps content | Change position | |
| 62 | | Inconsistent across images | Use session ID for consistency | |
文件内容是平台检查时读出的文本,只供查看。平台不会运行包里的任何脚本或程序。

