The error 'failed to parse JSON value' revealed that despite curl examples using -F flags, OpenAI's video API actually expects JSON POST requests. - Changed back to JSON format using _request() method - Simplified code by removing multipart/form-data handling - Kept debug logging for troubleshooting - Updated documentation to remove multipart/form-data mention This should resolve the 400 Bad Request error.