feat: 接入形态图库与 Seedream 生图操作

展示已有主图、候选图和失败记录,支持单图及批量生成、主图选择。
补充正式 ID 校验、费用确认、图片加载占位和回归测试。
依赖后端 eac8dc3 的项目形态图库只读接口。
This commit is contained in:
GouJ
2026-08-28 15:16:25 +08:00
parent bae69c3c62
commit 47443c0efe
26 changed files with 1338 additions and 25 deletions
+9 -1
View File
@@ -4,6 +4,7 @@ import { useRoute } from 'vue-router'
import {
Clapperboard,
Camera,
Images,
FolderOpen,
FileText,
Layers,
@@ -55,13 +56,20 @@ const apiBase = import.meta.env.VITE_API_BASE_URL || '/api'
title="剧本拆解"
><Layers :size="18" /><span class="sidebar-label">剧本拆解</span
><span class="sidebar-label ml-auto text-[10px] text-stone-500">02</span></RouterLink
><RouterLink
:to="`/projects/${projectId}/subject-images`"
class="side-link"
active-class="selected"
title="形态图片"
><Images :size="18" /><span class="sidebar-label">形态图片</span
><span class="sidebar-label ml-auto text-[10px] text-stone-500">03</span></RouterLink
><RouterLink
:to="`/projects/${projectId}/storyboard`"
class="side-link"
active-class="selected"
title="分镜设计"
><Camera :size="18" /><span class="sidebar-label">分镜设计</span
><span class="sidebar-label ml-auto text-[10px] text-stone-500">03</span></RouterLink
><span class="sidebar-label ml-auto text-[10px] text-stone-500">04</span></RouterLink
>
</nav></template
>