gitwtfhub

wtf is image-prompt-corrector?

slasher006/image-prompt-corrector — explained in plain English

Analysis updated 2026-05-18

2PythonAudience · designerComplexity · 3/5Setup · moderate

TL;DR

A desktop app that uses your own local LM Studio or Ollama model to clean up and correct image generation prompts for Krea 2 or FLUX.

Mindmap

mindmap
  root((prompt-corrector))
    What it does
      Corrects image prompts
      Uses local LM Studio or Ollama
      Reviews generated images
    Tech stack
      Python
      PySide6
      LM Studio
      Ollama
    Use cases
      Clean up a rough prompt
      Build a comic or meme prompt
      Batch correct prompts from CSV
    Audience
      AI artists
      Prompt engineers

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

Turn a rough or messy prompt into a cleaner one for Krea 2 or FLUX.

REASON 2

Build a comic story or meme with its own dedicated correction workflow.

REASON 3

Batch correct many prompts at once from a CSV file.

REASON 4

Review a generated image against your prompt in the Workbench mode.

What's in the stack?

PythonPySide6LM StudioOllama

How it stacks up

slasher006/image-prompt-corrector0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity3/52/52/5
Audiencedesignergeneralgeneral

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

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires a local LM Studio or Ollama server running with a compatible model already downloaded.

The README excerpt does not state license terms.

Wtf does this do

Image Prompt Corrector is a desktop application, built with Python and Qt, that helps you turn a rough or messy image generation prompt into a clean, faithful one for Krea 2 or FLUX.2 Klein 9B. Instead of calling out to a cloud AI service, it talks to a chat model you already have running locally through LM Studio or Ollama, and uses that model to clean up spelling, tighten wording, and reorganize your prompt so that details about an object stay grouped with its own attributes and actions. The app is organized into separate modes: a main Prompt Corrector for general image prompts, a Comic Story mode, a Meme Creator with its own caption and layout tools, a Model Chat mode for talking directly to your local model, and a Workbench that closes the loop by letting you review the actual generated image against your prompt. Several correction styles are offered, ranging from an Exact mode that prioritizes staying faithful to your original wording, to Explore and Improve modes that allow more creative rewriting. It includes a number of built in checks meant to catch problems before you spend time generating an image, such as verifying object counts, catching contradictions or unclear actions, translating vague or slang phrasing into concrete visual language, and turning abstract feelings into concrete visual cues like posture, lighting, and framing. There is also an optional feature for grounded web verification and reference image analysis, plus batch correction from a CSV file. To run it you need Python 3.10 or newer, the PySide6 library, and either LM Studio with its local server turned on or a running Ollama installation with a compatible model downloaded. After installing the Python dependencies in a virtual environment, you launch the GUI with a provided shell script or by running the main Python file directly. The full README is longer than what was shown.

Yoink these prompts

Prompt 1
Show me how to set up LM Studio so this app can connect to it.
Prompt 2
Explain the difference between Exact, Improve, and Explore correction modes here.
Prompt 3
Walk me through installing the Python dependencies and launching the GUI.
Prompt 4
Help me use Ollama instead of LM Studio as the model backend for this app.

Frequently asked questions

wtf is image-prompt-corrector?

A desktop app that uses your own local LM Studio or Ollama model to clean up and correct image generation prompts for Krea 2 or FLUX.

What language is image-prompt-corrector written in?

Mainly Python. The stack also includes Python, PySide6, LM Studio.

What license does image-prompt-corrector use?

The README excerpt does not state license terms.

How hard is image-prompt-corrector to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is image-prompt-corrector for?

Mainly designer.

View the repo → Decode another repo

This repo across BitVibe Labs

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