aspect ratio options from seedance

This commit is contained in:
Brandon Thomas committed 2025-12-31 13:08:06 -05:00
1 parent c8228c5073
commit 9d02ed35e7
1 file changed
+15
@@ -8,22 +8,37 @@ use serde_derive::{Deserialize, Serialize};
pub enum CommonAspectRatio {
// Auto (eg. for image editing to use the source; used by Nano Banana Pro edit image, but not text-to-image)
Auto,
// Square
Square,
// Wide
WideFiveByFour,
WideFourByThree,
WideThreeByTwo,
WideSixteenByNine,
WideTwentyOneByNine,
// Tall
TallFourByFive,
TallThreeByFour,
TallTwoByThree,
TallNineBySixteen,
TallNineByTwentyOne,
// Imprecise semantic values that we probably remap to other meanings
// on a model-by-model basis.
Wide,
Tall,
//Possible enum values: square_hd, square,
// portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9,
// auto, auto_2K, auto_4K
// Auto values that bake in resolution
Auto2k,
Auto4k,
// Defined aspect ratios that bake in resolution
SquareHd,
}