How hitsz-tmg/filmagent works
Main Components
a) Agent Layer
• Director Agent
• Screenwriter Agent
• Actor Agent
• Cinematographer Agent
b) Processing Stages
• Idea Development Stage
• Scriptwriting Stage
• Cinematography Stage
c) External Systems
• Unity 3D Environment
• ChatTTS System
• LLM Service (OpenAI API)
Input Layer
• Topic Input
• Configuration Files (env.txt)
• Location Definitions (/Locations folder)
Core Processing Layer
• Multi-Agent Collaboration System
• Collaboration strategies (Critique-Correct-Verify, Debate-Judge)
• Script Generation Pipeline
• Camera Control System
Integration Layer
• Unity Integration
• Audio Generation System
• File Management System
Output Layer
• Generated Scripts (script.json)
• Actor Profiles (actors_profile.json)
• Audio Files (.wav)
• Final Video Output
Key Elements to Highlight:
Data Flow
• Sequential nature of the three stages
Component Interactions
• How agents communicate during collaboration
• Integration points with external systems
• Data storage points
The data transformation pipeline
Important Technical Details to Include: