Create or Edit Image
Conversation History
Generated Image
Your generated image will appear here
'User', 'preferred_username' => 'user@localhost']; $ssoEnabled = false; try { if (file_exists(__DIR__ . '/AuthMiddleware.php')) { require_once 'AuthMiddleware.php'; $auth = new AuthMiddleware(); $user = $auth->requireAuth(); // Blocks if not authenticated $ssoEnabled = $auth->isSSOEnabled(); } } catch (Exception $e) { // Log error but don't block app error_log("Auth error (app will continue without auth): " . $e->getMessage()); } // Initialize session manager for multi-user support require_once 'session_manager.php'; $sessionManager = new SessionManager(); // Get current image from disk $currentImage = $sessionManager->getCurrentImage(); $conversationHistory = $sessionManager->getHistory(); $imageHistory = $sessionManager->getImageHistory(); ?>
AI Image Generation & Iterative Editing
Generate professional cinematography prompts with real camera and lens physics
Your generated image will appear here