Compare commits

...
Author SHA1 Message Date
Brandon Thomas 7eb9f8878b update model list 2026-05-28 19:09:56 -04:00
@@ -191,85 +191,6 @@ fn build_omni_gen_video_models() -> Vec<OmniGenVideoModelDetails> {
..Default::default()
});
// models.push(OmniGenVideoModelDetails {
// model: CommonVideoModel::Seedance2p0Ultra,
// model_creator: Some(ModelCreator::Bytedance),
// full_name: Some("Seedance 2.0 (Global)".to_string()),
// text_prompt_supported: Some(true),
// starting_keyframe_supported: Some(true),
// ending_keyframe_supported: Some(true),
// image_references_supported: Some(true),
// image_references_max: Some(9),
// audio_references_supported: Some(true),
// audio_references_max: Some(3),
// audio_references_max_total_duration_seconds: Some(15),
// video_references_supported: Some(true),
// video_references_max: Some(3),
// video_references_max_total_duration_seconds: Some(15),
// character_references_supported: Some(true),
// character_references_max: Some(9),
// aspect_ratio_options: Some(vec![
// CommonAspectRatio::WideTwentyOneByNine,
// CommonAspectRatio::WideSixteenByNine,
// CommonAspectRatio::WideFourByThree,
// CommonAspectRatio::Square,
// CommonAspectRatio::TallThreeByFour,
// CommonAspectRatio::TallNineBySixteen,
// ]),
// aspect_ratio_default: Some(CommonAspectRatio::WideSixteenByNine),
// resolution_options: Some(vec![
// CommonResolution::FourEightyP,
// CommonResolution::SevenTwentyP,
// CommonResolution::TenEightyP,
// ]),
// resolution_default: Some(CommonResolution::SevenTwentyP),
// batch_size_options: Some(vec![1, 2, 4]),
// batch_size_default: Some(1),
// duration_seconds_min: Some(4),
// duration_seconds_max: Some(15),
// duration_seconds_default: Some(5),
// ..Default::default()
// });
//
// models.push(OmniGenVideoModelDetails {
// model: CommonVideoModel::Seedance2p0UltraFast,
// model_creator: Some(ModelCreator::Bytedance),
// full_name: Some("Seedance 2.0 Fast (Global)".to_string()),
// text_prompt_supported: Some(true),
// starting_keyframe_supported: Some(true),
// ending_keyframe_supported: Some(true),
// image_references_supported: Some(true),
// image_references_max: Some(9),
// audio_references_supported: Some(true),
// audio_references_max: Some(3),
// audio_references_max_total_duration_seconds: Some(15),
// video_references_supported: Some(true),
// video_references_max: Some(3),
// video_references_max_total_duration_seconds: Some(15),
// character_references_supported: Some(true),
// character_references_max: Some(9),
// aspect_ratio_options: Some(vec![
// CommonAspectRatio::WideTwentyOneByNine,
// CommonAspectRatio::WideSixteenByNine,
// CommonAspectRatio::WideFourByThree,
// CommonAspectRatio::Square,
// 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(4),
// duration_seconds_max: Some(15),
// duration_seconds_default: Some(5),
// ..Default::default()
// });
models.push(OmniGenVideoModelDetails {
model: CommonVideoModel::Seedance2p0BytePlus,
model_creator: Some(ModelCreator::Bytedance),
@@ -349,6 +270,85 @@ fn build_omni_gen_video_models() -> Vec<OmniGenVideoModelDetails> {
..Default::default()
});
models.push(OmniGenVideoModelDetails {
model: CommonVideoModel::Seedance2p0BytePlusUltra,
model_creator: Some(ModelCreator::Bytedance),
full_name: Some("Seedance 2.0 Plus Ultra".to_string()),
text_prompt_supported: Some(true),
starting_keyframe_supported: Some(true),
ending_keyframe_supported: Some(true),
image_references_supported: Some(true),
image_references_max: Some(9),
audio_references_supported: Some(true),
audio_references_max: Some(3),
audio_references_max_total_duration_seconds: Some(15),
video_references_supported: Some(true),
video_references_max: Some(3),
video_references_max_total_duration_seconds: Some(15),
character_references_supported: Some(true),
character_references_max: Some(9),
aspect_ratio_options: Some(vec![
CommonAspectRatio::WideTwentyOneByNine,
CommonAspectRatio::WideSixteenByNine,
CommonAspectRatio::WideFourByThree,
CommonAspectRatio::Square,
CommonAspectRatio::TallThreeByFour,
CommonAspectRatio::TallNineBySixteen,
]),
aspect_ratio_default: Some(CommonAspectRatio::WideSixteenByNine),
resolution_options: Some(vec![
CommonResolution::FourEightyP,
CommonResolution::SevenTwentyP,
CommonResolution::TenEightyP,
]),
resolution_default: Some(CommonResolution::SevenTwentyP),
batch_size_options: Some(vec![1, 2, 4]),
batch_size_default: Some(1),
duration_seconds_min: Some(4),
duration_seconds_max: Some(15),
duration_seconds_default: Some(5),
..Default::default()
});
models.push(OmniGenVideoModelDetails {
model: CommonVideoModel::Seedance2p0BytePlusUltraFast,
model_creator: Some(ModelCreator::Bytedance),
full_name: Some("Seedance 2.0 Plus Ultra Fast".to_string()),
text_prompt_supported: Some(true),
starting_keyframe_supported: Some(true),
ending_keyframe_supported: Some(true),
image_references_supported: Some(true),
image_references_max: Some(9),
audio_references_supported: Some(true),
audio_references_max: Some(3),
audio_references_max_total_duration_seconds: Some(15),
video_references_supported: Some(true),
video_references_max: Some(3),
video_references_max_total_duration_seconds: Some(15),
character_references_supported: Some(true),
character_references_max: Some(9),
aspect_ratio_options: Some(vec![
CommonAspectRatio::WideTwentyOneByNine,
CommonAspectRatio::WideSixteenByNine,
CommonAspectRatio::WideFourByThree,
CommonAspectRatio::Square,
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(4),
duration_seconds_max: Some(15),
duration_seconds_default: Some(5),
..Default::default()
});
// TODO(bt,2026-04-10): Veo 2 image-to-video doesn't support aspect ratio
models.push(OmniGenVideoModelDetails {
is_disabled: Some(true), // TODO: Temporarily disable