add models to tauri

This commit is contained in:
Brandon Thomas committed 2026-03-04 09:40:19 -05:00
1 parent 62c5836176
commit 430d1c2135
3 files changed
+73

No files matched your search

@@ -32,6 +32,9 @@
{
"path": "../button"
},
{
"path": "../tooltip"
},
{
"path": "../modal"
},
@@ -73,6 +73,9 @@
{
"path": "../button/tsconfig.lib.json"
},
{
"path": "../tooltip/tsconfig.lib.json"
},
{
"path": "../modal/tsconfig.lib.json"
}
@@ -278,6 +278,73 @@ export const IMAGE_MODELS: ImageModel[] = [
CommonAspectRatio.Tall,
]
}),
new ImageModel({
id: "nano_banana_2",
tauriId: "nano_banana_2",
fullName: "Nano Banana 2",
category: "image",
creator: ModelCreator.Fal,
selectorName: "Nano Banana 2",
selectorDescription: "Fast instructive editing",
selectorBadges: ["25 sec."],
maxGenerationCount: 4,
defaultGenerationCount: 1,
canEditImages: true,
canUseImagePrompt: true,
maxImagePromptCount: 6,
canTextToImage: true,
tags: [ModelTag.InstructiveEdit],
progressBarTime: 25000,
canChangeResolution: true,
canChangeAspectRatio: true,
defaultAspectRatio: CommonAspectRatio.Square,
aspectRatios: [
CommonAspectRatio.Auto,
CommonAspectRatio.Square,
CommonAspectRatio.WideFiveByFour,
CommonAspectRatio.WideFourByThree,
CommonAspectRatio.WideThreeByTwo,
CommonAspectRatio.WideSixteenByNine,
CommonAspectRatio.WideTwentyOneByNine,
CommonAspectRatio.TallFourByFive,
CommonAspectRatio.TallThreeByFour,
CommonAspectRatio.TallTwoByThree,
CommonAspectRatio.TallNineBySixteen,
],
resolutions: [
CommonResolution.OneK,
CommonResolution.TwoK,
CommonResolution.FourK,
]
}),
new ImageModel({
id: "seedream_5_lite",
tauriId: "seedream_5_lite",
fullName: "Seedream 5 Lite",
category: "image",
creator: ModelCreator.Bytedance,
selectorName: "Seedream 5 Lite",
selectorDescription: "Fast",
selectorBadges: ["60 sec."],
maxGenerationCount: 4,
defaultGenerationCount: 1,
tags: [ModelTag.InstructiveEdit],
canEditImages: true,
canUseImagePrompt: true,
maxImagePromptCount: 6,
progressBarTime: 60000,
canChangeAspectRatio: true,
defaultAspectRatio: CommonAspectRatio.SquareHd,
aspectRatios: [
CommonAspectRatio.Auto2k,
CommonAspectRatio.Square,
CommonAspectRatio.SquareHd,
CommonAspectRatio.WideFourByThree,
CommonAspectRatio.WideSixteenByNine,
CommonAspectRatio.TallThreeByFour,
CommonAspectRatio.TallNineBySixteen,
]
}),
new ImageModel({
id: "seedream_4",
tauriId: "seedream_4",