Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

fix(image_gen): drop negative_prompt regression from manifest path

hugohe37ab3a46f0e2f
diff --git a/skills/ppt-master/references/image-generator.md b/skills/ppt-master/references/image-generator.md
index f3d54595..65f485b7 100644
--- a/skills/ppt-master/references/image-generator.md
+++ b/skills/ppt-master/references/image-generator.md
@@ -23,7 +23,6 @@ Every image becomes one entry under `items[]` in `project/images/image_prompts.j
| `purpose` | no | Which slide / what function (audit only) |
| `type` | no | `Background` / `Photography` / `Illustration` / `Diagram` / `Decorative` |
| `image_size` | no | `512px` / `1K` / `2K` / `4K`; overrides CLI `--image_size` |
-| `negative_prompt` | no | Audit only; not all backends consume it |
| `alt_text` | no | Caption for accessibility |
| `model` | no | Per-entry model override |
@@ -343,7 +342,6 @@ Write `project/images/image_prompts.json` with this shape. Top-level fields are
"aspect_ratio": "16:9",
"image_size": "2K",
"prompt": "{deck_style_anchor}, abstract futuristic background with flowing digital waves, deep navy gradient #1A3A5C to midnight, soft particle accents, clean center for text overlay, cinematic, 4K",
- "negative_prompt": "text, watermark, faces, busy patterns",
"alt_text": "Modern tech abstract background with deep blue gradient and digital waves",
"status": "Pending"
}
diff --git a/skills/ppt-master/scripts/image_gen.py b/skills/ppt-master/scripts/image_gen.py
index dd928925..db65c6a9 100644
--- a/skills/ppt-master/scripts/image_gen.py
+++ b/skills/ppt-master/scripts/image_gen.py
@@ -352,8 +352,8 @@ def load_manifest(path: str) -> dict:
`deck_style_anchor`, `color_scheme`, `generated_at`.
Each item requires: `filename`, `prompt`, `aspect_ratio`, `status`.
- Optional: `image_size`, `model`, `negative_prompt`, `alt_text`,
- `purpose`, `type`, `last_error`.
+ Optional: `image_size`, `model`, `alt_text`, `purpose`, `type`,
+ `last_error`.
"""
try:
data = json.loads(Path(path).read_text(encoding="utf-8"))
@@ -597,11 +597,6 @@ def render_manifest_md(manifest: dict) -> str:
lines.append("")
lines.append(item["prompt"])
lines.append("")
- if item.get("negative_prompt"):
- lines.append("**Negative Prompt**:")
- lines.append("")
- lines.append(item["negative_prompt"])
- lines.append("")
if item.get("alt_text"):
lines.append("**Alt Text**:")
lines.append(f"> {item['alt_text']}")