From 8b2c41e5a5239fc43f3684fc8bc8b7510305cf4f Mon Sep 17 00:00:00 2001
From: Xinfan Chen <2024111082@stu.hit.edu.cn>
Date: Tue, 31 Mar 2026 12:00:14 +0800
Subject: [PATCH] Set the log level to INFO
---
aigc-director/aigc-claw/backend/tool/video_client.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/aigc-director/aigc-claw/backend/tool/video_client.py b/aigc-director/aigc-claw/backend/tool/video_client.py
index 3cf511c..5104c0d 100644
--- a/aigc-director/aigc-claw/backend/tool/video_client.py
+++ b/aigc-director/aigc-claw/backend/tool/video_client.py
@@ -94,7 +94,10 @@
if Config.PRINT_MODEL_INPUT:
print("---- VIDEO GENERATION REQUEST ----")
print(f"Prompt: {prompt}")
- print(f"Image: {image_path}")
+ if image_path and str(image_path).startswith("data:"):
+ print(f"Image: [Base64图片]")
+ else:
+ print(f"Image: {image_path}")
print(f"Model: {model}")
print(f"Duration: {duration}s")
print(f"Shot Type: {shot_type}")
--
Gitblit v1.8.0