2025-10-02 17:53:41,654 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 17:53:41,654 - __main__ - INFO - Available models: cogvideox-5b, ltx-video, stable-video-diffusion, zeroscope, animatediff 2025-10-02 17:53:41,654 - __main__ - INFO - Default model: zeroscope 2025-10-02 17:53:43,606 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 17:53:43,606 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 17:54:09,795 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:54:09] "GET /health HTTP/1.1" 200 - 2025-10-02 17:54:18,642 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:54:18] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 17:54:18,643 - __main__ - INFO - Generating video with zeroscope 2025-10-02 17:54:18,643 - __main__ - INFO - Base prompt: Ocean waves crashing on a beach at sunset... 2025-10-02 17:54:18,643 - __main__ - INFO - Enhanced prompt: Ocean waves crashing on a beach at sunset... 2025-10-02 17:54:18,643 - __main__ - INFO - Initializing client for zeroscope: https://cerspense-zeroscope-v2-xl.hf.space/ 2025-10-02 17:54:19,329 - __main__ - ERROR - Failed to initialize client for zeroscope: Could not fetch config for https://cerspense-zeroscope-v2-xl.hf.space/ 2025-10-02 17:54:19,330 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:54:19] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 17:55:14,687 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 17:55:14,688 - __main__ - INFO - Available models: cogvideox-5b, ltx-video, stable-video-diffusion, zeroscope, animatediff 2025-10-02 17:55:14,688 - __main__ - INFO - Default model: zeroscope 2025-10-02 17:55:14,692 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 17:55:14,692 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 17:56:54,359 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 17:56:54,359 - __main__ - INFO - Available models: cogvideox-5b, ltx-video, stable-video-diffusion, zeroscope, animatediff 2025-10-02 17:56:54,359 - __main__ - INFO - Default model: zeroscope 2025-10-02 17:56:54,364 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 17:56:54,364 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 17:57:07,937 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:57:07] "GET /health HTTP/1.1" 200 - 2025-10-02 17:57:12,851 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:57:12] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 17:57:12,852 - __main__ - INFO - Generating video with zeroscope 2025-10-02 17:57:12,853 - __main__ - INFO - Base prompt: Ocean waves crashing on a beach at sunset... 2025-10-02 17:57:12,853 - __main__ - INFO - Enhanced prompt: Ocean waves crashing on a beach at sunset... 2025-10-02 17:57:12,853 - __main__ - INFO - Initializing client for zeroscope: cerspense/zeroscope_v2_XL 2025-10-02 17:57:13,046 - __main__ - ERROR - Failed to initialize client for zeroscope: 401 Client Error. (Request ID: Root=1-68df1f69-3bd50d43109a1f7137c8e78d;afa9698e-cf83-48e0-b777-22b733b9764a) Repository Not Found for url: https://huggingface.co/api/spaces/cerspense/zeroscope_v2_XL. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication Invalid username or password. 2025-10-02 17:57:13,047 - __main__ - ERROR - This might be because: 2025-10-02 17:57:13,047 - __main__ - ERROR - 1. The Hugging Face Space is not available or sleeping 2025-10-02 17:57:13,047 - __main__ - ERROR - 2. The Space URL has changed 2025-10-02 17:57:13,047 - __main__ - ERROR - 3. The Space requires authentication 2025-10-02 17:57:13,047 - __main__ - ERROR - 4. Network connectivity issues 2025-10-02 17:57:13,047 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:57:13] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 17:57:16,639 - __main__ - INFO - Generating video with zeroscope 2025-10-02 17:57:16,639 - __main__ - INFO - Base prompt: City street with cars at night... 2025-10-02 17:57:16,639 - __main__ - INFO - Enhanced prompt: City street with cars at night... 2025-10-02 17:57:16,639 - __main__ - INFO - Initializing client for zeroscope: cerspense/zeroscope_v2_XL 2025-10-02 17:57:16,737 - __main__ - ERROR - Failed to initialize client for zeroscope: 401 Client Error. (Request ID: Root=1-68df1f6c-70bfc27d0c291ca3578a98f2;bbdb219a-c7c5-4b21-82d1-d1784f274ffc) Repository Not Found for url: https://huggingface.co/api/spaces/cerspense/zeroscope_v2_XL. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication Invalid username or password. 2025-10-02 17:57:16,737 - __main__ - ERROR - This might be because: 2025-10-02 17:57:16,737 - __main__ - ERROR - 1. The Hugging Face Space is not available or sleeping 2025-10-02 17:57:16,737 - __main__ - ERROR - 2. The Space URL has changed 2025-10-02 17:57:16,737 - __main__ - ERROR - 3. The Space requires authentication 2025-10-02 17:57:16,737 - __main__ - ERROR - 4. Network connectivity issues 2025-10-02 17:57:16,738 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:57:16] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 17:57:19,218 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:57:19] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 17:57:19,220 - __main__ - INFO - Generating video with zeroscope 2025-10-02 17:57:19,220 - __main__ - INFO - Base prompt: A bird flying through clouds... 2025-10-02 17:57:19,220 - __main__ - INFO - Enhanced prompt: A bird flying through clouds... 2025-10-02 17:57:19,220 - __main__ - INFO - Initializing client for zeroscope: cerspense/zeroscope_v2_XL 2025-10-02 17:57:19,319 - __main__ - ERROR - Failed to initialize client for zeroscope: 401 Client Error. (Request ID: Root=1-68df1f6f-0a6d6cdb58a979b61e8d69ae;362721b8-5562-4ab4-be2a-367a03fd3d10) Repository Not Found for url: https://huggingface.co/api/spaces/cerspense/zeroscope_v2_XL. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication Invalid username or password. 2025-10-02 17:57:19,319 - __main__ - ERROR - This might be because: 2025-10-02 17:57:19,319 - __main__ - ERROR - 1. The Hugging Face Space is not available or sleeping 2025-10-02 17:57:19,319 - __main__ - ERROR - 2. The Space URL has changed 2025-10-02 17:57:19,319 - __main__ - ERROR - 3. The Space requires authentication 2025-10-02 17:57:19,319 - __main__ - ERROR - 4. Network connectivity issues 2025-10-02 17:57:19,319 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:57:19] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 17:58:07,524 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 17:58:07,524 - __main__ - INFO - Available models: cogvideox-5b, ltx-video, stable-video-diffusion, zeroscope, demo, animatediff 2025-10-02 17:58:07,524 - __main__ - INFO - Default model: zeroscope 2025-10-02 17:58:07,530 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 17:58:07,530 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 17:59:05,672 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:05] "GET /health HTTP/1.1" 200 - 2025-10-02 17:59:06,434 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:06] "GET /health HTTP/1.1" 200 - 2025-10-02 17:59:06,720 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:06] "GET /health HTTP/1.1" 200 - 2025-10-02 17:59:06,873 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:06] "GET /health HTTP/1.1" 200 - 2025-10-02 17:59:07,034 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:07] "GET /health HTTP/1.1" 200 - 2025-10-02 17:59:07,216 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:07] "GET /health HTTP/1.1" 200 - 2025-10-02 17:59:12,392 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:12] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 17:59:12,394 - __main__ - INFO - Generating video with zeroscope 2025-10-02 17:59:12,394 - __main__ - INFO - Base prompt: A bird flying through clouds... 2025-10-02 17:59:12,394 - __main__ - INFO - Enhanced prompt: A bird flying through clouds... 2025-10-02 17:59:12,394 - __main__ - INFO - Initializing client for zeroscope: cerspense/zeroscope_v2_XL 2025-10-02 17:59:12,576 - __main__ - ERROR - Failed to initialize client for zeroscope: 401 Client Error. (Request ID: Root=1-68df1fe0-4f816ee535fd2a9923f62d4d;d7ddf5c0-8093-41a3-8733-94ec61e5d72f) Repository Not Found for url: https://huggingface.co/api/spaces/cerspense/zeroscope_v2_XL. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication Invalid username or password. 2025-10-02 17:59:12,576 - __main__ - ERROR - This might be because: 2025-10-02 17:59:12,576 - __main__ - ERROR - 1. The Hugging Face Space is not available or sleeping 2025-10-02 17:59:12,576 - __main__ - ERROR - 2. The Space URL has changed 2025-10-02 17:59:12,576 - __main__ - ERROR - 3. The Space requires authentication 2025-10-02 17:59:12,576 - __main__ - ERROR - 4. Network connectivity issues 2025-10-02 17:59:12,577 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:12] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 17:59:22,467 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:22] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 17:59:22,469 - __main__ - INFO - Generating video with zeroscope 2025-10-02 17:59:22,469 - __main__ - INFO - Base prompt: Ocean waves crashing on a beach at sunset... 2025-10-02 17:59:22,469 - __main__ - INFO - Enhanced prompt: Ocean waves crashing on a beach at sunset... 2025-10-02 17:59:22,469 - __main__ - INFO - Initializing client for zeroscope: cerspense/zeroscope_v2_XL 2025-10-02 17:59:22,558 - __main__ - ERROR - Failed to initialize client for zeroscope: 401 Client Error. (Request ID: Root=1-68df1fea-6ffeda02318801ef2d739ba4;ae684b4c-cc89-4681-88c3-8091a04c818b) Repository Not Found for url: https://huggingface.co/api/spaces/cerspense/zeroscope_v2_XL. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication Invalid username or password. 2025-10-02 17:59:22,559 - __main__ - ERROR - This might be because: 2025-10-02 17:59:22,559 - __main__ - ERROR - 1. The Hugging Face Space is not available or sleeping 2025-10-02 17:59:22,559 - __main__ - ERROR - 2. The Space URL has changed 2025-10-02 17:59:22,559 - __main__ - ERROR - 3. The Space requires authentication 2025-10-02 17:59:22,559 - __main__ - ERROR - 4. Network connectivity issues 2025-10-02 17:59:22,559 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 17:59:22] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 18:02:37,798 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:02:37,798 - __main__ - INFO - Available models: cogvideox-5b, ltx-video, stable-video-diffusion, zeroscope, demo, animatediff 2025-10-02 18:02:37,798 - __main__ - INFO - Default model: zeroscope 2025-10-02 18:02:37,803 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:02:37,803 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 18:03:16,181 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:03:16] "GET /health HTTP/1.1" 200 - 2025-10-02 18:03:22,804 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:03:22] "OPTIONS /test-video HTTP/1.1" 200 - 2025-10-02 18:03:22,806 - __main__ - INFO - Test mode: Simulating video generation for: photorealistic, 4k, high detail, A golden retriever running through a field of flowers [Tracking sho 2025-10-02 18:03:22,807 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:03:22] "POST /test-video HTTP/1.1" 200 - 2025-10-02 18:03:57,727 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:03:57] "OPTIONS /test-video HTTP/1.1" 200 - 2025-10-02 18:03:57,730 - __main__ - INFO - Test mode: Simulating video generation for: cinematic, movie scene, A golden retriever running through a field of flowers [Dolly in], fog, misty 2025-10-02 18:03:57,730 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:03:57] "POST /test-video HTTP/1.1" 200 - 2025-10-02 18:06:45,377 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:06:45,377 - __main__ - INFO - Available models: cogvideox-5b, cogvideox-2b, hunyuan-video, stable-video-diffusion, demo, animatediff 2025-10-02 18:06:45,377 - __main__ - INFO - Default model: zeroscope 2025-10-02 18:06:45,382 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:06:45,382 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 18:07:13,526 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:13] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:14,400 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:14] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:14,899 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:14] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:15,075 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:15] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:15,279 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:15] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:15,469 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:15] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:15,624 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:15] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:44,158 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:44] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:44,783 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:44] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:44,933 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:44] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:45,110 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:45] "GET /health HTTP/1.1" 200 - 2025-10-02 18:07:47,306 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:47] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:07:47,307 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:07:47] "POST /generate-video HTTP/1.1" 400 - 2025-10-02 18:08:24,475 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:08:24,475 - __main__ - INFO - Available models: cogvideox-5b, cogvideox-2b, hunyuan-video, stable-video-diffusion, demo 2025-10-02 18:08:24,475 - __main__ - INFO - Default model: cogvideox-5b 2025-10-02 18:08:24,480 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:08:24,480 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 18:09:21,217 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:09:21,217 - __main__ - INFO - Available models: cogvideox-5b, cogvideox-2b, hunyuan-video, stable-video-diffusion, demo 2025-10-02 18:09:21,217 - __main__ - INFO - Default model: cogvideox-5b 2025-10-02 18:09:21,223 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:09:21,223 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 18:09:37,237 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:37] "GET /health HTTP/1.1" 200 - 2025-10-02 18:09:37,862 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:37] "GET /health HTTP/1.1" 200 - 2025-10-02 18:09:38,020 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:38] "GET /health HTTP/1.1" 200 - 2025-10-02 18:09:38,205 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:38] "GET /health HTTP/1.1" 200 - 2025-10-02 18:09:38,378 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:38] "GET /health HTTP/1.1" 200 - 2025-10-02 18:09:42,105 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:42] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:09:42,106 - __main__ - ERROR - Unexpected error in generate_video: 'zeroscope' Traceback (most recent call last): File "/Users/sravyalu/VideoAI/hailuo-clone/backend_enhanced.py", line 172, in generate_video model_info = get_model_info(model_id) File "/Users/sravyalu/VideoAI/hailuo-clone/models_config.py", line 152, in get_model_info return VIDEO_MODELS.get(model_id, VIDEO_MODELS["zeroscope"]) ~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'zeroscope' 2025-10-02 18:09:42,109 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:42] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:09:46,270 - __main__ - ERROR - Unexpected error in generate_video: 'zeroscope' Traceback (most recent call last): File "/Users/sravyalu/VideoAI/hailuo-clone/backend_enhanced.py", line 172, in generate_video model_info = get_model_info(model_id) File "/Users/sravyalu/VideoAI/hailuo-clone/models_config.py", line 152, in get_model_info return VIDEO_MODELS.get(model_id, VIDEO_MODELS["zeroscope"]) ~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'zeroscope' 2025-10-02 18:09:46,272 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:46] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:09:47,092 - __main__ - ERROR - Unexpected error in generate_video: 'zeroscope' Traceback (most recent call last): File "/Users/sravyalu/VideoAI/hailuo-clone/backend_enhanced.py", line 172, in generate_video model_info = get_model_info(model_id) File "/Users/sravyalu/VideoAI/hailuo-clone/models_config.py", line 152, in get_model_info return VIDEO_MODELS.get(model_id, VIDEO_MODELS["zeroscope"]) ~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'zeroscope' 2025-10-02 18:09:47,093 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:47] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:09:47,841 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:47] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:09:47,843 - __main__ - ERROR - Unexpected error in generate_video: 'zeroscope' Traceback (most recent call last): File "/Users/sravyalu/VideoAI/hailuo-clone/backend_enhanced.py", line 172, in generate_video model_info = get_model_info(model_id) File "/Users/sravyalu/VideoAI/hailuo-clone/models_config.py", line 152, in get_model_info return VIDEO_MODELS.get(model_id, VIDEO_MODELS["zeroscope"]) ~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'zeroscope' 2025-10-02 18:09:47,843 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:47] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:09:50,014 - __main__ - ERROR - Unexpected error in generate_video: 'zeroscope' Traceback (most recent call last): File "/Users/sravyalu/VideoAI/hailuo-clone/backend_enhanced.py", line 172, in generate_video model_info = get_model_info(model_id) File "/Users/sravyalu/VideoAI/hailuo-clone/models_config.py", line 152, in get_model_info return VIDEO_MODELS.get(model_id, VIDEO_MODELS["zeroscope"]) ~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'zeroscope' 2025-10-02 18:09:50,015 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:09:50] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:10:38,401 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:10:38,401 - __main__ - INFO - Available models: cogvideox-5b, cogvideox-2b, hunyuan-video, stable-video-diffusion, demo 2025-10-02 18:10:38,403 - __main__ - INFO - Default model: cogvideox-5b 2025-10-02 18:10:38,408 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:10:38,408 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 18:11:03,775 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:11:03] "GET /health HTTP/1.1" 200 - 2025-10-02 18:11:04,402 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:11:04] "GET /health HTTP/1.1" 200 - 2025-10-02 18:11:04,603 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:11:04] "GET /health HTTP/1.1" 200 - 2025-10-02 18:11:04,786 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:11:04] "GET /health HTTP/1.1" 200 - 2025-10-02 18:11:04,947 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:11:04] "GET /health HTTP/1.1" 200 - 2025-10-02 18:12:23,373 - werkzeug - INFO - 192.168.4.190 - - [02/Oct/2025 18:12:23] "GET / HTTP/1.1" 404 - 2025-10-02 18:12:23,397 - werkzeug - INFO - 192.168.4.190 - - [02/Oct/2025 18:12:23] "GET /favicon.ico HTTP/1.1" 404 - 2025-10-02 18:12:33,931 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:12:33] "GET / HTTP/1.1" 404 - 2025-10-02 18:12:33,953 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:12:33] "GET /favicon.ico HTTP/1.1" 404 - 2025-10-02 18:13:04,841 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:13:04] "GET /models HTTP/1.1" 200 - 2025-10-02 18:13:04,847 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:13:04] "GET /health HTTP/1.1" 200 - 2025-10-02 18:13:34,569 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:13:34] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:13:34,572 - __main__ - INFO - Generating video with cogvideox-5b 2025-10-02 18:13:34,572 - __main__ - INFO - Base prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:13:34,572 - __main__ - INFO - Enhanced prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:13:34,572 - __main__ - INFO - Initializing client for cogvideox-5b: zai-org/CogVideoX-5B-Space 2025-10-02 18:13:35,962 - __main__ - ERROR - Failed to initialize client for cogvideox-5b: Expecting value: line 1 column 1 (char 0) 2025-10-02 18:13:35,962 - __main__ - ERROR - This might be because: 2025-10-02 18:13:35,963 - __main__ - ERROR - 1. The Hugging Face Space is not available or sleeping 2025-10-02 18:13:35,963 - __main__ - ERROR - 2. The Space URL has changed 2025-10-02 18:13:35,963 - __main__ - ERROR - 3. The Space requires authentication 2025-10-02 18:13:35,963 - __main__ - ERROR - 4. Network connectivity issues 2025-10-02 18:13:35,965 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:13:35] "POST /generate-video HTTP/1.1" 503 - 2025-10-02 18:43:58,867 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:43:58,868 - __main__ - INFO - Available models: cogvideox-5b, cogvideox-2b, hunyuan-video, stable-video-diffusion, demo 2025-10-02 18:43:58,868 - __main__ - INFO - Default model: cogvideox-5b 2025-10-02 18:43:58,885 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:43:58,885 - werkzeug - INFO - Press CTRL+C to quit 2025-10-02 18:44:14,573 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:14] "GET /models HTTP/1.1" 200 - 2025-10-02 18:44:14,578 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:14] "GET /health HTTP/1.1" 200 - 2025-10-02 18:44:28,544 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:28] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:44:28,546 - __main__ - INFO - Generating video with cogvideox-5b 2025-10-02 18:44:28,546 - __main__ - INFO - Base prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:44:28,546 - __main__ - INFO - Enhanced prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:44:28,546 - __main__ - INFO - Initializing client for cogvideox-5b: zai-org/CogVideoX-5B-Space 2025-10-02 18:44:29,510 - httpx - INFO - HTTP Request: GET https://zai-org-cogvideox-5b-space.hf.space/config "HTTP/1.1 200 OK" 2025-10-02 18:44:29,940 - httpx - INFO - HTTP Request: GET https://zai-org-cogvideox-5b-space.hf.space/gradio_api/info?serialize=False "HTTP/1.1 200 OK" 2025-10-02 18:44:30,013 - __main__ - INFO - Successfully connected to cogvideox-5b 2025-10-02 18:44:30,013 - __main__ - INFO - Calling CogVideoX with prompt: A sports car drifting around a corner on a race track 2025-10-02 18:44:30,014 - __main__ - ERROR - Model API call failed: No value provided for required argument: image_input 2025-10-02 18:44:30,014 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:30] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:44:30,375 - httpx - INFO - HTTP Request: GET https://zai-org-cogvideox-5b-space.hf.space/gradio_api/heartbeat/ce2a480d-3b6d-40ba-b8c9-80accf29c38e "HTTP/1.1 200 OK" 2025-10-02 18:44:45,785 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:45] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:44:45,787 - __main__ - INFO - Generating video with cogvideox-5b 2025-10-02 18:44:45,787 - __main__ - INFO - Base prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:44:45,787 - __main__ - INFO - Enhanced prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, high contrast... 2025-10-02 18:44:45,787 - __main__ - INFO - Calling CogVideoX with prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, h 2025-10-02 18:44:45,788 - __main__ - ERROR - Model API call failed: No value provided for required argument: image_input 2025-10-02 18:44:45,788 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:45] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:44:46,871 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:46] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:44:46,872 - __main__ - INFO - Generating video with cogvideox-5b 2025-10-02 18:44:46,872 - __main__ - INFO - Base prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:44:46,872 - __main__ - INFO - Enhanced prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, high contrast... 2025-10-02 18:44:46,872 - __main__ - INFO - Calling CogVideoX with prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, h 2025-10-02 18:44:46,872 - __main__ - ERROR - Model API call failed: No value provided for required argument: image_input 2025-10-02 18:44:46,873 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:46] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:44:47,663 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:47] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:44:47,665 - __main__ - INFO - Generating video with cogvideox-5b 2025-10-02 18:44:47,665 - __main__ - INFO - Base prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:44:47,665 - __main__ - INFO - Enhanced prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, high contrast... 2025-10-02 18:44:47,665 - __main__ - INFO - Calling CogVideoX with prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, h 2025-10-02 18:44:47,665 - __main__ - ERROR - Model API call failed: No value provided for required argument: image_input 2025-10-02 18:44:47,665 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:47] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:44:52,935 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:52] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:44:52,937 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:44:52] "POST /generate-video HTTP/1.1" 400 - 2025-10-02 18:45:00,842 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:45:00] "OPTIONS /generate-video HTTP/1.1" 200 - 2025-10-02 18:45:00,843 - __main__ - INFO - Generating video with cogvideox-5b 2025-10-02 18:45:00,843 - __main__ - INFO - Base prompt: A sports car drifting around a corner on a race track... 2025-10-02 18:45:00,843 - __main__ - INFO - Enhanced prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, high contrast... 2025-10-02 18:45:00,843 - __main__ - INFO - Calling CogVideoX with prompt: cartoon style, animated, A sports car drifting around a corner on a race track, dramatic lighting, h 2025-10-02 18:45:00,844 - __main__ - ERROR - Model API call failed: No value provided for required argument: image_input 2025-10-02 18:45:00,844 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:45:00] "POST /generate-video HTTP/1.1" 500 - 2025-10-02 18:46:50,523 - __main__ - INFO - Starting Enhanced Flask server on port 5000 (debug=False) 2025-10-02 18:46:50,523 - __main__ - INFO - Available models: cogvideox-5b, cogvideox-2b, hunyuan-video, stable-video-diffusion, demo 2025-10-02 18:46:50,523 - __main__ - INFO - Default model: cogvideox-5b 2025-10-02 18:46:50,528 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.4.190:5000 2025-10-02 18:46:50,528 - werkzeug - INFO - Press CTRL+C to quit