AI/EXPLORER
OutilsCatégoriesSitesLLMsComparerQuiz IAAlternativesPremium
—Outils IA
—Sites & Blogs
—LLMs & Modèles
—Catégories
AI Explorer

Trouvez et comparez les meilleurs outils d'intelligence artificielle pour vos projets.

Fait avecen France

Explorer

  • ›Tous les outils
  • ›Sites & Blogs
  • ›LLMs & Modèles
  • ›Comparer
  • ›Chatbots
  • ›Images IA
  • ›Code & Dev

Entreprise

  • ›Premium
  • ›À propos
  • ›Contact
  • ›Blog

Légal

  • ›Mentions légales
  • ›Confidentialité
  • ›CGV

© 2026 AI Explorer·Tous droits réservés.

AccueilLLMsTangoFlux

TangoFlux

par declare-lab

Open source · 454 downloads · 105 likes

2.5
(105 avis)AudioAPI & Local
À propos

TangoFlux est un modèle avancé de génération de texte en audio, capable de produire des voix ou des sons réalistes à partir de descriptions textuelles, avec une fidélité et une rapidité remarquables. Grâce à une architecture innovante combinant des blocs de flux et des transformers multimodaux, il génère des séquences audio de haute qualité jusqu’à 30 secondes à une fréquence de 44,1 kHz. Son entraînement en trois étapes – pré-entraînement, fine-tuning et optimisation par préférences – lui permet d’affiner la qualité des résultats en s’appuyant sur des données synthétiques et des paires de préférences. Idéal pour des applications comme la synthèse vocale, la création musicale ou la production de contenus audio, TangoFlux se distingue par sa précision et son adaptabilité, tout en restant accessible via des plateformes comme Hugging Face.

Documentation

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

TangoFlux
arXiv Static Badge Static Badge Static Badge Static Badge Static Badge
  • Powered by Stability AI

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

Get TangoFlux from our GitHub repo https://github.com/declare-lab/TangoFlux with

Bash
pip install git+https://github.com/declare-lab/TangoFlux

The model will be automatically downloaded and saved in a cache. The subsequent runs will load the model directly from the 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.

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

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

Audio(data=audio, rate=44100)

License

The TangoFlux checkpoints are for non-commercial research use only. They are subject to the Stable Audio Open’s license, WavCap’s license, and the original licenses accompanying each training dataset.

This Stability AI Model is licensed under the Stability AI Community License, Copyright © Stability AI Ltd. All Rights Reserved

Citation

https://arxiv.org/abs/2412.21037

Bibtex
@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}, 
}
Liens & Ressources
Spécifications
CatégorieAudio
AccèsAPI & Local
LicenceOpen Source
TarificationOpen Source
Note
2.5

Essayer TangoFlux

Accédez directement au modèle