declare-lab / TangoFlux-base

huggingface.co
Total runs: 26
24-hour runs: 1
7-day runs: -1
30-day runs: 6
Model's Last Updated: January 03 2025

Introduction of TangoFlux-base

Model Details of TangoFlux-base

✨
TangoFlux: Super Fast and Faithful Text to Audio Generation with Flow Matching and Clap-Ranked Preference Optimization
✨✨✨

Model Overview

TangoFlux consists of FluxTransformer blocks which are Diffusion Transformer (DiT) and Multimodal Diffusion Transformer (MMDiT), conditioned on textual prompt and duration embedding to generate audio at 44.1kHz up to 30 seconds. TangoFlux learns a rectified flow trajectory from audio latent representation encoded by a variational autoencoder (VAE). The TangoFlux training pipeline consists of three stages: pre-training, fine-tuning, and preference optimization. TangoFlux is aligned via CRPO which iteratively generates new synthetic data and constructs preference pairs to perform preference optimization.

Getting Started

This model is the TangoFlux-base model before preference optimization. To use a more aligned model, please use TangoFlux from https://github.com/declare-lab/TangoFlux

Download TangoFlux from our github https://github.com/declare-lab/TangoFlux The model will be automatically downloaded and saved in cache. Subsequent runs will load the model directly from cache.

The generate function uses 25 steps by default to sample from the flow model. We recommend using 50 steps for generating better quality audios. This comes at the cost of increased run-time.

import torchaudio
from tangoflux import TangoFluxInference
from IPython.display import Audio

model = TangoFluxInference(name='declare-lab/TangoFlux-base')
audio = model.generate('Hammer slowly hitting the wooden table', steps=50, duration=10)

Audio(data=audio, rate=44100)
Citation

https://arxiv.org/abs/2412.21037

@misc{hung2024tangofluxsuperfastfaithful,
      title={TangoFlux: Super Fast and Faithful Text to Audio Generation with Flow Matching and Clap-Ranked Preference Optimization}, 
      author={Chia-Yu Hung and Navonil Majumder and Zhifeng Kong and Ambuj Mehrish and Rafael Valle and Bryan Catanzaro and Soujanya Poria},
      year={2024},
      eprint={2412.21037},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2412.21037}, 
}

Runs of declare-lab TangoFlux-base on huggingface.co

26
Total runs
1
24-hour runs
0
3-day runs
-1
7-day runs
6
30-day runs

More Information About TangoFlux-base huggingface.co Model

More TangoFlux-base license Visit here:

https://choosealicense.com/licenses/mit

TangoFlux-base huggingface.co

TangoFlux-base huggingface.co is an AI model on huggingface.co that provides TangoFlux-base's model effect (), which can be used instantly with this declare-lab TangoFlux-base model. huggingface.co supports a free trial of the TangoFlux-base model, and also provides paid use of the TangoFlux-base. Support call TangoFlux-base model through api, including Node.js, Python, http.

declare-lab TangoFlux-base online free

TangoFlux-base huggingface.co is an online trial and call api platform, which integrates TangoFlux-base's modeling effects, including api services, and provides a free online trial of TangoFlux-base, you can try TangoFlux-base online for free by clicking the link below.

declare-lab TangoFlux-base online free url in huggingface.co:

https://huggingface.co/declare-lab/TangoFlux-base

TangoFlux-base install

TangoFlux-base is an open source model from GitHub that offers a free installation service, and any user can find TangoFlux-base on GitHub to install. At the same time, huggingface.co provides the effect of TangoFlux-base install, users can directly use TangoFlux-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

TangoFlux-base install url in huggingface.co:

https://huggingface.co/declare-lab/TangoFlux-base

Url of TangoFlux-base

TangoFlux-base huggingface.co Url

Provider of TangoFlux-base huggingface.co

declare-lab
ORGANIZATIONS

Other API from declare-lab

huggingface.co

Total runs: 4.1K
Run Growth: 2.7K
Growth Rate: 64.99%
Updated:December 17 2023
huggingface.co

Total runs: 234
Run Growth: -323
Growth Rate: -138.03%
Updated:August 28 2025
huggingface.co

Total runs: 181
Run Growth: -194
Growth Rate: -107.18%
Updated:August 28 2025
huggingface.co

Total runs: 102
Run Growth: 47
Growth Rate: 46.08%
Updated:January 28 2025
huggingface.co

Total runs: 89
Run Growth: 27
Growth Rate: 30.34%
Updated:January 18 2026
huggingface.co

Total runs: 87
Run Growth: -13
Growth Rate: -14.94%
Updated:August 01 2025
huggingface.co

Total runs: 54
Run Growth: -4
Growth Rate: -7.41%
Updated:January 18 2026
huggingface.co

Total runs: 49
Run Growth: 0
Growth Rate: 0.00%
Updated:December 11 2025
huggingface.co

Total runs: 17
Run Growth: 2
Growth Rate: 11.76%
Updated:October 24 2022