auto-save 2026-05-17 22:25 (~3)

This commit is contained in:
2026-05-17 22:25:07 +08:00
parent e97dcd9b76
commit e5cffe984d
3 changed files with 36 additions and 23 deletions

View File

@@ -1267,9 +1267,9 @@ function SourceReferenceBuildPanel({
for (const frame of job.frames) {
if (selectedFrames.has(frame.index)) onToggleFrame(frame.index)
}
const updated = await analyzeJob(job.id, 12, "subject", "replace", "accurate")
const updated = await analyzeJob(job.id, 12, "motion", "replace", "accurate")
onJobUpdate(updated)
toast.info("已开始按人物主体重新抽取 12 张关键帧,完成后在这里人工选择参考。")
toast.info("已按动作峰值逻辑重新抽取 12 张参考帧,完成后在这里人工选择主角参考。")
} catch (e) {
toast.error("12 张关键帧抽取失败:" + (e instanceof Error ? e.message : String(e)))
} finally {
@@ -1356,10 +1356,11 @@ function SourceReferenceBuildPanel({
type="button"
onClick={() => void extractKeyframes()}
disabled={!job.video_url || extracting || job.status === "splitting"}
title="按之前的动作峰值逻辑抽帧,更偏向手势、表情变化、节奏点和镜头变化"
className="inline-flex h-7 items-center justify-center gap-1 rounded-md border border-white/10 bg-white/[0.055] px-2 text-[10.5px] font-semibold text-white/66 transition hover:border-cyan-300/35 hover:text-cyan-100 disabled:cursor-not-allowed disabled:opacity-35"
>
{extracting || job.status === "splitting" ? <Loader2 className="h-3.5 w-3.5 animate-spin" /> : <Scissors className="h-3.5 w-3.5" />}
12
12
</button>
<button
type="button"
@@ -1424,7 +1425,7 @@ function SourceReferenceBuildPanel({
})}
{!frames.length && (
<div className="col-span-4 flex h-[106px] items-center justify-center rounded border border-dashed border-white/12 text-[11px] text-white/34">
12
12
</div>
)}
</div>
@@ -1927,7 +1928,7 @@ function AudioStoryboardPlanPanel({
<StoryboardPlanCell label="生成视频" className="xl:border-r-0">
<StoryboardVideoSlots job={job} videos={rowVideos} enabled={!!referenceFrame} />
<div className="mt-1 truncate text-[10px] text-white/34" title={referenceFrame ? `参考 ${referenceFrame.timestamp.toFixed(1)}s` : row.referencePlan}>
{referenceFrame ? `参考 ${referenceFrame.timestamp.toFixed(1)}s · 可多次生成候选` : "先在原版视频旁抽人物 12 帧"}
{referenceFrame ? `参考 ${referenceFrame.timestamp.toFixed(1)}s · 可多次生成候选` : "先在原版视频旁抽参考 12 帧"}
</div>
<button
type="button"
@@ -1945,7 +1946,7 @@ function AudioStoryboardPlanPanel({
</div>
</>
) : (
<EmptyState text="音频解析完成后,这里会按逐句时间轴生成信息流复刻分镜工作台。先在原版视频旁抽人物 12 帧并选择主角参考,再按分镜生成视频候选。" />
<EmptyState text="音频解析完成后,这里会按逐句时间轴生成信息流复刻分镜工作台。先在原版视频旁抽参考 12 帧并选择主角参考,再按分镜生成视频候选。" />
)}
</section>
)