unprompted  by ThereforeGames

Templating language for Stable Diffusion workflows

Created 2 years ago
809 stars

Top 43.7% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Unprompted is a templating language and toolkit designed to enhance Stable Diffusion prompting workflows, offering advanced logic and natural language features for users of the Automatic1111 WebUI and ComfyUI. It aims to simplify complex prompt generation with a readable, shortcode-based syntax, benefiting both novice and experienced Stable Diffusion users.

How It Works

Unprompted utilizes a shortcode system, similar to template engines, to embed dynamic logic and natural language processing directly into prompts. This approach allows for features like conditional statements ([if]), file imports ([file]), randomized choices ([choose]), and even recursion and nested shortcodes. Its design prioritizes readability and extensibility, enabling users to create complex, organized, and reusable prompt structures.

Quick Start & Requirements

  • Installation (Automatic1111 WebUI):
    1. Navigate to the "Extensions" tab.
    2. Select "Install from URL" and paste https://github.com/ThereforeGames/unprompted.
    3. Click "Install" and restart the WebUI.
  • Installation (Standalone Python): pip install unprompted@git+https://github.com/ThereforeGames/unprompted
  • Prerequisites: Python, Automatic1111 WebUI or ComfyUI.
  • Documentation: Manual, Starter Guide

Highlighted Details

  • Over 70 built-in shortcodes, including conditionals, file imports, and choice blocks.
  • Supports advanced programming concepts like recursion, nested shortcodes, and logic operators.
  • Features exclusive Stable Diffusion tools such as [txt2mask] and Bodysnatcher.
  • Includes natural language processing capabilities like auto-pluralization and synonym finding.

Maintenance & Community

The project is maintained by a solo developer. Discussions and template sharing occur on the project's GitHub Discussion Board.

Licensing & Compatibility

The project is licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

While the core functionality is free, premium template packs are offered separately. The README mentions a "bus factor" of one, as the project is developed by a solo individual.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
41 more.

guidance by guidance-ai

0.1%
21k
Guidance is a programming paradigm for steering LLMs
Created 2 years ago
Updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
15 more.

codellama by meta-llama

0.0%
16k
Inference code for CodeLlama models
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.