============================================== 🎬 带货短视频工作台已启动 本机访问: http://127.0.0.1:52950 手机(同一WiFi): http://192.168.1.4:52950 Ctrl+C 退出 ============================================== HTTPS 启动失败(跳过): [Errno 48] Address already in use upload 1f5e2b3aee49453ab15fe24db7a5efba.png 1178390 bytes job 2832f1d4 submitted: 参考输入图1中的上衣服装,面料质感,生成一位25岁亚洲女模特,戴口罩,皮肤白皙, [cos] 本地图片已上传: https://img-1257849333.cos.ap-guangzhou.myqcloud.com/douyin/20260831/1552fa17_1f5e2b3aee49453ab15fe24db7a5efba.png upload 6a61e44187ff4d7e9579bf3b18d4e813.png 2255983 bytes job ec132fca submitted: 参考第1张图片中的套装,将它穿在一个25岁东方气质美女身上,美女是鹅蛋脸,戴口罩 [cos] 本地图片已上传: https://img-1257849333.cos.ap-guangzhou.myqcloud.com/douyin/20260831/d75f9ac5_6a61e44187ff4d7e9579bf3b18d4e813.png POST /api/video ERROR: [Errno 32] Broken pipe ---------------------------------------- Exception occurred during processing of request from ('127.0.0.1', 57087) Traceback (most recent call last): File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 390, in do_GET self.send_header("Content-Length", str(len(b))); self.end_headers(); self.wfile.write(b); return ~~~~~~~~~~~~~~~~^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 766, in __init__ self.handle() ~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 496, in handle self.handle_one_request() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 484, in handle_one_request method() ~~~~~~^^ File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 399, in do_GET self._json({"ok": False, "error": str(e)}, 500) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 301, in _json self.end_headers() ~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 598, in end_headers self.flush_headers() ~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 602, in flush_headers self.wfile.write(b"".join(self._headers_buffer)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe ---------------------------------------- POST /api/video ERROR: [Errno 32] Broken pipe ---------------------------------------- Exception occurred during processing of request from ('127.0.0.1', 57153) Traceback (most recent call last): File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 390, in do_GET self.send_header("Content-Length", str(len(b))); self.end_headers(); self.wfile.write(b); return ~~~~~~~~~~~~~~~~^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 766, in __init__ self.handle() ~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 496, in handle self.handle_one_request() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 484, in handle_one_request method() ~~~~~~^^ File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 399, in do_GET self._json({"ok": False, "error": str(e)}, 500) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 301, in _json self.end_headers() ~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 598, in end_headers self.flush_headers() ~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 602, in flush_headers self.wfile.write(b"".join(self._headers_buffer)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe ---------------------------------------- POST /api/video ERROR: [Errno 32] Broken pipe ---------------------------------------- Exception occurred during processing of request from ('127.0.0.1', 57158) Traceback (most recent call last): File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 390, in do_GET self.send_header("Content-Length", str(len(b))); self.end_headers(); self.wfile.write(b); return ~~~~~~~~~~~~~~~~^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 697, in process_request_thread self.finish_request(request, client_address) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 766, in __init__ self.handle() ~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 496, in handle self.handle_one_request() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 484, in handle_one_request method() ~~~~~~^^ File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 399, in do_GET self._json({"ok": False, "error": str(e)}, 500) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/cheyod/AIGC/DSH/douyin_workflow/studio.py", line 301, in _json self.end_headers() ~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 598, in end_headers self.flush_headers() ~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/http/server.py", line 602, in flush_headers self.wfile.write(b"".join(self._headers_buffer)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.4/Frameworks/Python.framework/Versions/3.14/lib/python3.14/socketserver.py", line 845, in write self._sock.sendall(b) ~~~~~~~~~~~~~~~~~~^^^ BrokenPipeError: [Errno 32] Broken pipe ----------------------------------------