AudioLDM 2
Free.ai (self-hosted)
·
music
·
~5000 tokens per track
·
4.2
from 5 users of this category
AudioLDM 2 is a music generation model built by Haohe Liu. Strongest at Music generation from text. Self-hosted on Free.ai GPUs — runs free against your daily token pool (5,000 tokens per track). Released under Apache 2.0 — commercial use permitted on Free.ai.
Use via API
OpenAI-compatible REST API. Generate a key and call this model in seconds.
curl -X POST https://api.free.ai/v1/music/generate/ \
-H "Authorization: Bearer sk-free-..." \
-H "Content-Type: application/json" \
-d '{"model":"audioldm2","prompt":"your prompt here"}'
API Documentation
Get API Key
Similar models
Frequently Asked Questions
AudioLDM 2 generates original instrumental music (and on some engines, vocals) from a text prompt. Describe the mood, genre, instrumentation, or BPM and AudioLDM 2 returns a finished audio track.
10 to 60 seconds per generation depending on the engine. For longer pieces, chain multiple generations through /music/stitch/ or generate in 30-second segments and crossfade.
Some engines synthesize vocals from lyrics you provide (paste lyrics in the form); others are instrumental-only. Check the form on this page — a Lyrics field means vocals are supported.
Pop, rock, EDM, jazz, ambient, classical, lo-fi, hip-hop instrumentals all render reasonably. Niche genres (gamelan, Carnatic, throat singing) are weaker — describe instruments explicitly for best results.
AudioLDM 2 runs on our own GPUs against your daily free pool first; $5 → 200,000 paid tokens after that. About ~5,000 tokens per track.
WAV by default (lossless, ready for further mixing). MP3 is available in the output picker for smaller files.
No — AudioLDM 2 returns a mixed track. To separate into stems, run the output through /music/separate/ which uses Demucs to extract vocals, drums, bass, and other.
Yes — /batch/ accepts a list of prompts. Each track lands in /account/?tab=history with the prompt as the filename. For more control, use the API.
Yes — POST your prompt to /v1/music/generate/ with model="AudioLDM 2". /api/ has the full reference including lyrics, duration, and tempo parameters.
AudioLDM 2 does not reproduce copyrighted compositions — outputs are synthesized fresh. Free.ai grants commercial use; you keep the rights to your generated tracks. Naming an artist in the prompt asks for "in the style of" — the actual audio is original.
15 seconds to 2 minutes per track depending on duration + engine. Premium models finish faster. Use the queue button to close the tab — result lands in /account/?tab=history when done.
Yes — failed renders auto-refund. For tracks that ran but sound bad, email contact@free.ai with the share link and we will review case-by-case.