Team Ai
Modelpublic

developerjeremylive/NAVA-etheroi

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
0likes7downloads
Model Card

<p align="center"> <img src="assets/logo.png" alt="NAVA" width="160"> </p>

<h1 align="center">NAVA — Native Audio-Visual Alignment for Generation</h1>

<p align="center"> <em>State-of-the-art audio-visual synchronization with only <b>6.3 B</b> parameters.</em> </p>

<p align="center"> <a href="https://arxiv.org/abs/2605.30073"><img alt="arXiv" src="https://img.shields.io/badge/Paper-arXiv-b31b1b.svg"></a> <a href="https://github.com/ernie-research/NAVA"><img alt="Code" src="https://img.shields.io/badge/Code-GitHub-181717.svg"></a> <a href="https://ernie-research.github.io/NAVA/"><img alt="Project Page" src="https://img.shields.io/badge/Project_Page-online-2c8ebb.svg"></a> <img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-green.svg"> <img alt="Params" src="https://img.shields.io/badge/params-6.3B-orange.svg"> <img alt="Base model" src="https://img.shields.io/badge/base-Wan2.2--TI2V--5B-7c5cff.svg"> </p>

<p align="center"> <b>ERNIE Team</b> · Baidu Inc. · arXiv 2026 </p>

<p align="center"> ⭐ <b>If you find this model useful, please consider giving our <a href="https://github.com/ernie-research/NAVA">GitHub repo</a> a star!</b> ⭐ </p>

<p align="center"> 📖 <a href="https://huggingface.co/baidu/NAVA/blob/main/README_zh.md"><b>中文版 README</b></a> </p>


TL;DR

NAVA is a 6.3 B-parameter joint audio-video generator that synthesizes synchronized video and audio from a single prompt — including multi-speaker speech with reference-timbre control and image-conditioned continuations.

Instead of post-hoc-aligned dual towers or fully unified tri-modal stacks, NAVA uses an Align-then-Fuse MMDiT: a dedicated alignment space first establishes audio-video correspondence, then context (text, speaker embeddings) is fused via cross-attention. On Verse-Bench it sets new SOTA on Sync-C / Sync-D / video quality / audio WER while using 2× to 5× fewer parameters than open-source baselines.

Highlights - 720p 1-min Fast Generation — 720p synchronized audio-video in ~1 minute via 8-GPU Ulysses sequence parallel. - Dual-Channel Audio — stereo audio (scene + speech) jointly denoised with video, no post-hoc vocoder alignment. - Precise Multi-Timbre Control — reference WAVs bound to <S>...<E> speech spans for per-speaker voice identity. - Language-Described Camera Control — shot composition, motion, and pacing directly from the prompt. - Multi-Resolution — landscape / portrait / square aspect ratios from the same checkpoint.

Model Details

Quick Facts

ArchitectureAlign-then-Fuse MMDiT (Wan2.2 backbone)
Parameters6.3 B (backbone, joint AV)
ModalityJoint audio + video, text-conditioned
Resolution1280×704 (recommended) · 960×960 also supported
Frames / FPS37 frames @ 24 fps ≈ 6 s · 55–61 frames ≈ 9–10 s
Audio25 latent tokens / sec, ≤ 10 s
SamplingFlow matching · UniPC scheduler · 50 default steps
Precisionbf16
ParallelismSingle-GPU or Ulysses sequence parallel (up to 8 GPUs)
Base modelWan-AI/Wan2.2-TI2V-5B

Architecture

<p align="center"> <img src="assets/arch.png" alt="NAVA Architecture" width="900"> </p>

NAVA instantiates Native Audio-Visual Alignment as an Align-then-Fuse MMDiT stack:

  • —Hierarchical Alignment Layers — 10 double-stream blocks. Video and audio keep separate QKV projections and FFNs but share a joint self-attention over concatenated [video_tokens; audio_tokens], plus dedicated cross-attention to text. This builds an alignment space where AV correspondence is learned without semantic context interference.
  • —Unified Fusion Layers — 20 single-stream blocks. Video and audio share QKV/FFN; a unified joint attention treats all tokens as one stream, with a single text cross-attention path. This is where context-conditioned denoising happens.
  • —Backbone hyperparameters. dim=3072, ffn_dim=14336, 24 attention heads, 30 layers (10 double + 20 single), text_len=512, patch size (1, 2, 2). RMSNorm on QK; cross-attention norm; ε = 1e-6.
  • —Positional encoding. 3D RoPE for video (temporal + height + width), 1D RoPE for audio, applied jointly inside the joint-attention path.
  • —Timbre-in-Context Conditioning. Reference-WAV speaker embeddings (ReDimNet, 192-d) are injected through the context pathway and bound to <S>...<E> speech spans, enabling per-speaker timbre control in multi-speaker scenes.
  • —3D cross-modal CFG. Independent classifier-free guidance scales for video, audio, and the cross-modal alignment direction (video_align_guidance_scale, audio_align_guidance_scale) keep AV synchronization tight at inference.

What's Different from Existing Open-Source AV Models

Design axisTypical baselines**NAVA**
Stream layoutDual-tower (post-hoc align) or fully unified tri-modalAlign-then-Fuse — alignment space first, context fused after
Speech controlCaption-only, no per-speaker timbreTimbre-in-Context via reference WAVs
Param budget10 B – 32 B6.3 B

Components Shipped Alongside the Backbone

ComponentDescriptionSize
WanAVModel (backbone)MMDiT, joint AV attention6.3 B
Wan2.2 Video VAECausal 3D ConvNet · 16×16×4 spatial-temporal compression · 48 latent channels2.7 GB
LTX Audio VAE + Vocoder128 latent channels · 25 tokens/sec · built-in waveform decoder348 MB
umt5-xxl Text EncoderT5 · 4096-d embeddings11 GB
ReDimNetSpeaker embedding · 192-d~50 MB

Evaluation

Table 1 — VerseBench (general AV capability)

NAVA achieves the best AV synchronization (Sync-C / Sync-D), video quality, and audio WER, with the smallest parameter budget.

ModelParamsResolutionSync-C ↑Sync-D ↓IB ↑Video Quality ↑WER ↓PQ ↑FD ↓
Ovi 1.110 B720p<u>7.4839</u>7.97910.199<u>0.636</u>0.1025.84320.9418
MOVAA18B (32 B)720p7.28887.8080.2690.6030.1267.23310.9222
Davinci15 B540p7.14877.81580.2690.6000.1515.95590.9307
LTX 2.319 B512p7.2476<u>7.6902</u>0.3370.5760.106<u>6.9459</u>0.8287
NAVA (ours)6.3 B720p7.79147.5655<u>0.313</u>0.6590.0996.8609<u>0.8328</u>

<sub>↑ higher is better · ↓ lower is better · bold = best · <u>underline</u> = 2nd best.</sub>

Table 2 — Seed-TTS-eval (speech quality)

Among joint AV models, NAVA delivers speech quality close to dedicated audio-only systems. Audio-only rows are listed for reference; they are not directly comparable.

CategoryModelWER ↓Speaker Similarity ↑
Audio-Only (reference)CosyVoice4.2960.9
Audio-Only (reference)Qwen2.5-Omni2.7263.2
Audio-Video JointDreamID-Omni33.4434.1
Audio-Video JointNAVA (ours)5.8162.4

How to Use

TL;DR command. After §1 setup is complete: ``bash bash scripts/inference.sh # General T2AV bash scripts/inference_timbre.sh # I2AV + timbre control ` Outputs land under eval_results/`.

1 · Setup (once)

bash
git clone https://github.com/ernie-research/NAVA && cd NAVA

# Python deps
pip install torch torchvision torchaudio
pip install diffusers transformers accelerate safetensors einops scipy PyYAML tqdm sentencepiece
pip install flash-attn --no-build-isolation

# All weights in one shot — main checkpoint + Wan2.2 VAE + T5 + LTX audio VAE
huggingface-cli download <NAVA-repo-id> --local-dir .

<details> <summary><b>Expected on-disk layout</b></summary>

NAVA/
├── NAVA.ckpt                                                    # main checkpoint (24 GB)
├── Wan2.2-TI2V-5B/
│   ├── Wan2.2_VAE.pth                                           # 2.7 GB
│   ├── models_t5_umt5-xxl-enc-bf16.pth                          # 11 GB
│   └── google/umt5-xxl/{spiece.model, tokenizer.json}
├── params/
│   └── LTX2/
│       ├── ltx-2.3-22b-dev_audio_vae.safetensors                # 348 MB
│       └── LICENSE                                              # LTX-2 Community License
└── configs/                                                     # inference YAMLs

The LTX audio-VAE Python code is vendored under nava_src/vendor/ltx_core/ (see its NOTICE.md), so no separate clone of the LTX-Video repo is needed. ReDimNet is fetched via torch.hub on first run. </details>

2 · One-command inference (recommended, 8 GPU SP)

The repo ships two end-to-end scripts that build a JSONL inline and launch SP=8 inference:

bash
# General T2AV (text-only)
bash scripts/inference.sh

# I2AV + Timbre Control (first-frame image + reference voice)
bash scripts/inference_timbre.sh

Override defaults via env vars:

bash
CKPT=/path/to/NAVA.ckpt OUT_DIR=eval_results/run1 bash scripts/inference.sh
TIMBRE_SCALE=3.0 SPK_WAV=/path/to/spk.wav    bash scripts/inference_timbre.sh

3 · Custom batches — write your own JSONL

Each line is one prompt:

jsonl
{"prompt": "一位男子在海边奔跑,镜头跟随。背景是海浪声和风声。"}
{"prompt": "两人对话<S>Hello<E><S>Hi there<E>", "spk_wavs": ["spk1.wav", "spk2.wav"]}
{"prompt": "镜头跟随主体...", "image_path": "/abs/path/first_frame.png"}
FieldRequiredDescription
promptyesText caption (also accepts legacy text field name)
image_pathnoAbsolute path to first-frame image — auto-enables I2V for this sample
spk_wavsnoList of absolute paths to speaker reference WAVs (max 2)

Then launch:

bash
SETUPTOOLS_USE_DISTUTILS=stdlib torchrun \
    --nnodes=1 --nproc_per_node=8 \
    --master_addr=127.0.0.1 --master_port=29507 \
    inference_nava.py \
    --config configs/baseline_t2av_demo_mmdit_no_split_ltx_control_unipc.yaml \
    --ckpt NAVA.ckpt \
    --out_dir ./outputs \
    --data_format json --data_file my_prompts.jsonl \
    --width 1280 --height 704 --frames 37 --fps 24 \
    --steps 50 --save_sample --gen_turn 1 --use_sp

Outputs land at outputs/{save_path}-{gen_turn}_av.mp4. For timbre-controlled samples, also pass --timbre_cfg --timbre_align_guidance_scale 3.0.

Mode cheatsheet
GoalJSONL fieldsExtra flags
Text → AVprompt—
Image → AVprompt + image_path(auto-detected)
Timbre-controlled speechprompt + spk_wavs--timbre_cfg --timbre_align_guidance_scale 3.0
9-second videoany--frames 55
Single-GPU (slower)anyomit --use_sp

4 · Prompt rewriting (recommended for short / English inputs)

NAVA is trained on Chinese dense captions; short or English prompts benefit substantially from rewriting before inference. Three pathways are provided, all sharing the same system prompt and sampling profile (so output style stays consistent), with <S>...<E> speech spans preserved verbatim.

PathwayBackendSpeedBest for
vLLM batch server (pe_src/)Qwen3-4B-Thinking-2507 served via vLLM, async HTTP< 2 s / promptOffline batches
Local transformers, single (gradio_demo/rewrite_single.py)Same model, in-process40–80 s / promptOne-off CLI
Gradio "Rewrite" buttonSame as above, hosted in Gradio40–80 s / promptInteractive UI
bash
# Batch path: start vLLM server, then rewrite a txt of prompts
bash pe_src/start_server.sh --gpu 0 --low-footprint
python pe_src/rewrite.py -i prompts.txt -o prompts_rewritten.txt

5 · Gradio Web UI

Interactive demo with click-to-rewrite (Qwen3-4B), image upload, and reference-WAV upload:

bash
bash gradio_demo/start_gradio.sh \
    --config configs/baseline_t2av_demo_mmdit_no_split_ltx_control_unipc.yaml \
    --ckpt NAVA.ckpt \
    --rewrite_model pe_src/Qwen3-4B-Thinking-2507 \
    --port 8000 --nproc 8

<details> <summary><b>Debug mode (no models, UI only)</b></summary>

bash
python gradio_demo/gradio_server.py --debug --port 8000

</details>


Bias, Safety, and Misuse

NAVA can synthesize video and speech conditioned on a reference image (image_path) and reference voice (spk_wavs). Using it to depict real persons without consent — including face-likeness or voice-likeness reproduction — is prohibited by the license and may also be illegal in your jurisdiction. We recommend:

  1. 1.Only use consent-approved reference media.
  2. 2.Label generated content as synthetic.
  3. 3.Apply provenance / watermarking before redistribution.

Citation

bibtex
@article{nava2026,
  title   = {NAVA: Native Audio-Visual Alignment for Joint Audio-Video Generation},
  author  = {ERNIE Team},
  journal = {arXiv preprint},
  year    = {2026},
}

Acknowledgements

NAVA builds on excellent upstream work: Wan2.2-TI2V-5B (video backbone & VAE), LTX 2.3 (audio VAE + built-in vocoder), umt5-xxl (text encoder), and ReDimNet (speaker embedding). We also thank the open-source AV-generation community — Ovi, MOVA, Davinci, LTX — for releasing strong baselines that made fair benchmarking possible.

License & Contact

Released under Apache-2.0. For research / commercial inquiries, contact the ERNIE team at Baidu Inc.