Lacuna AI Music API vs Codebase API
Lacuna AI Music APIby LacunaPaid from$9.50 /month, billed yearly at $114AccessHTTP, SDK, CLI, MCP, WebhooksAgentsNot agent-friendlyAPI QA score[SCORE]View API
Codebase APIby CodebasePaid from$16 /monthAccessHTTP, CLI, MCP, Hosted UIAgentsAgent-friendlyAPI QA score[SCORE]View API
Fact by fact
19 different4 stated by only one2 the same on both
The basics
What it isLacuna AI Music API: Music generation API that makes instrumental tracks or vocal songs from a style description and lyrics, asynchronously, with a TypeScript SDK, CLI and local MCP serverCodebase API: App-builder API that builds a web app from a prompt, returns a preview and the source, paid from monthly credits or per build over x402 with no account
AccessLacuna AI Music API: HTTP, SDK, CLI, MCP, WebhooksCodebase API: HTTP, CLI, MCP, Hosted UI
Still on saleLacuna AI Music API: YesCodebase API: Yes
What they work on
BothAsync job
Price
PricesLacuna AI Music API: Codebase API:
- Basic (yearly, no API)$9.50 /month, billed yearly at $114
- Pro (yearly)$24.50 /month, billed yearly at $294
- Ultra (yearly)$49.50 /month, billed yearly at $594
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key aloneLacuna AI Music API: Noa person signs up in the browser and creates the key or approves OAuthCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyLacuna AI Music API: Nocalls need a key or a signed-in sessionCodebase API: Noa keyless call answers 402 until paid
Agent can payLacuna AI Music API: Nopaid plans are bought by a person at checkout or through salesCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsLacuna AI Music API: Not statedCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsLacuna AI Music API: noneno agent payment protocol named on the pages readCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredLacuna AI Music API: Yes'Available on Pro and Ultra plans'; credit packs need a subscription for downloadsCodebase API: Nox402 payment buys credits with no plan
Smallest purchase (USD)Lacuna AI Music API: From $294Pro $24.50 per month billed yearly at $294 (cheapest plan with API)Codebase API: Not stated
Price published as dataLacuna AI Music API: Noprices only in page HTMLCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordLacuna AI Music API: Yesautomatic credit refunds on failed generations; signed webhooksCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesLacuna AI Music API: Yesprices on the public pricing pageCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upLacuna AI Music API: Yessign up on the site and create a keyCodebase API: Yesaccount by web sign-up; key or OAuth from the account
Free useLacuna AI Music API: Yesfree monthly credits on sign-up (app); API only on Pro and UltraCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPILacuna AI Music API: Not statedCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionLacuna AI Music API: Not statedCodebase API: 3.1stated in llms.txt
Docs without loginLacuna AI Music API: YesAPI reference readable without an accountCodebase API: YesAPI reference readable without an account
llms.txtLacuna AI Music API: Yeshttps://www.lacuna.fm/llms.txtCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownLacuna AI Music API: Yeshome page answered Accept: text/markdown with markdown (crawl facts/A028.tsv (lacuna.fm, crawled in A028))Codebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverLacuna AI Music API: Yesofficial lacuna-mcp on npm, configured with an API keyCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorLacuna AI Music API: Nolocal npm packageCodebase API: Yeshosted by the vendor
MCP sign-inLacuna AI Music API: Uses an API keyAPI key in the MCP configCodebase API: Signs in with OAuth401 with OAuth protected-resource metadata; also accepts a Bearer API key
Jobs both do
Open a job to see every API that does it.

