report text-to-video unsupported

This commit is contained in:
Brandon Thomas committed 2026-05-31 13:32:55 -04:00
1 parent 5cb5818645
commit ae5dd36137
2 files changed
+7 -1

No files matched your search

@@ -79,7 +79,11 @@ pub struct OmniGenVideoModelDetails {
/// Additional details about the model. (Brief; only a few words.)
#[serde(skip_serializing_if = "Option::is_none")]
pub extra_info_short: Option<String>,
/// Whether a pure text-to-video modality is supported
#[serde(skip_serializing_if = "Option::is_none")]
pub text_to_video_supported: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
pub text_prompt_supported: Option<bool>,
@@ -193,6 +197,7 @@ impl Default for OmniGenVideoModelDetails {
full_name: None,
extra_info: None,
extra_info_short: None,
text_to_video_supported: None,
text_prompt_supported: None,
text_prompt_max_length: None,
negative_text_prompt_supported: None,
@@ -23,6 +23,7 @@ fn build_omni_gen_video_models() -> Vec<OmniGenVideoModelDetails> {
model: CommonVideoModel::GrokImagineVideo,
model_creator: Some(ModelCreator::Grok),
full_name: Some("Grok Imagine".to_string()),
text_to_video_supported: Some(false),
text_prompt_supported: Some(true),
starting_keyframe_supported: Some(true),
ending_keyframe_supported: Some(false),