From a8bf3b1135d879596810202dbeb6c019f0d6c84f Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 11 Jun 2026 22:05:50 +0800
Subject: [PATCH] add first-last-frame and reference-image mode in video generation
---
video-claw/video-claw/frontend/lib/modelRegistry.ts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/video-claw/video-claw/frontend/lib/modelRegistry.ts b/video-claw/video-claw/frontend/lib/modelRegistry.ts
index 1030bae..98d456b 100644
--- a/video-claw/video-claw/frontend/lib/modelRegistry.ts
+++ b/video-claw/video-claw/frontend/lib/modelRegistry.ts
@@ -37,3 +37,8 @@
const models = await fetchApiModels({ modelType });
return groupModelOptions(models);
}
+
+export async function fetchVideoModelGroupsByAbility(ability: string): Promise<ProviderGroup[]> {
+ const models = await fetchApiModels({ mediaType: 'video', ability, verifiedOnly: true });
+ return groupModelOptions(models);
+}
--
Gitblit v1.8.0