{"message":"Video Sync API is running","endpoints":{"GET /":"This endpoint","GET /health":"Health check endpoint","POST /upload-video":"Upload a video file for complete processing (original endpoint)","POST /process-video-to-script":"Step 1: Upload video → Generate editable script with timecodes","POST /process-script-to-video":"Step 2: Upload edited script + video → Generate final output"},"workflows":{"original":"POST /upload-video → Complete processing in one step","split":"POST /process-video-to-script → Edit script → POST /process-script-to-video"},"parameters":{"/upload-video":{"file":"Video file (required)","user_id":"User identifier (optional)","project_id":"Project identifier (optional)","test_mode":"Store complete session for caching (optional)","use_cache":"Use cached webhook responses (optional)"},"/process-video-to-script":{"file":"Video file (required)","filename":"Custom title/name for the video (optional)","user_id":"User identifier (optional)","project_id":"Project identifier (optional)"},"/process-script-to-video":{"script_file":"Edited script JSON file (required)","video_file":"Video file to process (required)","filename":"Custom title/name for the video (optional)","first_webhook_json":"First webhook response JSON (optional, audit only)","second_webhook_json":"Second webhook response JSON (optional, audit only)","user_id":"User identifier (optional)","project_id":"Project identifier (optional)"}}}