From 7f45ce7efc8fcfd25530fb06f599de8389dfc2ee Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 31 May 2026 11:51:32 -0400 Subject: [PATCH] add grok to model list --- .../src/configs/omni_gen/video_models.rs | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/crates/service/web/storyteller_web/src/configs/omni_gen/video_models.rs b/crates/service/web/storyteller_web/src/configs/omni_gen/video_models.rs index 7efe5ddffb..86bb63a08e 100644 --- a/crates/service/web/storyteller_web/src/configs/omni_gen/video_models.rs +++ b/crates/service/web/storyteller_web/src/configs/omni_gen/video_models.rs @@ -55,6 +55,42 @@ fn build_omni_gen_video_models() -> Vec { ..Default::default() }); + models.push(OmniGenVideoModelDetails { + model: CommonVideoModel::GrokImagineVideo1p5, + model_creator: Some(ModelCreator::Grok), + full_name: Some("Grok Imagine 1.5 Preview".to_string()), + text_prompt_supported: Some(true), + starting_keyframe_supported: Some(true), + ending_keyframe_supported: Some(false), + image_references_supported: Some(true), + image_references_max: Some(7), + //video_references_supported: Some(false), + //video_references_max: Some(3), + //video_references_max_total_duration_seconds: Some(15), + aspect_ratio_options: Some(vec![ + CommonAspectRatio::WideSixteenByNine, + CommonAspectRatio::WideFourByThree, + CommonAspectRatio::WideThreeByTwo, + CommonAspectRatio::Square, + CommonAspectRatio::TallTwoByThree, + CommonAspectRatio::TallThreeByFour, + CommonAspectRatio::TallNineBySixteen, + ]), + aspect_ratio_default: Some(CommonAspectRatio::WideSixteenByNine), + resolution_options: Some(vec![ + CommonResolution::FourEightyP, + CommonResolution::SevenTwentyP, + ]), + resolution_default: Some(CommonResolution::SevenTwentyP), + //batch_size_options: Some(vec![1, 2, 4]), + //batch_size_default: Some(1), + duration_seconds_min: Some(1), + duration_seconds_max: Some(15), + duration_seconds_max_with_image_references: Some(10), + duration_seconds_default: Some(8), + ..Default::default() + }); + models.push(OmniGenVideoModelDetails { model: CommonVideoModel::HappyHorse1p0, model_creator: Some(ModelCreator::Alibaba),