How to Generate AI Music with Bitcoin Lightning
Full songs with vocals and custom lyrics. Any genre. No signup. 300 sats per track.
For Humans
Use the web UI — no setup required.
AI music platforms charge $10+/month and lock you into subscriptions after a handful of free generations. Royalty-free libraries charge $15–50/month for pre-made tracks that aren't custom. Sats4AI generates a full song — vocals, instrumentation, your lyrics — for 100 sats (~$0.04). Nothing to sign up for, nothing stored.
Custom podcast intros and outros
Describe your show's vibe — upbeat tech, calm interview, dramatic storytelling — and get a unique jingle. No library track that a thousand other podcasts also use.
Video and content soundtracks
Background music for YouTube videos, social media clips, or presentations. Generate a track that matches the exact mood and length you need — and pair it with AI-generated video.
Songs with your own lyrics
Write the words, the model handles the melody, instrumentation, and vocals. Great for gifts, demos, or turning a poem or story into something you can hear.
Rapid prototyping for musicians
Sketch out a direction before spending studio time. Generate a rough version of the feel you want at 100 sats, then use it as a reference for the real production.
Available Model
Music-2.6
Full songs with instrumentation and real singing from a text description. Handles vocals, custom lyrics, and any genre you can describe. Outputs MP3, WAV, or PCM.
For Agents
Integrate via L402, MCP, or OpenClaw — no account, no API key.
The music endpoint supports L402 authentication: your agent sends a style prompt and optional lyrics, pays a 100-sat Lightning invoice, and receives the audio file. Flat cost per track — no monthly quota to monitor, no API key to rotate.
Automated media production
An agent generates a video script with AI chat, creates the video clip, then scores it with a custom music track — full audiovisual production in one pipeline.
Per-user music generation
An app generates a custom jingle or background track for each user based on their preferences — each generation billed at 100 sats, no subscription overhead.
Lyrics-to-song pipelines
An agent uses AI chat to generate song lyrics from a topic or theme, then calls the music API to produce a finished track — end-to-end song creation.
Bulk music catalog generation
Generate dozens of genre-specific tracks for a content library in a single automated run. At 100 sats each, a 50-track catalog costs under $2.
L402 Authentication Flow
Send the request without auth
POST your style prompt and optional lyrics to the endpoint. The server responds with HTTP 402 + a 100-sat Lightning invoice in the WWW-Authenticate header.
Pay the Lightning invoice
Your agent pays the invoice using a Lightning wallet or library. Save the preimage from the payment result.
Resend with the preimage
Repeat the identical request, adding an Authorization: L402 <macaroon>:<preimage> header. The server validates and returns your audio file.
# One command — lnget handles invoice, payment, and retry automatically
lnget -X POST https://sats4ai.com/api/l402/generate-music \
--json '{"prompt":"upbeat lo-fi hip hop with soft piano and warm bass"}'Connect any MCP-compatible AI assistant. Music generation is one of 10+ tools available through a single connection.
View MCP docs →One-line MCP setup. Your agent composes with Lightning — no API key, no billing account.
Setup OpenClaw →Chain with Other Services
Try It Now — No Signup Required
Full songs with vocals and custom lyrics. 300 sats per track. All you need is a Lightning wallet.