严格区分Seedance视频模型

将画板生成视频默认模型调整为 seedance2.0-fast

为 seedance2.0 与 seedance2.0-fast 分别映射独立上游模型

固定角色动画使用 seedance2.0-fast 并更新前后端契约测试

同步更新编辑器生成面板和项目记忆文档
This commit is contained in:
2026-06-18 14:40:39 +08:00
parent 7b277480f0
commit 38cbb85d48
19 changed files with 163 additions and 41 deletions
@@ -702,7 +702,7 @@ describe('editorProjectClient', () => {
it('generates editor character animations through the backend BFF', async () => {
requestJsonMock.mockResolvedValueOnce({
taskId: 'character-animation-1',
model: 'seedance2.0',
model: 'seedance2.0-fast',
prompt: '生成游戏角色动画\n动作描述:\n待机',
previewVideoPath: '/generated-character-drafts/editor/preview.mp4',
frames: [
@@ -730,7 +730,7 @@ describe('editorProjectClient', () => {
frameCount: 32,
durationSeconds: 4,
priceMudPoints: 40,
model: 'seedance2.0',
model: 'seedance2.0-fast',
});
expect(result.taskId).toBe('character-animation-1');
@@ -750,7 +750,7 @@ describe('editorProjectClient', () => {
frameCount: 32,
durationSeconds: 4,
priceMudPoints: 40,
model: 'seedance2.0',
model: 'seedance2.0-fast',
}),
}),
'生成角色动画失败',
@@ -164,7 +164,7 @@ export type EditorCharacterAnimationGenerationInput = {
frameCount: EditorCharacterAnimationFrameCount;
durationSeconds: EditorCharacterAnimationDurationSeconds;
priceMudPoints: number;
model: 'seedance2.0';
model: 'seedance2.0-fast';
};
export type EditorCharacterAnimationFrameResult = {
@@ -176,7 +176,7 @@ export type EditorCharacterAnimationFrameResult = {
export type EditorCharacterAnimationGenerationResult = {
taskId: string;
model: 'seedance2.0';
model: 'seedance2.0-fast';
prompt: string;
previewVideoPath: string;
frames: EditorCharacterAnimationFrameResult[];