From 3d8770b5de4d73ce2dbbd0a25cde0244320330af Mon Sep 17 00:00:00 2001
From: Xinfan Chen <2024111082@stu.hit.edu.cn>
Date: Tue, 26 May 2026 09:22:47 +0800
Subject: [PATCH] feat: add global visual style prompt injection
---
video-claw/video-claw/backend/core/agents/reference_agent.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/video-claw/video-claw/backend/core/agents/reference_agent.py b/video-claw/video-claw/backend/core/agents/reference_agent.py
index 43f7ec8..9657b6e 100644
--- a/video-claw/video-claw/backend/core/agents/reference_agent.py
+++ b/video-claw/video-claw/backend/core/agents/reference_agent.py
@@ -251,8 +251,9 @@
for version in range(max_versions):
self._check_cancel()
+ style_prompt = self._get_style_prompt(style)
full_prompt = (
- f"{style} style, masterpiece, cinematic composition, "
+ f"{style_prompt}, masterpiece, cinematic composition, "
f"best quality, high resolution, "
f"{first_frame_prompt}"
)
--
Gitblit v1.8.0