Sign In

SDXL - LM Studio Prompt Enhancer - gemma-4-12b-qat

Download

1 variant available

Config Other

23.5 KB

Verified:

Type

Workflows

Stats

15

Reviews

Published

Jun 22, 2026

Base Model

SDXL 1.0

Hash

AutoV2
50BB66AC09

This workflow requires my Comfyui-lmstudio-prompt-enhancer custom node which is installable via Comfy Manager.

Learn more about this custom node

🛈 IMPORTANT!!!

You will need to search for, download, and load the model google/gemma-4-12b-qat in LM studio. You will also need to start the API server and generate an API Key. Learn how to configure LM Studio here.

Notes for using google/gemma-4-12b-qat

  • I chose the QAT variant over the non-QAT variant as this workflow can benefit from optimized memory utilization.

  • This is a memory efficient model which is fast and does a decent job at generating aesthetically pleasing prompts.

  • I set the max tokens to 1500, this higher value is to accommodate the reasoning tokens.

  • If the image looks flat, check the logs in LM Studio, the last log entry will contain a JSON path x.choices[0].message.content if the content field is empty that means the LLM ran out of reasoning tokens, this can be resolved by increasing max_tokens.