Skip to content

Add Semantic Prompt (%%...%%) extension#415

Open
Kittensx wants to merge 2 commits intoAUTOMATIC1111:extensionsfrom
Kittensx:extensions
Open

Add Semantic Prompt (%%...%%) extension#415
Kittensx wants to merge 2 commits intoAUTOMATIC1111:extensionsfrom
Kittensx:extensions

Conversation

@Kittensx
Copy link

@Kittensx Kittensx commented Mar 3, 2026

Info

This PR adds Semantic Prompt (%%...%%) to the Automatic1111 extension index.

Repo:

https://github.com/Kittensx/Semantic-Prompt

Overview

Semantic Prompt expands natural language inside %%...%% blocks into structured Stable Diffusion tags using modular JSON packs and trigger logic.

The extension introduces a structured expansion layer while preserving manual control. Only text inside %%...%% is rewritten.

Features

Trigger phrase → category-based tag expansion

Explicit directive syntax for deterministic control

Modular JSON packs (fully user-editable)

requires chaining for coordinated style logic

excludes conflict cleanup (optional)

Category enable/disable controls in UI

Edit tags (live) - lets you add/edit json category keys with A1111 open

Included random prompt generator (seperate py file)

Included JSON validation tool (seperate py file)

The extension is self-contained and does not modify A1111 core functionality outside its rewrite scope.

Compatibility

Designed for Automatic1111

No external dependencies required

Works via standard scripts/ integration

Thank you for reviewing this submission.

Checklist:

  • I have read the Readme.md
  • The description is written in English.
  • The index.json and extension_template.json have not been modified.
  • The entry is placed in the extensions directory with the .json file extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant