Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

export enum CommonVideoModel {
GrokVideo = "grok_video",
HappyHorse1p0 = "happy_horse_1p0",
Kling16Pro = "kling_1p6_pro",
Kling21Pro = "kling_2p1_pro",
Kling21Master = "kling_2p1_master",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export function videoModelToCommonVideoModel(
switch (tauriId) {
case "grok_video":
return CommonVideoModel.GrokVideo;
case "happy_horse_1p0":
return CommonVideoModel.HappyHorse1p0;
case "kling_1.6_pro":
return CommonVideoModel.Kling16Pro;
case "kling_2.1_pro":
Expand Down
47 changes: 47 additions & 0 deletions frontend/libs/model-list/src/lib/lists/VideoModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,53 @@ export const VIDEO_MODELS: VideoModel[] = [
},
],
}),
new VideoModel({
id: "happy_horse_1p0",
tauriId: "happy_horse_1p0",
fullName: "Happy Horse 1.0",
category: "video",
creator: ModelCreator.Alibaba,
selectorName: "Happy Horse 1.0",
selectorDescription: "High quality video model",
selectorBadges: ["2 min."],
startFrame: true,
endFrame: false,
requiresImage: false,
sizeOptions: [
{
tauriValue: "wide_sixteen_by_nine",
textLabel: "16:9",
icon: SizeIconOption.Landscape16x9,
},
{
tauriValue: "wide_four_by_three",
textLabel: "4:3",
icon: SizeIconOption.Standard4x3,
},
{
tauriValue: "square",
textLabel: "1:1",
icon: SizeIconOption.Square,
},
{
tauriValue: "tall_three_by_four",
textLabel: "3:4",
icon: SizeIconOption.Portrait3x4,
},
{
tauriValue: "tall_nine_by_sixteen",
textLabel: "9:16",
icon: SizeIconOption.Portrait9x16,
},
],
supportsCommonAspectRatio: true,
durationOptions: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
defaultDuration: 5,
resolutionOptions: ["720p", "1080p"],
defaultResolution: "720p",
progressBarTime: 180000,
maxPromptLength: 2500,
}),
new VideoModel({
id: "kling_1_6_pro",
tauriId: "kling_1.6_pro",
Expand Down