From 5418115ddd2ab597d291089e8c506cb2f09088c3 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 14 May 2026 19:57:49 +0800
Subject: [PATCH] 文艺短视频:使用模版生成时支持选择填充图片或视频

---
 aigc-director/aigc-claw/backend/api/schemas/pipelines.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/aigc-director/aigc-claw/backend/api/schemas/pipelines.py b/aigc-director/aigc-claw/backend/api/schemas/pipelines.py
index d0a2df8..63e1467 100644
--- a/aigc-director/aigc-claw/backend/api/schemas/pipelines.py
+++ b/aigc-director/aigc-claw/backend/api/schemas/pipelines.py
@@ -24,6 +24,7 @@
     subtitle_render_mode: Literal["postprocess", "image_model"] = "postprocess"
     subtitle_template: Optional[str] = None
     subtitle_template_fields: Optional[Dict[str, str]] = None
+    template_media_kind: Literal["image", "video"] = "image"
     video_duration: int = 5
     tts_voice: str = "zh-CN-YunjianNeural"
     tts_speed: float = 1.2

--
Gitblit v1.8.0