mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-19 16:15:04 +00:00
aspect ratio options from seedance
This commit is contained in:
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,
|
||||
}
|
||||
Reference in new issue
Block a user