feat(canvas): 媒体产出模型与选用模型分离 (#597)

Co-authored-by: ddcat666 <26564566+ddcat666@users.noreply.github.com>
This commit is contained in:
VicoHu
2026-09-24 09:28:16 +08:00
committed by ddcat666
parent a89bd4aead
commit 357450e52c
28 changed files with 367 additions and 52 deletions

View File

@@ -272,7 +272,12 @@ export type CanvasNodeMetadata = {
fontSize?: number;
generationMode?: CanvasGenerationMode;
generationType?: CanvasImageGenerationType;
/** 选用模型:下一次生成将使用的模型,随提示词面板下拉变化。 */
model?: string;
/** 产出模型:当前图片、视频或音频内容生成成功时冻结的模型身份。 */
producedModel?: string;
/** 本次生成已提交、尚未成功落盘的模型身份。失败或改下拉都不改产出模型。 */
producedModelCandidate?: string;
workflowProvider?: "model" | "runninghub";
runningHubWorkflowId?: string;
runningHubWorkflowKind?: "workflow" | "app";