MinimaxVideoModel<T>

Models & Types · AiDotNet.Diffusion.Video

MiniMax Hailuo video model with strong image-to-video generation.

Inheritance: DiffusionModelBase<T> → LatentDiffusionModelBase<T> → VideoDiffusionModelBase<T> → MinimaxVideoModel<T>

For Beginners

Minimax Video (Hailuo) excels at image-to-video generation, animating still images into natural-looking video clips. It produces smooth motion from a single reference image while maintaining the original image style.

How It Works

References:

  • Reference: MiniMax Hailuo I2V-01-Live (2024)

MiniMax Hailuo produces some of the most realistic AI-generated videos with impressive camera control for cinematic scenes. Enhanced motion rendering provides smoother, more natural character movements with near-photorealistic results in lighting, shadows, and color tones.

Technical specifications:

  • Architecture: DiT + Enhanced Motion Rendering
  • Latent channels: 16
  • Default: 120 frames at 24 FPS
  • Supports I2V: Yes | T2V: Yes | V2V: No

Example

var options = new DiffusionModelOptions<float> { LatentChannels = 16, DefaultInferenceSteps = 30 };
var noise = Tensor<float>.CreateRandom(new[] { 1, 16, 120, 135, 240 });
var trainX = Tensor<float>.CreateRandom(4, 8);
var trainY = Tensor<float>.CreateRandom(4, 2);
var result = new AiModelBuilder<float, Tensor<float>, Tensor<float>>()
    .ConfigureModel(new MinimaxVideoModel<float>(options: options))
    .Build(trainX, trainY);
var video = result.Predict(noise);

Constructors

Constructor Summary
MinimaxVideoModel(NeuralNetworkArchitecture<T> architecture, DiffusionModelOptions<T> options, INoiseScheduler<T> scheduler, DiTNoisePredictor<T> predictor, TemporalVAE<T> temporalVAE, IConditioningModule<T> conditioner, int defaultNumFrames, int defaultFPS, int? seed) Initializes a new instance of MinimaxVideoModel with full customization support.

Properties

Property Summary
IConditioningModule<T> Conditioner { get; }
INoisePredictor<T> NoisePredictor { get; }
IVAEModel<T> TemporalVAE { get; }
IVAEModel<T> VAE { get; }
bool SupportsImageToVideo { get; }
bool SupportsTextToVideo { get; }
bool SupportsVideoToVideo { get; }
int LatentChannels { get; }

Methods

Method Summary
ModelMetadata<T> GetModelMetadata()