🔥 Gemma 4 Prompt Director for LTX 2.3 — Cinematic AI Prompt Engine Workflow
详情
下载文件 (1)
关于此版本
模型描述
🎬 Overview
This custom ComfyUI node transforms prompt generation into a full cinematic directing system powered by Gemma 4.
Instead of writing basic prompts, this node acts as an AI Director, automatically generating:
Structured cinematic prompts (LTX 2.3 optimized)
Timeline-based scenes (perfect for video generation)
Camera direction, environment, subject behavior
Sound design layers
Genre-aware trailer logic (Netflix-style)
Whether you're creating short cinematic clips or full 20-second trailers, this node handles everything — from concept to final prompt.
🚀 Key Features
🎥 Structured Cinematic Prompts
Clean sections:
[Camera][Environment][Subject][Timeline][Sound]
Optimized for LTX 2.3 video generation
🎬 Auto Director System
Fully automatic scene creation with multiple modes:
Smart Auto → balanced, high-quality results
Full Auto → complete scene generation
Chaos Auto → maximum creativity & variation
Generates automatically:
subjects & relationships
environments
camera style
actions & motion
sound design
🎭 Subject Control
Choose or randomize:
Female subject
Male subject
Hetero couple
Lesbian couple
Or let AI decide
🌍 Expanded Environment Database
Massive internal preset library:
Cinematic interiors
Urban & nightlife scenes
Nature & fantasy environments
Horror & liminal spaces
Action & disaster setups
Auto-selected or manually controlled.
🎬 Netflix-Style Trailer Mode (NEW)
Generate full 20-second cinematic trailers with:
5 structured timeline beats
Genre-based pacing
Dynamic camera progression
Sound design adapted to genre
Final hook shot
Supported Genres:
Psychological Horror
Sci-Fi Thriller
Action Spectacle
Dark Fantasy
Romantic Drama
Crime / Mystery
Dystopian / Survival
And many more
⚙️ Style Presets
Structured modes include:
Structured Romance
Structured Power
Structured Action
Structured Horror
Structured Dreamlike
Structured Realism
Structured POV
Structured Epic
Structured Minimal
🧠 Why This Node?
This is not just a prompt generator.
It is a:
👉 Cinematic Prompt Engine
👉 AI Scene Director
👉 Video Pre-Production Tool
Designed specifically for:
LTX 2.3 workflows
Text-to-video pipelines
High-end cinematic AI generation
🛠 Installation Guide (Step-by-Step)
1. Download the Node
Download the file:
gemma4_prompt_gen.py2. Place the File
Move it into:
ComfyUI/custom_nodes/Gemma4Prompt/If the folder doesn’t exist, create it manually.
3. Verify Structure
Your folder should look like:
ComfyUI/
└── custom_nodes/
└── Gemma4Prompt/
├── __init__.py
└── gemma4_prompt_gen.py⚠️ Do NOT rename __init__.py
⚠️ File name must be exactly: gemma4_prompt_gen.py
4. Install Dependencies
Make sure you have:
Python 3.10+
CUDA working (for GPU inference)
llama.cpp build with CUDA support
5. Setup llama-server
Download a CUDA-enabled build and run:
llama-server.exe -m YOUR_MODEL.gguf -ngl 60 --ctx-size 4096Make sure it's running on:
http://127.0.0.1:80806. Restart ComfyUI
Launch ComfyUI again and check:
Node appears as Gemma4PromptGen
No errors in console
7. Load Workflow
Use your existing workflow or connect:
Instruction input
Optional environment / subject
Output prompt → LTX pipeline
⚡ Recommended Settings
🎬 Cinematic Clip
Mode:
AUTOStyle:
StructuredAuto Director:
Smart Auto
🎥 Netflix Trailer
Style:
TrailerGenre:
Psychological Horror(example)Intensity:
BalancedorHigh ImpactSound:
Auto by Genre
🔥 Full Automatic Generation
Auto Director:
Full AutoSubject:
OffEnvironment:
LLM decides
💡 Final Notes
Higher token limits = longer, richer prompts
Structured mode is best for LTX
Trailer mode is ideal for storytelling
🎯 Result
With this node, you move from:
❌ basic prompts
➡️ to
🔥 AI-directed cinematic storytelling
If you like it, drop a like ⭐
and share your generations — I’d love to see what you create!