suno-ai /bark

🔊 Text-Prompted Generative Audio Model

★ 39,330⑂ 4,659👁 328⑃ 89● 480▤ 0◈ 88
Jupyter NotebookMITCreated 2023-04-07
39,330
stars
+-2
4,659
forks
328
watchers
89
prs
480
issues
0
releases
88
discussions

README

Notice: Bark is Suno's open-source text-to-speech+ model. If you are looking for our text-to-music models, please visit us on our web page and join our community on Discord. 

     
 🐶 Bark




 🔗 Examples • Suno Studio Waitlist • Updates • How to Use • Installation • FAQ

[//]:  (vertical spaces around image)






Bark is a transformer-based text-to-audio model created by Suno. Bark can generate highly realistic, multilingual speech as well as other audio - including music, background noise and simple sound effects. The model can also produce nonverbal communications like laughing, sighing and crying. To support the research community, we are providing access to pretrained model checkpoints, which are ready for inference and available for commercial use.

 ⚠ Disclaimer
Bark was developed for research purposes. It is not a conventional text-to-speech model but instead a fully generative text-to-audio model, which can deviate in unexpected ways from provided prompts. Suno does not take responsibility for any output generated. Use at your own risk, and please act responsibly.

 📖 Quick Index
 🚀 Updates
 💻 Installation
 🐍 Usage
 🌀 Live Examples
 ❓ FAQ

 🎧 Demos  





 🚀 Updates

2023.05.01
- ©️ Bark is now licensed under the MIT License, meaning it's now available for commercial use!  
- ⚡ 2x speed-up on GPU. 10x speed-up on CPU. We also added an option for a smaller version of Bark, which offers additional speed-up with the trade-off of slightly lower quality. 
- 📕 Long-form generation, voice consistency enhancements and other examples are now documented in a new notebooks section.
- 👥 We created a voice prompt library. We hope this resource helps you find useful prompts for your use cases! You can also join us on Discord, where the community actively shares useful prompts in the audio-prompts channel.  
- 💬 Growing community support and access to new features here: 

     

- 💾 You can now use Bark with GPUs that have low VRAM (
  🪑 Basics

python
from bark import SAMPLE_RATE, generate_audio, preload_models
from scipy.io.wavfile import write as write_wav
from IPython.display import Audio

 download and load all models
preload_models()

 generate audio from text
text_prompt = """
     Hello, my name is Suno. And, uh — and I like pizza. [laughs] 
     But I also have other interests such as playing tic tac toe.
"""
audio_array = generate_audio(text_prompt)

 save audio to disk
write_wav("bark_generation.wav", SAMPLE_RATE, audio_array)
  
 play text in notebook
Audio(audio_array, rate=SAMPLE_RATE)

     
pizza1.webm




  🌎 Foreign Language

Bark supports various languages out-of-the-box and automatically determines language from input text. When prompted with code-switched text, Bark will attempt to employ the native accent for the respective languages. English quality is best for the time being, and we expect other languages to further improve with scaling. 



python

text_prompt = """
    추석은 내가 가장 좋아하는 명절이다. 나는 며칠 동안 휴식을 취하고 친구 및 가족과 시간을 보낼 수 

Top issues

Discussions

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON