添加全能创作功能
This commit is contained in:
@@ -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 之上 ──
|
||||
|
||||
Reference in New Issue
Block a user