- Complete web application for video generation using Runway Gen4 API - Frontend: HTML5, CSS3, JavaScript with Tailwind CSS styling - Backend: PHP API integration with async job processing - Features: Image upload, drag & drop, progress tracking, dark mode - Supports multiple aspect ratios, duration settings, and seed control - Fixed MAMP compatibility issues with backend file access - Comprehensive documentation and troubleshooting guide 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
No EOL
412 B
PHP
12 lines
No EOL
412 B
PHP
<?php
|
|
// backend/test_config.php - Debug endpoint to check configuration
|
|
|
|
require_once __DIR__ . '/config.php';
|
|
|
|
echo json_encode([
|
|
'status' => 'ok',
|
|
'runway_api_key_defined' => defined('RUNWAY_API_KEY'),
|
|
'runway_api_key_empty' => empty(RUNWAY_API_KEY),
|
|
'runway_api_key_length' => defined('RUNWAY_API_KEY') ? strlen(RUNWAY_API_KEY) : 0,
|
|
'env_file_exists' => file_exists(__DIR__ . '/.env')
|
|
]); |