mkdocs/docs/en/examples/image-prompt-garden-nb151.md
This example walks through a complete image prompt workflow: choose a reusable template from the prompt library, import it into Optimizer, edit a few core variables, use smart variable fill for the remaining fields, and compare outputs from two image models.
The example uses the vintage commemorative postage stamp poster prompt from the prompt library. Its import code is ZH-NB-151.
Open the prompt detail page and review the prompt description, sample images, and import code. This template is designed to turn solar terms, cities, character birthdays, product launches, or commemorative events into vertical collectible postage stamp posters.
There are two entry points on the prompt page:
ZH-NB-151 and import it manually in Optimizer later.Open Optimizer's text-to-image workspace. If you did not jump directly from the prompt library page, click the flower icon in the right toolbar and choose the Prompt Garden import action.
Paste the import code ZH-NB-151 into the dialog and click Import.
After import, Optimizer keeps the template body and detects 7 variables: title, commemoration, date, subject, palette, denomination, and tagline. The sample values from the template are also imported, so you can edit them directly.
You can edit variables one by one. In this example, the stamp poster structure stays the same, while the core theme changes to Beginning of Summer and Yoimiya from Genshin Impact:
| Variable | Example value |
|---|---|
title | 立夏 |
commemoration | 二十四节气·立夏纪念 |
date | 2026 / 05 / 05 |
subject | 原神的宵宫 |
The remaining variables can be filled manually, or left empty and completed with smart variable fill.
Click Smart Variable Fill. Optimizer generates values for the remaining fields from the existing variables. The confirmation dialog shows the generated values, reasons, and confidence scores, so you can apply only the suggestions you want.
In this run, smart fill completed the palette, denomination, and tagline so they matched the Beginning of Summer and Yoimiya theme.
After applying the suggestions, you can still adjust the values. The final generation used:
| Variable | Example value |
|---|---|
palette | 暖金、翠竹绿、浅米纸色 |
denomination | 120分 纪念邮资 编号:2026-4 |
tagline | 夏木已成阴,烟花映长空 |
After confirming the variables, choose the image models in the test area. In this example:
gpt-image-2Doubao Seedream 5.0 LiteGenerate both columns to compare how the models interpret the same prompt. Column A is closer to a complete vintage postage stamp poster, with more stable perforations, postmark, denomination, date block, and title hierarchy. Column B looks more like a bright character illustration card: lighter and cleaner, but less like a collectible poster.
If one result is closer to the target, download it or continue refining the variables around that direction. Below is the final gpt-image-2 result from this run.