Image & Video

Gemma4 Prompt Engineer - Early access -

New ComfyUI node uses Gemma 4 31B to create model-specific prompts without cloud APIs.

Deep Dive

A developer known as 'Gemma4Prompt' has released early access to Gemma4 Prompt Engineer, a custom node for the popular ComfyUI workflow manager. The tool leverages the Gemma 4 31B 'abliterated' model—a community-modified version that removes restrictive content filters—running entirely locally via llama-server. This approach eliminates cloud API keys and costs, keeping all prompt generation private on the user's machine. The node specifically tailors outputs for six distinct AI media models: LTX 2.3 (cinematic paragraphs), Wan 2.2 (motion-first), Flux.1 (natural language), SDXL 1.0 (booru tag style), Pony XL (e621 format), and SD 1.5 (weighted classic), ensuring each prompt format matches the target model's optimal input structure.

Key features include 48 detailed environment presets covering styles from Wes Anderson to K-drama, a PREVIEW/SEND mode for workflow control, character locking for LoRA consistency, screenplay formatting for LTX 2.3, and dialogue injection for video prompts. The setup process is automated for Windows users via a batch file that handles llama-server installation and model downloading to C:\models\. Current limitations restrict it to Windows/CUDA systems with substantial VRAM (~20GB for the 31B Q4_K_M quantized model). The developer notes this is early-access software with ongoing tuning, particularly around interrupt behavior and server management improvements.

Key Points
  • Uses Gemma 4 31B 'abliterated' GGUF model running locally via llama-server with no API keys or cloud dependency
  • Generates specialized prompts for 6 AI models (LTX 2.3, Wan 2.2, Flux, SDXL, Pony XL, SD 1.5) with 48 environment presets
  • Windows/CUDA only with ~20GB VRAM requirement; includes auto-installer and VRAM management features for ComfyUI workflows

Why It Matters

Enables professional-grade, model-specific prompt generation entirely offline, giving creators full control and privacy without subscription costs.