Skip to content

taskmasterpeace/DirectorsPalette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

180 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Director's Palette

AI-Powered Content Creation Platform

A Machine King Labs Research Project

Director's Palette Status License


๐Ÿ”ฌ Research Mission

Machine King Labs is an AI research laboratory dedicated to exploring the intersection of artificial intelligence and human creativity. Director's Palette represents our investigation into how AI can augment and enhance the creative process in storytelling, visual production, and content creation.

What We're Researching

  • AI-Driven Narrative Analysis - How AI can break down stories into visual components
  • Director-Specific Style Modeling - Capturing unique directorial voices in AI generation
  • Multi-Modal Content Workflows - Seamless integration of text, visual, and production elements
  • Human-AI Creative Collaboration - Optimal patterns for AI-assisted creative work

Why Open Source?

We believe the future of AI creativity tools should be open, collaborative, and accessible. This research platform is our contribution to the global creative community, and we invite developers, researchers, filmmakers, and creators to build upon our work.


๐Ÿ“ธ Application Screenshots

๐ŸŽฌ Main Dashboard

Professional creative platform with multiple format options and credit system

Director's Palette Dashboard

๐Ÿ“š Children's Book Mode

Create page-by-page shot lists with consistent character illustrations and age-appropriate content

Children's Book Creator Interface

๐Ÿ“– Story Mode

Professional story-to-shot conversion with AI character extraction and comprehensive shot generation

Story Mode Interface

๐ŸŽฏ Complete Workflow

Full AI-powered shot generation pipeline with professional cinematography details

Complete Workflow Interface

Note: Screenshots show actual production interface with AI-powered character consistency system, professional shot lists, and enterprise-grade creative tools. Features include real-time character extraction, professional shot generation, and comprehensive export capabilities.


๐ŸŽฌ What Director's Palette Does

Director's Palette transforms creative concepts into professional, production-ready shot lists using AI-powered director-specific styling. It bridges the gap between creative vision and practical production planning.

Core Capabilities

๐Ÿ“š Story Mode

Transform written stories into cinematic shot lists with director-specific styling.

Features:

  • AI Story Analysis - Extracts characters, locations, and props automatically
  • Director Style Application - Choose from Nolan, Tarantino, Fincher, Gerwig, and more
  • Reference Extraction - Identifies story elements for consistent representation
  • Professional Export - Generate production-ready shot lists

Example Workflow:

Story Input โ†’ Reference Extraction โ†’ Director Selection โ†’ Shot Generation โ†’ Export

๐ŸŽต Music Video Mode

Create comprehensive music video breakdowns with artist integration and visual storytelling.

Features:

  • Lyric Structure Analysis - AI breaks down songs into visual sections
  • Artist Bank Integration - Detailed artist profiles with visual descriptions
  • @artist Variable System - Flexible artist representation (name vs description)
  • Music Video Director Styles - Hype Williams, Michel Gondry, Spike Jonze, and more

Example Workflow:

Lyrics + Artist โ†’ Video Concept โ†’ Director Style โ†’ Section Generation โ†’ Export

๐Ÿ–ผ๏ธ Post Production

Generate reference images and manage visual assets for production.

Features:

  • Gen4 Image Generation - Create reference images from text prompts
  • Reference Library - Organize and manage visual assets
  • Shot Queue Management - Process shots from Story/Music Video modes
  • Template-Based Prompts - Use structured prompts for consistent results

๐ŸŽฏ Export System

Professional export capabilities with advanced formatting and template support.

Features:

  • Bulk Export - Export all shots with custom prefix/suffix formatting
  • Multiple Formats - Text, numbered lists, JSON, CSV
  • Export Templates - Pre-built formatting for different production needs
  • Variable Processing - Smart @artist and @director replacement

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • OpenAI API key (for AI generation)
  • Replicate API key (for image generation, optional)

Installation

# Clone the repository
git clone https://github.com/taskmasterpeace/ImgPromptGen.git
cd ImgPromptGen

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local
# Add your API keys to .env.local

# Run development server
npm run dev

Environment Variables

# Required for AI story/music video generation
OPENAI_API_KEY=sk-your-openai-key-here

# Optional for image generation
REPLICATE_API_TOKEN=r8-your-replicate-token-here

# Application configuration
NEXT_PUBLIC_APP_NAME=Director's Palette

Quick Start Guide

Generate Your First Story Shot List (5 minutes)

  1. Enter a story in the Story Mode textarea
  2. Select a director (try Christopher Nolan or David Fincher)
  3. Click "Extract Story References" to identify characters and locations
  4. Review and configure extracted elements
  5. Generate shots and review the results
  6. Export all shots with professional formatting

Create Your First Music Video (7 minutes)

  1. Switch to Music Video mode
  2. Enter song lyrics (or use a sample template)
  3. Add artist information from Artist Bank
  4. Include visual description for the artist
  5. Generate video breakdown and review sections
  6. Toggle between @artist and description views
  7. Export all shots with music video formatting

๐Ÿงช Research Features

AI-Powered Generation

  • GPT-4 Integration for intelligent content analysis and generation
  • Director-Specific Prompting with carefully crafted style guidelines
  • Context-Aware Generation that maintains consistency across shots
  • Multi-Stage Processing for complex creative workflows

Template & Variable System

  • Smart Templates for rapid content creation and testing
  • Variable Replacement with @artist, @director, @location tags
  • Export Templates for professional formatting consistency
  • Prompt Templates for image generation with tag replacement

Professional Workflows

  • Bulk Operations for production-scale projects
  • Multiple Export Formats for different team members
  • Cross-Browser Compatibility with clipboard and file operations
  • Mobile-Responsive Design for field work and remote collaboration

๐Ÿ› ๏ธ Technical Architecture

Built With

  • Framework: Next.js 15 with App Router
  • Language: TypeScript 5
  • UI: React 19 + Tailwind CSS 4 + shadcn/ui
  • State Management: Zustand with persistence
  • Database: IndexedDB (browser-based)
  • AI: OpenAI GPT-4 via AI SDK
  • Image Generation: Replicate API

Key Components

  • /app - Next.js App Router with server actions
  • /components - Modular React components with TypeScript
  • /lib - Core business logic and utilities
  • /stores - Zustand state management stores
  • /hooks - Custom React hooks for common operations

Research-Focused Architecture

  • Modular Design - Easy to extend and experiment with
  • Comprehensive Testing - Unit, integration, and functionality tests
  • Flexible Configuration - Adaptable to different research directions
  • Open Standards - Uses standard formats and protocols

๐Ÿ“Š Current Research Status

Completed Research Areas โœ…

  • Director Style Modeling - Successfully implemented 15+ director styles
  • Narrative Structure Analysis - AI accurately breaks down stories into chapters
  • Music Video Generation - Complete lyric-to-visual mapping system
  • Variable-Based Templating - Flexible artist and element representation
  • Professional Export Workflows - Production-ready output formats

Active Research Areas ๐Ÿ”ฌ

  • Artist Visual Consistency - Maintaining character appearance across shots
  • Cross-Modal Generation - Integrating text, image, and audio generation
  • Collaborative AI Workflows - Multi-user creative sessions with AI
  • Template Learning - AI learns from successful user templates
  • Performance Optimization - Scaling to larger projects and teams

Future Research Directions ๐Ÿ”ฎ

  • Real-Time Collaboration - Live multi-user editing with AI assistance
  • Advanced Image Generation - Consistent character appearance across multiple images
  • Production Integration - Direct export to professional video editing tools
  • Community Learning - AI learns from open source community contributions
  • Multi-Language Support - International creative collaboration

๐Ÿค Contributing to the Research

We welcome contributions from researchers, developers, and creative professionals!

Ways to Contribute

  • Code Contributions - Features, bug fixes, performance improvements
  • Research Insights - Share findings about AI-assisted creativity
  • Template Libraries - Contribute story, music video, and export templates
  • Documentation - Improve guides, add examples, translate content
  • Testing - Help us test with real creative projects
  • Community Building - Help others learn and use the platform

Getting Involved

  1. Read our Contributing Guide
  2. Check the Development Setup
  3. Browse Open Issues
  4. Join our Research Discussions

๐Ÿ“ˆ Research Impact & Metrics

Platform Capabilities

  • 15+ Director Styles implemented with unique characteristics
  • 3 Major Workflow Modes (Story, Music Video, Post Production)
  • 100+ Professional Templates for rapid content creation
  • 4 Export Formats supporting different production needs
  • Mobile-Responsive Design for modern creative workflows

Technical Achievements

  • Sub-second Export Processing for production-scale projects
  • Cross-Browser Compatibility with comprehensive fallbacks
  • Comprehensive Test Coverage ensuring reliability
  • Professional Documentation for contributor onboarding
  • Modular Architecture enabling rapid feature development

๐Ÿ“‹ Usage Examples

Film Production

# Generate professional shot list for indie film
Story: "Detective thriller with psychological elements"
Director: David Fincher
Export: Numbered list with technical specifications
Result: Production-ready shot list with crew requirements

Music Video Creation

# Create music video breakdown for hip-hop track
Artist: Jay-Z (from Artist Bank)
Lyrics: [Verse/Chorus structure]
Director: Hype Williams
Export: JSON format with metadata for video team

Content Creator Workflow

# Quick social media content planning
Template: "Hip-Hop Urban Vibe" 
Customization: Local artist and locations
Export: Social media optimized shot descriptions
Distribution: Instagram, TikTok, YouTube Shorts

๐Ÿข About Machine King Labs

Machine King Labs is an AI research laboratory focused on practical applications of artificial intelligence in creative industries. Our research spans:

  • Creative AI Tools - Platforms that enhance human creativity
  • Content Generation Systems - Multi-modal AI for media production
  • Human-AI Collaboration - Optimizing creative partnerships with AI
  • Open Source Research - Democratizing access to AI creativity tools

Our Research Philosophy

We believe AI should augment human creativity, not replace it. Our tools are designed to handle the technical and repetitive aspects of creative work, freeing humans to focus on vision, emotion, and artistic expression.

Contact & Collaboration


๐Ÿ“„ License

This project is open source and available under the MIT License.

Attribution

When using Director's Palette in your projects or research, please include:

Powered by Director's Palette - Machine King Labs Research Project
https://github.com/taskmasterpeace/ImgPromptGen

๐Ÿ™ Acknowledgments

  • OpenAI for GPT-4 technology enabling intelligent content generation
  • Replicate for image generation infrastructure
  • Vercel for hosting and deployment platform
  • shadcn/ui for beautiful, accessible UI components
  • The Open Source Community for inspiring collaborative development

๐Ÿ”— Links & Resources


Built with โค๏ธ by the Machine King Labs Research Team

Director's Palette - Where AI meets human creativity

About

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors