From 1bfa66f961db3a68c08e491025cf24cc6653bb2b Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Wed, 13 May 2026 22:11:17 +0800
Subject: [PATCH] 更改项目示意图
---
aigc-director/aigc-claw/backend/api/schemas/pipelines.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/aigc-director/aigc-claw/backend/api/schemas/pipelines.py b/aigc-director/aigc-claw/backend/api/schemas/pipelines.py
index 5ad596c..d0a2df8 100644
--- a/aigc-director/aigc-claw/backend/api/schemas/pipelines.py
+++ b/aigc-director/aigc-claw/backend/api/schemas/pipelines.py
@@ -1,4 +1,4 @@
-from typing import Any, Dict, Optional
+from typing import Any, Dict, Literal, Optional
from pydantic import BaseModel, Field
@@ -21,6 +21,7 @@
generate_audio: bool = True
generate_videos: bool = False
enable_subtitles: bool = False
+ subtitle_render_mode: Literal["postprocess", "image_model"] = "postprocess"
subtitle_template: Optional[str] = None
subtitle_template_fields: Optional[Dict[str, str]] = None
video_duration: int = 5
--
Gitblit v1.8.0