Extensions/AkkiNodes LLM Suite: Your Personal AI Film Studio
ComfyUI Extension

AkkiNodes LLM Suite: Your Personal AI Film Studio

A suite of advanced ComfyUI custom nodes for a complete 'Script-to-Screen' workflow, powered by local LLMs.

By routhakash·Created about a year ago·Updated 9 months ago· 8
routhakash/AkkiNodes-LLM-Suite-for-ComfyUI
Nodes27
On cloudLocal install
CategoryAkkiNodes/Visuals, AkkiNodes/Production
Stars8
Updated9 months ago

Nodes (27)

AI Character Lookdev (Bible) v13.0 - Akki

The node that turns a character bible into a render-ready prompt

AkkiNodes/Visuals
AI Cinematographer (Pro) v3.9 - Akki

Turn a screenplay into a shot list, one scene at a time

AkkiNodes/Production
AI QC Supervisor v2.1 - Akki

The sanity checker that strips junk out of your shot list

AkkiNodes/Production
AI Scene Choreographer (Bible) v4.3 - Akki

The node that writes the actual image prompts for every shot in a scene

AkkiNodes/Visuals/Production Line
AI ScriptCrafter 01 (Bible) v7.2 - Akki

One call, and you have a character bible and a world bible

AkkiNodes/ScriptCraft
AI ScriptCrafter 02 (Bible) v4.0 - Akki

The 15-beat story blueprint that keeps your bibles in the loop

AkkiNodes/ScriptCraft
AI ScriptCrafter 03 (Bible) v16.8 - Akki

A screenplay writer with a Fountain-format enforcer

AkkiNodes/ScriptCraft
AI Set Lookdev (Bible) v6.0 - Akki

Art-direct a whole set, then generate its time-of-day variations

AkkiNodes/Visuals
AI Shot Duration Calculator - Akki

Guess how long every shot lasts so your edit isn't chaos

AkkiNodes/Production
AI Video Prompt Engineer (Pro) v2.4 - Akki

Turn a lookdev image prompt into a video prompt that moves

AkkiNodes/Video
Asset Selector v3.6 (Prod) - Akki

The production manager that parses your shot list CSV

AkkiNodes/Production
Generic File Loader v1.0 - Akki

Load the latest version of a shot's data file

AkkiNodes/FileIO
Generic File Saver v1.0 - Akki

Save anything to disk with a versioned, shot-specific filename

AkkiNodes/FileIO
Generic Image Shot Loader v1.0 - Akki

Pull the latest render for a shot back into the graph

AkkiNodes/FileIO
Generic Image File Namer v1.0 - Akki

Build the file prefix that keeps every render organized

AkkiNodes/FileIO
Keyword Loader v1.0 - Akki

Load the keyword bag for a shot inside a render loop

AkkiNodes/FileIO
LLM Loader (LM Studio) v1.0 - Akki

Skip the GGUF download — run your LLM in LM Studio instead

AkkiNodes/LLM
Load Text File (Advanced) v7.0 - Akki

Load a project file from a dropdown instead of typing paths

AkkiNodes/FileIO
Load Text File (Simple) v7.0 - Akki

The dead-simple way to read a text file into a workflow

AkkiNodes/FileIO
Lookdev Bible Loader v3.6 - Akki

Load every lookdev prompt for the characters and sets in your project

AkkiNodes/FileIO
Project Director v1.0 - Akki

The project path node that stops Akki's film pipeline from dumping files everywhere

AkkiNodes/FileIO
Pro Shot List Parser v9.4 (Definitive)

The parser that turns an LLM's messy shot breakdown into a CSV your whole pipeline can trust

AkkiNodes/Production
Save Text File v7.0 - Akki

The file-save node that version-numbers everything your LLM pipeline spits out

AkkiNodes/FileIO
Scene Choreography Loader v2.1 - Akki

Get a scene's latest choreography text without hunting through folders

AkkiNodes/FileIO
Shot Asset Loader v3.7 - Akki

The node that assembles a shot's cast, set, and lookdev prompts before you render

AkkiNodes/FileIO
Shot Selector v3.6 (DP) - Akki

The 'data provider' that slices one shot out of your production CSV — and hands you the numbers around it

AkkiNodes/Production
Video Prompt Loader v1.0 - Akki

Load a shot's latest video prompt by name, so your loop never re-picks stale text

AkkiNodes/FileIO
Readme
<p align="center"> <img src="https://github.com/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI/blob/main/_assets/images/AkkiNodes_Banner.png?raw=true" alt="AkkiNodes Banner" width="1080"/> </p>

🎭 AI Akki's GenAI Suite: Your Personal AI Film Studio

<p align="center"> <a href="https://github.com/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI/stargazers"><img src="https://img.shields.io/github/stars/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI?style=social" alt="Stars"></a> <a href="https://github.com/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI/blob/main/LICENSE"><img src="https://img.shields.io/github/license/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI?color=blue" alt="License"></a> <img src="https://img.shields.io/badge/Version-v77.0.0-blueviolet" alt="Version"> <img src="https://img.shields.io/badge/ComfyUI-Compatible-brightgreen" alt="ComfyUI"> </p>

The world of Generative AI is often a chaotic collection of powerful but disconnected tools. My work is dedicated to solving this problem. As a GenAI Creative Engineer, I specialize in architecting robust, autonomous AI Agents and integrating them into seamless, production-ready workflows. This project, the AkkiNodes Suite for ComfyUI, is a practical demonstration of this philosophy, designed to provide a fully automated "Script to Screen" pipeline that runs entirely on your local machine.


✨ My Engineering Philosophy

My approach to building with Generative AI is guided by a core set of engineering principles, designed to create robust, reliable, and truly automated systems.

1. The "Specialist Model": A Crew of AI Agents I design workflows that operate like a professional production team. Instead of relying on a single, monolithic AI, this suite is powered by a crew of highly specialized AI Agents. Each agent (the ScriptCrafter, the Cinematographer, the Lookdev Artist) is an expert in its domain, leading to higher quality, more consistent, and more controllable creative outputs.

2. Code is Law: Deterministic Systems over Non-Deterministic AI For tasks that require absolute precision and reliability—like data parsing, formatting, or enforcing factual continuity—AI is the wrong tool. My workflows use AI for what it does best (creativity) and rely on robust, deterministic Python code for what AI does poorly (correctness). This "Python Enforcer" pattern is the key to a stable pipeline.

3. Fix Data at the Source: Proactive Quality Control A stable workflow cannot be built on a foundation of "garbage-in, garbage-out." My philosophy is to fix data errors and creative deficiencies in the node that produces them (the "producer"), rather than creating "patch" nodes downstream. This keeps the pipeline lean, efficient, and easy to debug.

4. 100% Local, 100% Private (The Foundation) And finally, your creative process should be yours alone. This entire suite of tools and agents is built to run entirely on your local machine, guaranteeing total privacy, zero API fees, and complete creative control over your work.

5. The Assembly Line: End-to-End Automation The ultimate goal of a robust workflow is to minimize manual friction. This suite is architected as an automated production line where you provide the high-level creative inputs—the 'building blocks' of your story—at the beginning. From there, the chain of AI Agents and deterministic tools handles the entire production process, automatically generating the narrative documents, production data, and final visual prompts without requiring manual file editing or data correction between stages.


⚙️ Installation Guide

  1. Clone or Download:

    • Clone this repository into your ComfyUI/custom_nodes/ directory.
    • Alternatively, download the ZIP, extract it, and place the AkkiNodes-LLM-Suite-for-ComfyUI folder inside ComfyUI/custom_nodes/.
  2. Install Dependencies (Windows):

    • Navigate into the new AkkiNodes-LLM-Suite-for-ComfyUI folder.
    • Right-click install.bat and select "Run as administrator". This only needs to be done once.
  3. Download a GGUF Model:

    • This suite requires a GGUF-format Large Language Model. You can find thousands of compatible models on Hugging Face's GGUF Model Hub.
    • Place your downloaded .gguf file into your ComfyUI/models/llms/ directory.
  4. Restart ComfyUI:

    • Completely close and restart your ComfyUI instance.

🖥️ System & Environment

This suite is designed for local execution and is GPU-intensive, particularly during LLM and image generation phases. The primary development and testing environment is as follows:

  • OS: Windows 11 Pro
  • CPU: 13th Gen Intel Core i7-13700K
  • GPU: NVIDIA GeForce RTX 3060
  • VRAM: 12 GB
  • System RAM: 64 GB
  • ComfyUI Version: v0.3.50
  • Python Version: v3.12.0

While the suite may work on other configurations, performance will vary. A GPU with at least 12GB of VRAM is strongly recommended for a smooth experience when loading larger GGUF models.


▶️ Video Tutorial: Full Workflow Demo

Watch the tutorial on YouTube

Click here to watch the full "Script to Screen" workflow demonstration on YouTube.


🚀 Example Workflow File

You can download the complete ComfyUI workflow file demonstrated in the video tutorial directly from this repository. Drag and drop this file onto your ComfyUI canvas to load the entire workflow.

Download the Workflow JSON here


📖 Node Reference (Core Production Suite v77.0.0)

Phase 1: Narrative Development

Goal: To transform a simple idea into a complete, well-structured, and machine-readable screenplay.

| Node UI | Name, Function & Version | Validated Architecture | | :---: | --- | --- | | <img src="./_assets/images/node_ai_story_writer.png" width="300"> | AI Story Writer (v5.2) <br> The starting point of the pipeline. Takes a concept and creative parameters to generate a complete prose story. | "Orthogonal Input & Ground Truth Mandate" | | <img src="./_assets/images/node_ai_scriptcrafter_p1_bible.png" width="300"> | AI ScriptCrafter P1 (Bible) (v7.2) <br> Creates the canonical Character & World Bibles. | "Analyze & Refine" | | <img src="./_assets/images/node_ai_scriptcrafter_p2_bible.png" width="300"> | AI ScriptCrafter P2 (Beat Sheet) (v4.0) <br> Creates a 15-point structural blueprint for the story. | N/A | | <img src="./_assets/images/node_ai_scriptcrafter_p3_bible.png" width="300"> | AI ScriptCrafter P3 (Screenplay) (v16.8) <br> Writes the screenplay and uses a powerful parser to guarantee perfect formatting. | "Creative Draft + Hybrid Heuristic Parser" |

Phase 2: Pre-Production & Data Consolidation

Goal: To translate the screenplay into a single, canonical spreadsheet (CSV) that governs the visual production.

| Node UI | Name, Function & Version | Validated Architecture | | :---: | --- | --- | | <img src="./_assets/images/node_ai_cinematographer_QC_Parser.png" width="300"> | The Pre-Production Pipeline <br> This chain of nodes works together to create the final production CSV. <br> 1. AI Cinematographer (Pro) (v3.9) <br> 2. AI QC Supervisor (v2.1) <br> 3. Pro Shot List Parser (v9.4) | "Hybrid AI + Deterministic Resolver" & "Context-Aware Two-Pass Transform" | | <img src="./_assets/images/node_ai_shot_duration_calculator.png" width="300"> | AI Shot Duration Calculator <br> An AI agent that analyzes the CSV to provide accurate shot duration estimates for video editing. | N/A |

Phase 3: Visual Development (Lookdev)

Goal: To establish the final, approved "art direction" for every character and set.

| Node UI | Name, Function & Version | Validated Architecture | | :---: | --- | --- | | (Utility Node) | Asset Selector (v3.6) <br> The Production Manager. Reads the final CSV and provides master lists of all assets for look development. | N/A | | <img src="./_assets/images/node_ai_character_lookdev_bible.png" width="300"> | AI Character Lookdev (v13.0) <br> The Character Art Department. Generates rich, story-specific prompts for character creation. | "Hybrid Multi-Stage AI + Python Enforcer" | | <img src="./_assets/images/node_ai_set_lookdev_bible.png" width="300"> | AI Set Lookdev (v6.0) <br> The Set Design Department. Generates detailed prompts for set design and time-of-day variations. | "Time-Only Variation Engine" |

Phase 4: Shot Production (Final Prompting)

Goal: To combine the art direction from Phase 3 with the action of a single shot to create a final, ready-to-render image prompt.

| Node UI | Name, Function & Version | Validated Architecture | | :---: | --- | --- | | (Utility Node) | Shot Selector (v3.6) & Shot Asset Loader (v3.7) <br> Utilities for isolating a single shot and fetching all of its required data and lookdev assets. | N/A | | <img src="./_assets/images/node_ai_scene_choreographer_bible.png" width="300"> | AI Scene Choreographer (Bible) (v4.3) <br> The creative engine for this phase. Generates bible-aware, lookdev-consistent prompts for all shots in a scene. | "Director + Promptsmith Pipeline" |

Utilities

| Node UI | Name, Function & Version | Purpose | | :---: | --- | --- | | (Utility Node) | LLM Loader & LLM Loader (LM Studio) | The core nodes for loading your local GGUF language models or connecting to an LM Studio server. | | (Utility Node) | File I/O Nodes | A comprehensive suite of utilities for project management and saving/loading project data. |