CivArchive
    πŸ”₯ Gemma 4 Prompt Director for LTX 2.3 β€” Cinematic AI Prompt Engine Workflow - v1.0
    NSFW

    🎬 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.py

    2. 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 4096

    Make sure it's running on:

    http://127.0.0.1:8080

    6. 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


    🎬 Cinematic Clip

    • Mode: AUTO

    • Style: Structured

    • Auto Director: Smart Auto


    πŸŽ₯ Netflix Trailer

    • Style: Trailer

    • Genre: Psychological Horror (example)

    • Intensity: Balanced or High Impact

    • Sound: Auto by Genre


    πŸ”₯ Full Automatic Generation

    • Auto Director: Full Auto

    • Subject: Off

    • Environment: 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!

    Description

    FAQ

    Comments (9)

    kudon44Apr 6, 2026
    CivitAI

    Oh! My favorite! When someone uploads only two examples, and they're both bad and don't showcase what they're trying to offer. Only beaten by zero examples trustmebro posts.

    lanceshockerApr 6, 2026
    CivitAI

    Description doesn't state if this requires an API or if it's done locally...

    salvoanna21
    Author
    Apr 6, 2026Β· 2 reactions

    only local

    The_Last_Goblin_KingApr 6, 2026Β· 1 reaction

    Description clearly says LLMC is running locally.

    H256Apr 6, 2026
    CivitAI

    Is this an extended version of this Node here? Then at least mention it (for kindness), please.

    salvoanna21
    Author
    Apr 6, 2026Β· 1 reaction

    similar but not the same, I took inspiration and improved it

    CyberAImaniaApr 7, 2026Β· 2 reactions
    CivitAI

    We need start llama server manually or workflow doing this automatic ?

    And where i choose lenght of video ? lol cant see

    TheRopeDudeApr 8, 2026
    CivitAI

    Great work thank you!
    Do you think about making a version with 2 references images for FLF2V?

    ingriduterus513Apr 8, 2026
    CivitAI

    I often get an OOM during upscaling. I have 12 GB VRAM.

    Workflows
    LTXV 2.3

    Details

    Downloads
    232
    Platform
    CivitAI
    Platform Status
    Available
    Created
    4/6/2026
    Updated
    5/14/2026
    Deleted
    -

    Files

    Gemma4PromptDirectorForLTX2_v10.zip

    Mirrors