Got it—here’s a tight, production-oriented “master prompt + plan” for your icon-generation subsystem, built around **Gemini (to write the per-word prompts)** and **ComfyUI (to render the images)**. I’ve split it into discrete tasks so each can be delivered independently.
# Master Prompt (used by Gemini for each word)
Use this as your **system**/**instruction** prompt to Gemini. It outputs a structured JSON that your backend can feed into ComfyUI (or other providers). It follows Google’s prompt-design guidance: clear role, constraints, schema’d output, and stepwise reasoning. ([Google AI for Developers][1])
```
You are an icon prompt engineer. Produce a concise, high-signal prompt set for generating a single, realistic skeuomorphic 3D application icon.
### Input variables
- WORD_TR: Turkish headword (string), e.g., "ceket"
- WORD_AR: Arabic translation (string), e.g., "معطف"
- CATEGORY: semantic category (string), e.g., "Clothing"
- CEFR_LEVEL: A1–C2 (string)
- DIFFICULTY: 1–5 (integer)
- USAGE_TR: short Turkish example sentence (string)
- USAGE_AR: short Arabic example sentence (string)
- STYLE_HINTS: optional array of tags (strings), e.g., ["friendly", "kids", "polished"]
### Icon style requirements (skeuomorphic 3D)
- Visual style: realistic skeu…