Runnable Node.js examples that put five AI music models head to head — Mureka O2 and V9, MiniMax music-2.6, ElevenLabs music-v1, and Google Lyria 3 Pro — by sending the same brief to all five through one useapi.net API token. Instrumentals, prompt-only vocals, and your own custom lyrics.
📖 Full walkthrough with all 30 generated tracks, prices, and findings: AI Music APIs Compared: Mureka vs MiniMax vs ElevenLabs vs Lyria 3 Pro 📺 Skimmable 15-minute cut of every track: YouTube
| Example | What it does | Docs |
|---|---|---|
same-brief-five-models/ |
Send one brief to all five models, poll every job, download every track | Mureka · PixVerse music · Flow Music |
You need Node.js v21 or newer (no dependencies to install), a useapi.net API token, and connected Mureka, PixVerse, and Flow Music accounts (one $15/month subscription covers every useapi.net API):
git clone https://github.com/useapi/ai-music-comparison.git
cd ai-music-comparison/same-brief-five-models
node ./compare.mjs <API_TOKEN> bigband-noirThe second argument picks a brief from prompts.json — the six briefs from the article are included (bigband-noir, liquid-dnb, pop-duet, spanish-flamenco, deep-house, jazzy-house-duet), and adding your own is one JSON entry. Tracks land in ./output/<round>/ with a summary.json of timings.
useapi.net is an experimental REST API for AI services. These APIs drive your own Mureka, PixVerse, and Flow Music accounts, so you spend your plans' credits at consumer rates instead of metered developer-API pricing. See the model matrix and the article's cost table for the numbers.
Visit our Discord Server or Telegram Channel for any support questions and concerns.
We regularly post guides and tutorials on the YouTube Channel.