# soulteary/docker-prompt-generator

Using a Model to generate prompts for Model applications. / 使用模型来生成作图咒语的偷懒工具，支持 MidJourney、Stable Diffusion 等。

Repository: https://github.com/soulteary/docker-prompt-generator
Canonical: https://ross.abutalabs.com/products/docker-prompt-generator
Homepage: https://soulteary.com/2023/04/05/eighty-lines-of-code-to-implement-the-open-source-midjourney-and-stable-diffusion-spell-drawing-tool.html
Language: Python
License: MIT
License Family: permissive
Topics: midjourney, midjourney-app, prompt, prompt-tool, stable-diffusion, stable-diffusion-webui
Last push: 2023-04-05T16:20:44+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 89
- inputs: {"age_days": 1247, "days_push": 1246, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1158, forks 109 (observed 2026-08-28T04:03:48.517942+00:00)

## What it is
A Docker-based web application that uses language models to generate and expand prompts for image generation tools like MidJourney and Stable Diffusion. It supports parsing prompts from images (like MidJourney's Describe feature) and writing prompts in Chinese with translation to effective English prompt text.

## Use cases
- generate prompts for stable diffusion from keywords
- convert an image into a midjourney-style prompt
- write image prompts in Chinese and get English prompt text
- expand short prompt ideas into detailed drawing prompts
- self-host a prompt describe tool like midjourney's describe feature

## When to choose
- you want an open-source alternative to MidJourney's Describe feature
- you prefer writing prompts in Chinese
- you want a self-hosted Docker tool with CPU or GPU inference

## When to avoid
- you need a managed SaaS prompt tool without Docker setup
- you need prompt generation for models other than MidJourney or Stable Diffusion
- you need actively developed software with recent updates

## Facets
- artifact type: application
- maturity: maintenance
- function: machine-learning, nlp, prompt-engineering, image-processing
- domain: artificial-intelligence, image-processing, developer-tools
- platform: windows
- tags: prompt-generator, midjourney, stable-diffusion, text-to-image, image-to-prompt, chinese-input, gradio-web-ui, natural-language-processing, docker, linux, macos, gpu, web-server

## Member repositories
- soulteary/docker-prompt-generator (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:48.517942+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:58.911470+00:00, confidence not recorded.
  - readme: https://github.com/soulteary/docker-prompt-generator (fetched 2026-08-28T04:03:48.517942+00:00, sha 6153c3e03b37)
  - homepage: https://soulteary.com/2023/04/05/eighty-lines-of-code-to-implement-the-open-source-midjourney-and-stable-diffusion-spell-drawing-tool.html (fetched 2026-08-29T12:36:59.744921+00:00, sha 87fcca9b745e)
  - site_page: https://soulteary.com/about (fetched 2026-08-29T12:36:59.755643+00:00, sha 2627e6f94743)
  - site_page: https://soulteary.com/about-site (fetched 2026-08-29T12:36:59.758184+00:00, sha e00b1680253d)
  - site_page: https://soulteary.com/2023/03/22/docker-based-deep-learning-environment-getting-started.html (fetched 2026-08-29T12:36:59.760642+00:00, sha 38dfc8876542)
- Data as of 2026-08-30T08:39:29.467469+00:00.
