xlinx / sd-webui-decadetw-auto-prompt-llm

sd-webui-auto-prompt-llm
MIT License
41 stars 5 forks source link

Quick Links

SD-WEB-UI | ComfyUI | decadetw-Auto-Prompt-LLM-Vision


Update Log

Motivation💡

Usage

LLM-Text

Before and After script


[🟢] stable-diffusion-webui-AUTOMATIC1111
[🟢] stable-diffusion-webui-forge
[🟢] ComfyUI
1. SD-Prompt ✦
1girl
2.1 LLM-Text ✦ 2.2 LLM-Vision ✦
a super star on stage. Who is she in image?
2.3 LLM-Text-sys-prompt ✦ 2.4 LLM-Vision-sys-prompt ✦
You are an AI prompt word engineer. Use the provided keywords to create a beautiful composition. Only the prompt words are needed, not your feelings. Customize the style, scene, decoration, etc., and be as detailed as possible without endings. You are an AI prompt word engineer. Use the provided image to create a beautiful composition. Only the prompt words are needed, not your feelings. Customize the style, scene, decoration, etc., and be as detailed as possible without endings.
3. LLM will answer other detail ✦
The superstar, with their hair flowing in the wind, stands on the stage. The lights dance around them, creating a magical moment that fills everyone present with awe. Their eyes shine bright, as if they are ready to take on the world.
The superstar stands tall in their sparkling costume, surrounded by fans who chant and cheer their name. The lights shine down on them, making their hair shine like silver. The crowd is electric, every muscle tense, waiting for the superstar to perform
4. Main Interface | sd-web-ui | ComfyUI
ComfyUI Manager | search keyword: auto

Usage

Input Output
LLM-Text: a superstar on stage.
LLM-Vision: What's pose in this image?.
(okay, its cool.)
LLM-Text: a superstar on stage.
LLM-Vision: with a zebra image
(okie, cooool show dress. At least we don't have half zebra half human.)
LLM-Text: a superstar on stage.
(okay, its cool.)
LLM: a superstar on stage.
(Wow... the describe of light is great.)
LLM: a superstar on stage.
(hnn... funny, it does make sense.)
CHALLENGE
LLM-vision:A Snow White girl walk in forest.

(detect ur LLM-Vision Model IQ; if u didnt get white dress and lot of snow.... plz let me know model name)
  • SD model: Flux.1 D
  • LLM model: llava-llama-3.1-8b
  • LLM model: Eris_PrimeV4-Vision-32k-7B-IQ3_XXS
  • FLUX model
    hnn...NSFW show. I'm not mean that, but not a wrong answer.
    (Trigger more details; that u never thought about it.)
  • SD model: Flux.1 D
  • LLM model: llava-llama-3.1-8b
  • LLM model: Eris_PrimeV4-Vision-32k-7B-IQ3_XXS
  • advanced use | before-after-action
    in fact, u can run any u want script | (storyboard) | random read line from txt send into LLM
    Special LLM Loop
    Connect 1st LLM-Text output to 2nd LLM-Text Input
    Special LLM Loop - keep each feature assign to different obj not mix it on one.
    LLM-Text output ask looply : here
    [new tool 20240915] Civitai Prompt Grabber
    • quick prompt from civitai. u can pick some prompt from another area model(ex indoor design or building model) with ur 1girl, ex: 1girl(up figure)) + in-door design model-prompt. then u will get full detail in background(bottom figure) : https://civitai.com/models/85691
    • this is good present in FLUX model. trigger more detail in background. Make the photo getting more realistic feeling
    • option1. just quick append prompt from other model from civitai or
    • option2. of course u can send it into LLM too.

    Usage Tips

    Installtion

    Suggestion software info list

    Suggestion LLM Model

    Using Online LLM Service Setup example

    OpenAI ChatGPT

    Google Gemini

    X Grok

    claude.ai

    Hugging face space

    Javascript!

    security issue, but u can consider as follows.

    Buy me a Coca cola ☕

    https://buymeacoffee.com/xxoooxx

    Colophon

    Made for fun. I hope if brings you great joy, and perfect hair forever. Contact me with questions and comments, but not threats, please. And feel free to contribute! Pull requests and ideas in Discussions or Issues will be taken quite seriously! --- https://decade.tw