LibreAI / Audio / bark
// audio · suno-ai/bark

bark

Suno's text-prompted generative audio model: speech, music and sound effects from text prompts

★ 39.3k stars⑂ 4.7k forksMITupdated 2024-08
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

bark is an open-source audio project by suno-ai (suno-ai/bark on GitHub). It has 39,268 GitHub stars and 4,661 forks, is released under the MIT license, and was last updated on GitHub on 19 August 2024.

Repository
suno-ai/bark
GitHub stars
39,268
Forks
4,661
License
MIT
Last updated on GitHub
19 August 2024
Category
Audio
Listing
Full install guide
// how it works

How it works

  1. Clarify your goal

    Decide what you want from bark and check the README and requirements to confirm it fits your setup and Jupyter Notebook environment.

  2. Get the code

    Clone the repository from GitHub (github.com/suno-ai/bark) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// features

Why people love it

Text-prompted audio

Generates audio from text prompts — speech, music and sound effects in one model.

Multilingual speech

Supports multiple languages for spoken generation.

Non-speech sounds

Can produce laughter, sighs and other non-verbal sounds from prompt cues.

Python usage

Simple Python API for generating audio in a few lines.

Transformers support

Also usable through Hugging Face Transformers.

Command line

Ships a command-line interface for quick generation.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/suno-ai/bark.git
    cd bark
  2. Install Bark

    Clone the repo and install it in editable mode, per the README installation section.

    git clone https://github.com/suno-ai/bark.git
    cd bark
    pip install .  # see README for the exact command
  3. Generate audio in Python

    Use the Python API to generate and save your first clip.

    python -c "from bark import generate_audio, SAMPLE_RATE; print(SAMPLE_RATE)"  # see README Usage in Python
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains bark?

It is maintained by suno-ai and contributors on GitHub, where the repository github.com/suno-ai/bark is the canonical home for code, issues and releases.

Is bark free to use?

Yes — it is open source under the MIT license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

No. Bark runs locally; a GPU noticeably speeds up generation.

How does bark compare to alternatives?

Compared with Coqui TTS: Bark generates music and sound effects as well as speech from prompts, while Coqui TTS focuses on speech synthesis models.

How do I get started?

Clone github.com/suno-ai/bark, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// keep exploring

Similar tools

Audio

ChatTTS

A generative speech model built for daily dialogue — natural, conversational text-to-speech

★ 39.9k starsAGPL-3.0
View guide →
Audio

metavoice-src

MetaVoice-1B: a 1.2B-parameter foundation model for emotional, zero-shot text-to-speech

★ 4.2k starsApache-2.0
View guide →
Audio

Amphion

Open research toolkit for text-to-speech, voice conversion, singing voice and text-to-audio generation.

★ 10.3k starsMIT
View guide →
Audio

vits

VITS — the original end-to-end text-to-speech model: a conditional VAE with adversarial learning, in PyTorch.

★ 7.9k starsMIT
View guide →
Audio

Fish Speech

Fish Speech — Fish Audio's expressive open text-to-speech and voice cloning: SOTA-quality TTS you can self-host, under the Fish Audio Community License (check terms)

★ 33.3k starsCustom (check repo)
View guide →
Audio

PaddleSpeech

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text…

★ 12.7k starsApache-2.0
View guide →
// alternatives

Alternatives in Audio

The most-starred other Audio projects in the LibreAI catalogue — the realistic shortlist if bark is not the right fit.

Get bark

Free and open — grab the source, star the repo, and start creating.