MCPcopy Index your code
hub / github.com/SoftMeng/stable-diffusion-prompt-pai

github.com/SoftMeng/stable-diffusion-prompt-pai @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
11 symbols 22 edges 3 files 5 documented · 45%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

stable-diffusion-prompt-pai

generate a good stable diffusion prompt by alibaba-pai

Installation

  1. Install AUTOMATIC1111's Stable Diffusion Webui
  2. Clone this repository into the extensions folder inside the webui

Usage

  1. Write in the prompt in the Start of the prompt text box
  2. Click Generate and wait

The initial use of the model may take longer as it needs to be downloaded to your machine for offline use.

intro

The rendering effect of the 'Prompt' generated using '1Girl with glass and crystal' is as follows

Chinese: 使用1girl with glass and crystal生成的Prompt的出图效果如下

intro intro intro

Parameters Explanation

  • Start of the prompt: As the name suggests, the start of the prompt that the generator should start with
  • Repetition Penalty: The parameter for repetition penalty. 1.0 means no penalty. Default setting is 1.2
  • How Many To Generate: The number of results to generate

Thanks

https://huggingface.co/alibaba-pai/pai-bloom-1b1-text2prompt-sd

intro

微信

intro

Core symbols most depended-on inside this repo

populate_models
called by 0
scripts/prompt_generator.py
add_to_prompt
called by 0
scripts/prompt_generator.py
get_list_blacklist
called by 0
scripts/prompt_generator.py
on_ui_tabs
called by 0
scripts/prompt_generator.py
generate_longer_generic
called by 0
scripts/prompt_generator.py
ui_dynamic_result_visible
called by 0
scripts/prompt_generator.py
ui_dynamic_result_prompts
called by 0
scripts/prompt_generator.py
ui_dynamic_result_batch
called by 0
scripts/prompt_generator.py

Shape

Function 9
Class 1
Method 1

Languages

Python100%

Modules by API surface

scripts/prompt_generator.py11 symbols

For agents

$ claude mcp add stable-diffusion-prompt-pai \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page