GameGenXModel<T>
Models & Types · AiDotNet.Diffusion.Video.WorldModels
GameGen-X open-world game video generation with interactive control.
Inheritance: DiffusionModelBase<T> → LatentDiffusionModelBase<T> → VideoDiffusionModelBase<T> → GameGenXModel<T>
For Beginners
GameGen-X generates open-world game environments with interactive control. Users can take actions (move, interact) and the model generates the next frame in response, creating a playable game experience.
How It Works
References:
- Paper: “GameGen-X: Interactive Open-world Game Video Generation” (ICLR 2025)
GameGen-X is the first open-world game generation model supporting interactive control. Through a two-stage training strategy, it achieves high-quality game content generation and dynamic control, with significant advances in character diversity, environmental interaction, and event simulation. Accepted at ICLR 2025.
Technical specifications:
- Architecture: DiT + Interactive Control + Two-Stage Training
- Latent channels: 16
- Default: 60 frames at 30 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, 60, 90, 160 });
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 GameGenXModel<float>(options: options))
.Build(trainX, trainY);
var gameplay = result.Predict(noise);
Constructors
| Constructor | Summary |
|---|---|
GameGenXModel(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 GameGenXModel 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() |