# Gemini Image API Prompt Templates

这些模板用于复杂科研图件、多轮编辑和参考图重绘。建议始终先保存成 `prompt.txt` 再通过 `--prompt-file` 调用。

## 1. 参考图重绘模板

适合：已经有一张旧图，希望在保留结构和风格的基础上改内容。

```text
Use the provided figure as the reference base.
Keep the same overall composition, color palette, icon style, and arrow structure.
Improve the figure into a cleaner, publication-ready biomedical infographic.
Replace the existing text with the wording below.
Keep all text fully readable, well spaced, and free of cropping.
[粘贴标题与各框文案]
```

## 2. 第二轮 cleanup 模板

适合：第一轮内容已经对了，只需要修裁切、排版、拥挤和细节。

```text
Use the provided figure as a near-final base.
Keep the composition, colors, arrows, icons, and overall design almost unchanged.
Only make precise cleanup corrections.
Make sure no text is cropped or truncated anywhere.
Slightly reduce font sizes only if needed.
Keep the wording exactly as below.
[粘贴最终文案]
```

## 3. Variant A 模板（最小改动）

适合：只修 1-2 个问题，不想让模型大幅漂移。

```text
Use the provided figure as a near-final base.
Keep the same composition, colors, arrows, icons, and layout.
Only fix the following issues while preserving everything else:
- [问题1]
- [问题2]
Update only the specific text below if necessary.
[粘贴需要修改的框文案]
```

## 4. Variant B 模板（整体压缩文案）

适合：需要把整张图改成更适合“直接上图”的短句版。

```text
Use the provided figure as a base, but optimize it for on-figure readability.
Keep the same roadmap structure, blue biomedical infographic style, arrows, icons, and polished journal-quality look.
Make the wording more concise across the whole figure while preserving the scientific logic.
Use these shorter final texts:
[粘贴精简标题与各框文案]
```

## 5. Manuscript 驱动模板

适合：图件必须紧贴论文原文，而不是只追求美观。

```text
Create or edit a publication-ready scientific infographic based on the manuscript logic below.
The figure should reflect the true study sequence and the main prioritized signal.
Scientific sequence:
- [step 1]
- [step 2]
- [step 3]
Main prioritized message:
- [message 1]
- [message 2]
Visual requirements:
- professional, non-cartoonish, journal graphical abstract
- crisp vector icons
- balanced spacing
- exact wording where specified
[粘贴最终框内文案]
```

## 6. 常用负向约束句

根据问题选择少量加入，不要一次塞太多。

```text
Do not crop any text.
Do not change the box structure.
Do not alter the arrow directions.
Do not use blurry text.
Do not introduce cartoonish icons.
Do not rewrite the scientific meaning.
Do not add extra decorative clutter.
```

## 7. 常用质量提升句

```text
publication-ready biomedical infographic
journal graphical abstract
clean, non-cartoonish, professional
crisp vector-style icons
balanced spacing and fully readable typography
subtle emphasis on the prioritized signal
```
