feat: add browser talking avatar pipeline
This commit is contained in:
1 parent
ebcb6e880a
commit
16c0bf7f2e
21 files changed
+1746
-22
No files matched your search
+38
-14
@@ -139,20 +139,32 @@ export const UI_COPY = {
|
||||
smartVisionClear: "清除当前分析",
|
||||
smartVisionCutoutDownload: "下载透明 PNG",
|
||||
smartVisionNoSubject: "没有找到高置信度主体,可换一帧后重试。",
|
||||
avatarKicker: "Avatar lab · WebGPU",
|
||||
avatarKicker: "Avatar lab · Browser ONNX",
|
||||
avatarTitle: "数字人(实验室)",
|
||||
avatarExperimental: "实验功能",
|
||||
avatarSupported: "浏览器已就绪",
|
||||
avatarDescription: "使用正脸照片与当前 AI 配音生成会说话的人像。首版采用浏览器端 ONNX 路径,模型将在首次生成时按需下载。",
|
||||
avatarPortrait: "正脸照片",
|
||||
avatarWebgpu: "WebGPU",
|
||||
avatarWebgpu: "WASM 稳定路径",
|
||||
avatarAudio: "当前配音",
|
||||
avatarCheck: "检查浏览器支持",
|
||||
avatarRecheck: "重新检查 WebGPU",
|
||||
avatarOfficial: "官方服务路线",
|
||||
avatarRecheck: "重新检查浏览器",
|
||||
avatarOfficial: "完整模型路线",
|
||||
avatarWebPort: "Web 移植中",
|
||||
avatarService: "官方推理服务",
|
||||
avatarServiceNeeded: "待配置官方 LivePortrait 服务",
|
||||
avatarServiceHint: "官方 LivePortrait 通过服务端完整模型运行:头像 + 音频驱动视频 → 正式人像动画。浏览器不会再生成伪口型结果。",
|
||||
avatarServiceNeeded: "LivePortrait Web 移植中",
|
||||
avatarServiceHint: "浏览器单帧与画面轨替换已通过验收;3D 形变当前使用较慢的 WASM 正确性路径,下一阶段接入音频驱动 ONNX 并进行 WebGPU 加速。",
|
||||
avatarPortingStatus: "模型工程 · 阶段 2/3",
|
||||
avatarModelSource: "锁定模型",
|
||||
avatarStagePinned: "模型版本已锁定",
|
||||
avatarStageGrid: "3D 形变单帧已跑通",
|
||||
avatarStageAudio: "音频驱动 ONNX",
|
||||
avatarChecking: "正在检测浏览器…",
|
||||
avatarPreparing: "准备肖像",
|
||||
avatarGenerateAcceptance: "生成单帧并替换画面轨",
|
||||
avatarAcceptanceDone: "单帧验收完成",
|
||||
avatarTrackReplaced: "LivePortrait 单帧已替换到画面轨",
|
||||
avatarGenerationFailed: "数字人生成失败",
|
||||
avatarOpen: "打开数字人控制台",
|
||||
avatarLipSyncTitle: "字幕口型同步",
|
||||
avatarLipSyncDescription: "将字幕时间轴和当前 AI 配音映射为人物嘴型与表情节奏。",
|
||||
@@ -164,7 +176,7 @@ export const UI_COPY = {
|
||||
avatarNeedsCaptions: "请先生成或添加字幕",
|
||||
avatarSyncMode: "同步方式",
|
||||
avatarSyncModeCaption: "字幕 + 配音精确对齐",
|
||||
avatarGenerationNote: "生成时会按需下载浏览器 ONNX 模型;首次运行需要 WebGPU,并可能耗时较长。",
|
||||
avatarGenerationNote: "已锁定 Hugging Face 模型提交与生成器校验值;兼容性验证不会下载 421MB 生成器。",
|
||||
avatarGenerate: "生成口型视频",
|
||||
avatarGenerating: "正在生成数字人视频",
|
||||
avatarGenerationHint: "首次运行会下载模型;请保持此页面打开。",
|
||||
@@ -371,20 +383,32 @@ export const UI_COPY = {
|
||||
smartVisionClear: "Clear current analysis",
|
||||
smartVisionCutoutDownload: "Download transparent PNG",
|
||||
smartVisionNoSubject: "No high-confidence subject found. Seek to another frame and retry.",
|
||||
avatarKicker: "Avatar lab · WebGPU",
|
||||
avatarKicker: "Avatar lab · Browser ONNX",
|
||||
avatarTitle: "Talking avatar (Lab)",
|
||||
avatarExperimental: "Experimental",
|
||||
avatarSupported: "Browser ready",
|
||||
avatarDescription: "Generate a talking portrait from a front-facing photo and the current AI voiceover. The browser ONNX model will download on first use.",
|
||||
avatarPortrait: "Front-facing photo",
|
||||
avatarWebgpu: "WebGPU",
|
||||
avatarWebgpu: "Stable WASM path",
|
||||
avatarAudio: "Current voiceover",
|
||||
avatarCheck: "Check browser support",
|
||||
avatarRecheck: "Recheck WebGPU",
|
||||
avatarOfficial: "Official service path",
|
||||
avatarRecheck: "Recheck browser",
|
||||
avatarOfficial: "Full-model path",
|
||||
avatarWebPort: "Web port in progress",
|
||||
avatarService: "Official inference service",
|
||||
avatarServiceNeeded: "Official LivePortrait service required",
|
||||
avatarServiceHint: "Official LivePortrait runs as a full server-side pipeline: portrait + audio-driven video → portrait animation. The browser will no longer produce simulated lip-sync output.",
|
||||
avatarServiceNeeded: "LivePortrait Web port in progress",
|
||||
avatarServiceHint: "Browser single-frame inference and visual-track replacement have passed. The 3D warping path currently uses the slower WASM correctness path; audio-driver ONNX and WebGPU acceleration are next.",
|
||||
avatarPortingStatus: "Model engineering · Stage 2/3",
|
||||
avatarModelSource: "Pinned model",
|
||||
avatarStagePinned: "Model revision pinned",
|
||||
avatarStageGrid: "3D browser frame passed",
|
||||
avatarStageAudio: "Audio driver ONNX",
|
||||
avatarChecking: "Checking browser…",
|
||||
avatarPreparing: "Preparing portrait",
|
||||
avatarGenerateAcceptance: "Generate frame and replace visual track",
|
||||
avatarAcceptanceDone: "Single-frame acceptance complete",
|
||||
avatarTrackReplaced: "LivePortrait frame replaced the visual track",
|
||||
avatarGenerationFailed: "Avatar generation failed",
|
||||
avatarOpen: "Open avatar controls",
|
||||
avatarLipSyncTitle: "Caption lip sync",
|
||||
avatarLipSyncDescription: "Map caption timing and the current voiceover into mouth and expression timing.",
|
||||
@@ -396,7 +420,7 @@ export const UI_COPY = {
|
||||
avatarNeedsCaptions: "Generate or add captions first",
|
||||
avatarSyncMode: "Sync method",
|
||||
avatarSyncModeCaption: "Captions + voiceover alignment",
|
||||
avatarGenerationNote: "The browser ONNX model downloads on demand. First use requires WebGPU and can take a while.",
|
||||
avatarGenerationNote: "The Hugging Face revision and generator checksum are pinned. Compatibility diagnostics do not download the 421 MB generator.",
|
||||
avatarGenerate: "Generate lip-sync video",
|
||||
avatarGenerating: "Generating avatar video",
|
||||
avatarGenerationHint: "First use downloads models. Keep this page open.",
|
||||
|
||||
Reference in new issue
Block a user