Cosmos-Predict2
: A family of highly performant pre-trained world foundation models purpose-built for generating physics-aware images, videos and world states for physical AI development.
Cosmos-Predict2 diffusion models are a collection of diffusion based world foundation models that generate dynamic, high quality images and videos from text, image, or video inputs. It can serve as the building block for various applications or research that are related to world generation. The models are ready for commercial use under NVIDIA Open Model license agreement.
Model Developer
: NVIDIA
Model Versions
The Cosmos-Predict2 diffusion-based model family includes the following models:
Under the NVIDIA Open Model License, NVIDIA confirms:
Models are commercially usable.
You are free to create and distribute Derivative Models.
NVIDIA does not claim ownership to any outputs generated using the Models or Derivative Models.
Important Note
: If you bypass, disable, reduce the efficacy of, or circumvent any technical limitation,
safety guardrail
or
associated safety guardrail hyperparameter, encryption, security, digital rights management, or authentication mechanism contained
in the Model, your rights under
NVIDIA Open Model License Agreement
will automatically terminate.
Deployment Geography
Global
Model Architecture
Cosmos-Predict2-2B-Video2World is a diffusion transformer model designed for video denoising in the latent space. The network is composed of interleaved self-attention, cross-attention and feedforward layers as its building blocks. The cross-attention layers allow the model to condition on input text throughout the denoising process. Before each layer, adaptive layer normalization is applied to embed the time information for denoising. When image or video is provided as input, their latent frames are concatenated with the generated frames along the temporal dimension. Augment noise is added to conditional latent frames to bridge the training and inference gap.
Input/Output Specifications
Input
Input Type(s)
: Text+Image, Text+Video
Input Format(s)
:
Text: String
Image: jpg, png, jpeg, webp
Video: mp4
Input Parameters
:
Text: One-dimensional (1D)
Image: Two-dimensional (2D)
Video: Three-dimensional (3D)
Other Properties Related to Input
:
The input string should contain fewer than 300 words and should provide descriptive content for world generation, such as a scene description, key objects or characters, background, and any specific actions or motions to be depicted within the 5-second duration.
For the 720P model, the input image should be 1280×704; for the 480P model, use 832×480.
The input video should consist of 5 frames, each with a resolution of 1280×704 for the 720P model, or 832×480 for the 480P model.
Output
Output Type(s)
: Video
Output Format(s)
: mp4
Output Parameters
: Three-dimensional (3D)
Other Properties Related to Output
: The generated video is a 5-second clip, with resolution and frame rate determined by the model variant used. For example, the 720P 16FPS model produces a video with a resolution of 1280×704 and a frame rate of 16 FPS.
The video content visualizes the input text description as a short animated scene, capturing key elements within the specified time constraints.
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
import torch
from diffusers import Cosmos2VideoToWorldPipeline
from diffusers.utils import export_to_video, load_image
# Available checkpoints: nvidia/Cosmos-Predict2-2B-Video2World, nvidia/Cosmos-Predict2-14B-Video2World
model_id = "nvidia/Cosmos-Predict2-2B-Video2World"
pipe = Cosmos2VideoToWorldPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16)
pipe.to("cuda")
prompt = "A close-up shot captures a vibrant yellow scrubber vigorously working on a grimy plate, its bristles moving in circular motions to lift stubborn grease and food residue. The dish, once covered in remnants of a hearty meal, gradually reveals its original glossy surface. Suds form and bubble around the scrubber, creating a satisfying visual of cleanliness in progress. The sound of scrubbing fills the air, accompanied by the gentle clinking of the dish against the sink. As the scrubber continues its task, the dish transforms, gleaming under the bright kitchen lights, symbolizing the triumph of cleanliness over mess."
negative_prompt = "The video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality."
image = load_image(
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/yellow-scrubber.png"
)
video = pipe(
image=image, prompt=prompt, negative_prompt=negative_prompt, generator=torch.Generator().manual_seed(1)
).frames[0]
export_to_video(video, "output.mp4", fps=16)
Linux (We have not tested on other operating systems.)
System Requirements and Performance:
This model requires 32.54 GB of GPU VRAM.
The following table shows inference time for a single generation across different NVIDIA GPU hardware:
GPU Hardware
Inference Runtime
NVIDIA GB200
25.61 sec
NVIDIA B200
30.7 sec
NVIDIA RTX PRO 6000 Workstation Edition
82.43 sec
NVIDIA H200 SXM
50.2 sec
NVIDIA H200 NVL
54.01 sec
NVIDIA H100 PCIe
79.87 sec
NVIDIA H100 NVL
87.32 sec
NVIDIA H20
179.69 sec
NVIDIA L40S
127.49 sec
NVIDIA RTX 6000 Ada Generation
180.99 sec
Quality Benchmarks:
For comparative evaluation, we present benchmark scores using the
PBench
.
Despite various improvements in world generation for Physical AI, Cosmos-Predict2 video2world models still face technical and application limitations for world prediction. In particular, they struggle to generate long, high-resolution videos without artifacts. Common issues include temporal inconsistency, camera and object motion instability, and imprecise interactions. The models may inaccurately represent 3D space, 4D space-time, or physical laws in the generated videos, leading to artifacts such as disappearing or morphing objects, unrealistic interactions, and implausible motions. As a result, applying these models for applications that require simulating physical law-grounded environments or complex multi-agent dynamics remains challenging.
Ethical Considerations
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Users are responsible for model inputs and outputs. Users are responsible for ensuring safe integration of this model, including implementing guardrails as well as other safety mechanisms, prior to deployment.
For more detailed information on ethical considerations for this model, please see the subcards of Explainability, Bias, Safety & Security, and Privacy below. Please report security vulnerabilities or NVIDIA AI Concerns
here
.
Plus Plus (++) Promise
We value you, the datasets, the diversity they represent, and what we have been entrusted with. This model and its associated data have been:
Verified to comply with current applicable disclosure laws, regulations, and industry standards.
Verified to comply with applicable privacy labeling requirements.
Annotated to describe the collector/source (NVIDIA or a third-party).
Characterized for technical limitations.
Reviewed to ensure proper disclosure is accessible to, maintained for, and in compliance with NVIDIA data subjects and their requests.
Reviewed before release.
Tagged for known restrictions and potential safety implications.
Bias
Field
Response
Participation considerations from adversely impacted groups
protected classes
in model design and testing:
None
Measures taken to mitigate against unwanted bias:
None
Explainability
Field
Response
Intended Application & Domain:
World Generation
Model Type:
Transformer
Intended Users:
Physical AI developers
Output:
Videos
Describe how the model works:
Generates videos based on video inputs
Technical Limitations:
The model may not follow the video input accurately.
Verified to have met prescribed NVIDIA quality standards:
Yes
Performance Metrics:
Quantitative and Qualitative Evaluation
Potential Known Risks:
The model's output can generate all forms of videos, including what may be considered toxic, offensive, or indecent.
The Principle of least privilege (PoLP) is applied limiting access for dataset generation and model development. Restrictions enforce dataset access during training, and dataset license constraints adhered to. Model checkpoints are made available on Hugging Face, and may become available on cloud providers' model catalog.
Runs of nvidia Cosmos-Predict2-2B-Video2World on huggingface.co
203.4K
Total runs
-12.1K
24-hour runs
-24.7K
3-day runs
-34.7K
7-day runs
84.5K
30-day runs
More Information About Cosmos-Predict2-2B-Video2World huggingface.co Model
More Cosmos-Predict2-2B-Video2World license Visit here:
Cosmos-Predict2-2B-Video2World huggingface.co is an AI model on huggingface.co that provides Cosmos-Predict2-2B-Video2World's model effect (), which can be used instantly with this nvidia Cosmos-Predict2-2B-Video2World model. huggingface.co supports a free trial of the Cosmos-Predict2-2B-Video2World model, and also provides paid use of the Cosmos-Predict2-2B-Video2World. Support call Cosmos-Predict2-2B-Video2World model through api, including Node.js, Python, http.
Cosmos-Predict2-2B-Video2World huggingface.co is an online trial and call api platform, which integrates Cosmos-Predict2-2B-Video2World's modeling effects, including api services, and provides a free online trial of Cosmos-Predict2-2B-Video2World, you can try Cosmos-Predict2-2B-Video2World online for free by clicking the link below.
nvidia Cosmos-Predict2-2B-Video2World online free url in huggingface.co:
Cosmos-Predict2-2B-Video2World is an open source model from GitHub that offers a free installation service, and any user can find Cosmos-Predict2-2B-Video2World on GitHub to install. At the same time, huggingface.co provides the effect of Cosmos-Predict2-2B-Video2World install, users can directly use Cosmos-Predict2-2B-Video2World installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Cosmos-Predict2-2B-Video2World install url in huggingface.co: