Changelog

Release notes

The latest features, improvements, and fixes that make your screenwriting better.

Image Generation Revolution

Major technical and UX update introducing unified image generation architecture, professional TypeScript standards, enhanced character management, and streamlined user interface design.

🎯 What's New for You

✨ Unified Image Generation Experience

Complete redesign of the image generation system with simplified provider management and enhanced consistency.

What this means:

  • Style 1 & Style 2 Naming - Clean, future-proof naming instead of confusing provider names
  • Unified Batch Generation - "Generate All" dropdown with consistent Style 1 (Leonardo) and Style 2 (fal.ai) options
  • Seamless Style Selection - Consistent art style application across both providers
  • Enhanced Sequential Coherence - Improved image-to-image continuity for storyboard sequences
  • Character Reference Priority - Smart character consistency with automatic fallback handling
  • Streamlined Settings - Reorganized settings panels with clear provider identification in comments

Try it: Use the new "Generate All" dropdown in the image tab for streamlined batch generation across both styles!

✨ Advanced Prompt Building System

Revolutionary "one system to rule them all" approach to prompt generation with enhanced character context and style application.

What this means:

  • Unified Prompt Builder - Single buildFinalPrompt system replaces multiple legacy functions
  • Dynamic Style Application - Automatic style conversion between our internal system and Leonardo's preset styles
  • Character Context Integration - Smart character reference handling with proper visual style preservation
  • Model-Specific Optimization - Automatic prompt formatting for different AI models (including Veo3 video support)
  • Provider-Agnostic Styling - Consistent style application regardless of underlying AI provider
  • Eliminated Duplicate Logic - Cleaned up redundant prompt enhancement functions

Try it: Generate images with different art styles and notice the improved consistency and quality!

✨ Enhanced Character Management

Professional character gallery and grid views with improved performance and user experience.

What this means:

  • Character Gallery View - Beautiful gallery layout for visual character browsing
  • Character Grid View - Efficient grid layout for quick character management
  • Optimistic UI Updates - Immediate feedback during character metadata changes
  • Performance Optimizations - Single image loading to prevent unnecessary resets
  • Enhanced Image Generation - Streamlined character image creation workflow
  • Comprehensive Testing - Robust test coverage for character management features

Try it: Switch between gallery and grid views in the character studio for different management experiences!

🏗️ Technical Architecture Improvements

✨ Unified Leonardo Image Generation API

Complete consolidation of image generation endpoints into a single, powerful API.

What this means:

  • Single Endpoint - Replaced /api/ai/character-image and /api/ai/scene-image with unified /api/ai/leonardo-image
  • Enhanced Character References - Improved character reference handling with proxy-upload system
  • Sequential Image Support - Added previousImageReference parameter for image-to-image generation
  • Comprehensive Testing - Full test coverage for the new unified endpoint
  • Better Error Handling - Improved error messages and graceful fallback handling
  • Cleaner Architecture - Reduced code duplication and improved maintainability

✨ fal.ai API Enhancements

Significant improvements to fal.ai integration with better model handling and style support.

What this means:

  • Dynamic Model Selection - Automatic fallback from flux-schnell to flux-pro when character references aren't available
  • Enhanced Style Integration - Proper art style application with character consistency
  • Improved Parameter Handling - Better support for character reference strength and previous image continuity
  • Cleaned Up Duplicate Logic - Removed conflicting character instructions that interfered with style application
  • Better Logging - Enhanced debugging information for generation tracking

✨ Professional TypeScript Standards

Complete elimination of any types and unused variables across the entire codebase.

What this means:

  • Zero TypeScript Errors - Complete compliance with strict TypeScript linting rules
  • Proper Type Safety - All functions use correct TypeScript interfaces and types
  • Clean Code Standards - No unused variables, imports, or functions
  • Better Developer Experience - Enhanced IDE support with proper type definitions
  • Reduced Runtime Errors - Stronger type safety prevents common JavaScript errors
  • Maintainable Codebase - Easier refactoring and code understanding

🎨 User Experience Enhancements

✨ Streamlined Settings Interface

Reorganized settings panels with clear naming and improved user guidance.

What this means:

  • Style 1 Settings (Leonardo AI) - Clear identification of Leonardo settings with advanced options
  • Style 2 Settings (fal.ai) - Intuitive fal.ai settings with character reference controls
  • Video Settings - Dedicated video generation settings panel
  • Art Style Unification - Consistent style selection across both providers
  • Developer Comments - Clear code comments identifying which provider each setting controls
  • Improved Iconography - Better visual identification of settings panels

✨ Enhanced Storyboard Experience

Improved storyboard visualization with better media handling and scene processing.

What this means:

  • Media Panel Component - Focused media display for better user interaction
  • Enhanced Flow Visualization - Improved handling of video and image generations in flow view
  • Better Scene Numbering - Utilizes database-sorted scene order for accurate numbering
  • Character Filtering - Enhanced character display and filtering in storyboard view
  • Performance Optimization - Faster loading and smoother interaction

✨ Chat-to-Editor Integration

Direct content insertion from AI chat into the screenplay editor.

What this means:

  • Insert to Editor Button - One-click insertion of AI-generated content into TipTap editor
  • Append or Replace Options - Choose how to integrate AI content with existing text
  • Scene Writing Assistance - Enhanced AI support for screenplay development
  • Seamless Workflow - Smooth integration between chat and editor components
  • Content Formatting - Proper formatting preservation during content insertion

🔧 Developer Experience Improvements

✨ Enhanced Testing Infrastructure

Comprehensive test coverage for critical components and workflows.

What this means:

  • Character Management Tests - Complete test coverage for character gallery, grid, and image generation
  • Performance Testing - Validated rendering performance under various conditions
  • Error Handling Tests - Robust testing of error scenarios and edge cases
  • Optimistic UI Testing - Validation of immediate feedback during user interactions
  • Service Layer Testing - Comprehensive testing of image generation services
  • API Endpoint Testing - Full coverage of new unified Leonardo API

✨ Code Quality Standards

Professional-grade code organization and quality enforcement.

What this means:

  • Unified Import Structure - Cleaner, more maintainable import organization
  • Consistent Naming Conventions - Better function and variable naming throughout
  • Eliminated Legacy Code - Removed deprecated functions and outdated patterns
  • Enhanced Documentation - Comprehensive code comments and documentation
  • Better Error Messages - Improved user-facing error messages and developer logging
  • Modular Architecture - Better separation of concerns and code organization

🚀 Getting Started

Using the New Image Generation System

  1. Access Scene Images - Go to any scene's image tab
  2. Use Generate All - Click the "Generate All" dropdown for batch generation
  3. Choose Your Style - Select "Style 1" (Leonardo) or "Style 2" (fal.ai) based on your needs
  4. Customize Settings - Use the Style 1/Style 2 settings panels to adjust generation parameters
  5. Monitor Progress - Watch real-time generation progress with enhanced status updates

Managing Characters with New Gallery

  1. Access Character Studio - Navigate to your script's characters section
  2. Switch Views - Toggle between gallery and grid views for different experiences
  3. Generate Character Images - Use the streamlined character image generation workflow
  4. Update Metadata - Experience immediate feedback with optimistic UI updates
  5. Browse Efficiently - Use the improved layout for better character organization

Leveraging Enhanced Prompt Building

  1. Create Content - Generate images or videos with any AI-powered feature
  2. Select Art Styles - Choose from unified style options that work across providers
  3. Use Character References - Benefit from improved character consistency handling
  4. Sequential Generation - Generate image sequences with better visual continuity
  5. Video Generation - Experience enhanced Veo3 support with automatic dialogue inclusion

📈 Impact Summary

User Experience:

  • Simplified Interface - Style 1/Style 2 naming eliminates provider confusion
  • Enhanced Generation Quality - Improved prompt building and style application
  • Streamlined Workflows - Unified batch generation and settings management

Technical Excellence:

  • Zero TypeScript Errors - Professional-grade type safety throughout
  • Unified Architecture - Consolidated image generation APIs for better maintainability
  • Comprehensive Testing - Robust test coverage for critical user workflows

Performance Improvements:

  • Faster Character Loading - Optimized image loading prevents unnecessary resets
  • Better Error Handling - Graceful fallbacks and improved error messages
  • Enhanced Responsiveness - Optimistic UI updates for immediate feedback

Developer Experience:

  • Cleaner Codebase - Eliminated legacy functions and improved organization
  • Better Documentation - Enhanced code comments and architectural clarity
  • Professional Standards - Industry-grade TypeScript compliance and testing

🔄 Migration Notes

For Existing Users:

  • Settings Migration - Your existing Leonardo and fal.ai settings are preserved under the new Style 1/Style 2 names
  • Workflow Continuity - All existing generation workflows continue to work with enhanced performance
  • API Compatibility - New unified APIs maintain backward compatibility for existing integrations

For Developers:

  • Prompt Building - Update any custom integrations to use buildFinalPrompt instead of legacy functions
  • TypeScript Compliance - Code now requires strict TypeScript compliance (no any types)
  • API Endpoints - Deprecated character-image and scene-image endpoints replaced with leonardo-image

This release represents a fundamental evolution in our image generation capabilities, establishing a more maintainable, user-friendly, and technically excellent foundation for AI-powered content creation. The combination of improved user experience, robust technical architecture, and professional code quality standards positions Bloom as a leading platform for AI-assisted screenplay development.