File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed
src/vault_image_description Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change 1+ # =======================================
2+ # Vault Image Description Modes
3+ # ---------------------------------------
4+ # Enumerates the ways PtiCalin can chat
5+ # about an image. Each mode selects a
6+ # prompt for Ollama so your alt text has
7+ # just the right style.
8+ # =======================================
9+
110from enum import Enum
211
312class Mode (Enum ):
4- PINTEREST_PIN = "pinterest_pin"
5- STABLE_DIFFUSION_PROMPT = "stable_diffusion_prompt"
6- EKPHRASIS = "ekphrasis"
7- BRIEF = "brief"
8- DETAILED = "detailed"
9- EXTRACT_TEXT = "extract_text"
10- MIDJOURNEY_PROMPT = "midjourney_prompt"
11- TECHNICAL_ARTSTYLE = "technical_artstyle"
12- ANALYSIS = "analysis"
13+ PINTEREST_PIN = "pinterest_pin" # 📌 Trendy pin title and caption.
14+ STABLE_DIFFUSION_PROMPT = "stable_diffusion_prompt" # 🎨 Prompt fit for image generation.
15+ EKPHRASIS = "ekphrasis" # 🖋️ A poetic take on the picture.
16+ BRIEF = "brief" # ✂️ Short alt text that gets to the point.
17+ DETAILED = "detailed" # 🔍 Longer description with extra nuance.
18+ EXTRACT_TEXT = "extract_text" # 🔡 Pull out any visible text.
19+ MIDJOURNEY_PROMPT = "midjourney_prompt" # 🚀 Prompt tailored for Midjourney.
20+ TECHNICAL_ARTSTYLE = "technical_artstyle" # 📐 Notes on art techniques and style.
21+ ANALYSIS = "analysis" # 🎓 Academic commentary on the image.
1322
1423PROMPTS = {
1524 Mode .PINTEREST_PIN : (
You can’t perform that action at this time.
0 commit comments