From 3efd77846988e8524afe7745c335df19d1a2eba9 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 1 Jan 2026 20:28:32 -0500 Subject: [PATCH] frontend config --- .../model-list/src/lib/lists/ImageModels.ts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/frontend/libs/model-list/src/lib/lists/ImageModels.ts b/frontend/libs/model-list/src/lib/lists/ImageModels.ts index 617108dddd..2e9e6a5f24 100644 --- a/frontend/libs/model-list/src/lib/lists/ImageModels.ts +++ b/frontend/libs/model-list/src/lib/lists/ImageModels.ts @@ -67,6 +67,18 @@ export const IMAGE_MODELS: ImageModel[] = [ maxImagePromptCount: 6, progressBarTime: 35000, canChangeAspectRatio: true, + defaultAspectRatio: CommonAspectRatio.Square, + aspectRatios: [ + CommonAspectRatio.Square, + CommonAspectRatio.WideThreeByTwo, + CommonAspectRatio.WideFourByThree, + CommonAspectRatio.WideSixteenByNine, + CommonAspectRatio.WideTwentyOneByNine, + CommonAspectRatio.TallTwoByThree, + CommonAspectRatio.TallThreeByFour, + CommonAspectRatio.TallNineBySixteen, + CommonAspectRatio.TallNineByTwentyOne, + ], }), new ImageModel({ id: "flux_pro_1_1", @@ -83,6 +95,14 @@ export const IMAGE_MODELS: ImageModel[] = [ maxImagePromptCount: 6, progressBarTime: 10000, canChangeAspectRatio: true, + defaultAspectRatio: CommonAspectRatio.Square, + aspectRatios: [ + CommonAspectRatio.Square, + CommonAspectRatio.WideFourByThree, + CommonAspectRatio.WideSixteenByNine, + CommonAspectRatio.TallThreeByFour, + CommonAspectRatio.TallNineBySixteen, + ], }), new ImageModel({ id: "flux_1_dev", @@ -99,6 +119,15 @@ export const IMAGE_MODELS: ImageModel[] = [ maxImagePromptCount: 6, progressBarTime: 10000, canChangeAspectRatio: true, + defaultAspectRatio: CommonAspectRatio.Square, + aspectRatios: [ + CommonAspectRatio.Square, + CommonAspectRatio.SquareHd, + CommonAspectRatio.WideFourByThree, + CommonAspectRatio.WideSixteenByNine, + CommonAspectRatio.TallThreeByFour, + CommonAspectRatio.TallNineBySixteen, + ], }), new ImageModel({ id: "flux_1_schnell", @@ -115,6 +144,15 @@ export const IMAGE_MODELS: ImageModel[] = [ maxImagePromptCount: 6, progressBarTime: 10000, canChangeAspectRatio: true, + defaultAspectRatio: CommonAspectRatio.Square, + aspectRatios: [ + CommonAspectRatio.Square, + CommonAspectRatio.SquareHd, + CommonAspectRatio.WideFourByThree, + CommonAspectRatio.WideSixteenByNine, + CommonAspectRatio.TallThreeByFour, + CommonAspectRatio.TallNineBySixteen, + ], }), new ImageModel({ id: "nano_banana",