添加全能创作功能

This commit is contained in:
Azmat@qq.com
2026-09-03 13:11:46 +08:00
parent 22ed2833ad
commit 6a628b0ca7
53 changed files with 9115 additions and 108 deletions
+5
View File
@@ -3883,6 +3883,11 @@ def run_standalone_image_task(*, task_id: str) -> None:
task=task, project=task.project, recipient=user,
stage_label="图片创作", raw=str(exc), hint=friendly_generation_error(str(exc)),
)
from apps.ai.creation import sync_generating_for_task
# 全能创作挂在这条任务上的 GENERATING 要立刻改成 RESULT/ERROR,
# 不能干等前端下一次轮询 —— 否则页面会一直停在「正在生成」。
sync_generating_for_task(task)
# ── 旁白配音(TTS):每镜旁白合成一段语音,导出时作为人声轨混在 BGM 之上 ──