gitwtfhub

wtf is stable-diffusion-webui-promptgen?

automatic1111/stable-diffusion-webui-promptgen — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2023-07-20

531PythonAudience · vibe coderComplexity · 2/5DormantSetup · easy

TL;DR

An add-on for Stable Diffusion's web UI that uses fine-tuned GPT-2 models to auto-generate creative image prompts, giving inspiration when you're stuck on what to type.

Mindmap

mindmap
  root((promptgen))
    What it does
      Generates prompts
      Uses fine-tuned GPT-2
      Suggests art directions
    Default models
      Lexica.art
      Majinai filtered
      Majinai unfiltered
    Flexibility
      Add Hugging Face models
      Run fully offline
      Local model folder
    Audience
      Artists
      Designers
      Stable Diffusion users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Generate a creative image prompt when you're stuck on what to type into Stable Diffusion.

REASON 2

Explore new artistic directions by sampling prompts from different fine-tuned models.

REASON 3

Swap in a custom Hugging Face prompt-generation model for a specific art style.

REASON 4

Run prompt generation fully offline using locally downloaded model files.

What's in the stack?

PythonGPT-2Stable DiffusionHugging Face

How it stacks up

automatic1111/stable-diffusion-webui-promptgenbaoweise-bot/aimili-vpngatekappaemme-git/codex-complexity-optimizer
Stars531533528
LanguagePythonPythonPython
Last pushed2023-07-20
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencevibe coderops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Ships with default models ready to use, offline use requires manually downloading model files into a local folder.

Yoink these prompts

Prompt 1
Show me how to install this promptgen extension into my Stable Diffusion web UI.
Prompt 2
Generate a few sample prompts using the Lexica.art model and explain what style they lean toward.
Prompt 3
Help me add a custom Hugging Face prompt-generation model to this extension's settings.
Prompt 4
Walk me through downloading model files so I can run promptgen fully offline without internet access.

Frequently asked questions

wtf is stable-diffusion-webui-promptgen?

An add-on for Stable Diffusion's web UI that uses fine-tuned GPT-2 models to auto-generate creative image prompts, giving inspiration when you're stuck on what to type.

What language is stable-diffusion-webui-promptgen written in?

Mainly Python. The stack also includes Python, GPT-2, Stable Diffusion.

Is stable-diffusion-webui-promptgen actively maintained?

Dormant — no commits in 2+ years (last push 2023-07-20).

How hard is stable-diffusion-webui-promptgen to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is stable-diffusion-webui-promptgen for?

Mainly vibe coder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.