File size: 31,447 Bytes
54ed165 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[31m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[33mGET / HTTP/1.1[0m" 404 -
2025-10-02 18:12:23,397 - werkzeug - INFO - 192.168.4.190 - - [02/Oct/2025 18:12:23] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
2025-10-02 18:12:33,931 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:12:33] "[33mGET / HTTP/1.1[0m" 404 -
2025-10-02 18:12:33,953 - werkzeug - INFO - 127.0.0.1 - - [02/Oct/2025 18:12:33] "[33mGET /favicon.ico HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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] "[31m[1mPOST /generate-video HTTP/1.1[0m" 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] "[35m[1mPOST /generate-video HTTP/1.1[0m" 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 - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* 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 - [33mPress CTRL+C to quit[0m
|