LibreAI / AI Music / doubao2api
// ai-music · wangchuxiaoji-oss/doubao2api

doubao2api

Reverse-engineered Doubao (豆包) API → OpenAI-compatible REST service. Free multimodal chat, image/video/music generation, and file hosting for AI agents.

★ 258 stars⑂ 72 forksApache-2.0updated 2026-05
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

doubao2api is an open-source ai music project by wangchuxiaoji-oss (wangchuxiaoji-oss/doubao2api on GitHub). It has 258 GitHub stars and 72 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 24 May 2026.

GitHub stars
258
Forks
72
License
Apache-2.0
Last updated on GitHub
24 May 2026
Category
AI Music
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Choose creation or library

    Generate new music with AI, or self-host the collection you already own.

  2. Install the app

    Desktop, mobile, and server builds cover every listening setup.

  3. Add models or music

    AI tools download models; players just need your files.

  4. Create or listen

    Generate tracks, or stream your library anywhere.

// features

Why people love it

Python ecosystem

Built on Python, so it plugs into the wider data and ML tooling ecosystem.

High fidelity

FLAC and lossless support for serious listening.

No subscription

Own your music software the way you own your files.

Your library, yours

Self-hosted servers stream your collection to any device.

Stem separation

Split any track into vocals, drums, bass, and more.

AI composition

Generate melodies, arrangements, and full songs from prompts.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/wangchuxiaoji-oss/doubao2api.git
    cd doubao2api
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project's launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains doubao2api?

It is an open-source project at wangchuxiaoji-oss/doubao2api with 72 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is doubao2api free for commercial use?

Apache 2.0 licensed — commercial use allowed with attribution.

Can I use AI-generated music commercially?

Often yes, but check the model's license and your local rules on AI works.

Can it replace Spotify?

For your own files, yes — discovery and podcasts are the gaps.

Do I need a server?

For personal use a Raspberry Pi or old laptop is plenty.

// keep exploring

Similar tools

AI Music

UltraSinger

AI based tool to convert vocals lyrics and pitch from music to autogenerate Ultrastar Deluxe, Midi and notes. It automatic tapping, adding text, pitch vocals…

★ 546 starsMIT
View guide →
AI Music

oh-sheet

Turn any song into playable piano sheet music. Paste a YouTube link or upload audio — get a PDF score. Open-source pipeline: Basic Pitch transcription, two-h…

★ 366 starsMIT
View guide →
AI Music

suno-api

Use API to call the music generation AI of suno.ai, and easily integrate it into agents like GPTs.

★ 3.2k starsLGPL-3.0
View guide →
AI Music

qvac

Open-source local AI SDK - run AI on-device with no cloud, no API keys. Supports GGUF, RAG, image, music, and video generation, speech-to-text, P2P inference…

★ 664 starsApache-2.0
View guide →
AI Music

ai-video-workflow

One-click AIGC pipeline: image, video, music, and prompts in a single flow.

★ 106 starsMIT
View guide →
AI Music

higgsfield-seedance2-jineng

Seedance 2.0 × Higgsfield 技能集 | 15 Claude prompt skills for AI video generation — cinematic, 3D CGI, anime, e-commerce ads, music videos & more. Each skill: …

★ 878 starsUnknown
View guide →
// alternatives

Alternatives in AI Music

The most-starred other AI Music projects in the LibreAI catalogue — the realistic shortlist if doubao2api is not the right fit.

Get doubao2api

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