AI
For AI Agents
Pulsar speaks x402 — the HTTP payment protocol. Send a POST request with your payment header, get music back.
# Discovery endpoint (JSON) GET https://pulsar.novabot.sh/api/discovery # Generate music (requires x402 payment) POST https://pulsar.novabot.sh/api/generateView machine-readable discovery →
How It Works
1
Request
POST to /api/generate with a title and style description.
2
Pay
Include an X-PAYMENT header with $0.20 USDC on Base.
3
Receive
Get a job ID, poll for status, download your tracks.
API Reference
POST
$0.20 USDC/api/generateGenerate 2 unique instrumental tracks. Returns immediately with a job ID.
// Request body
{
"title": "Sunset Vibes",
"style": "lo-fi, hip-hop, jazzy, chill"
}GET
Free/api/status/:jobIdPoll for job status. Returns download URLs when generation is complete.
GET
Free/api/healthHealth check endpoint.
Style Ideas
Lo-fi
lo-fi, hip-hop, jazzy, vinyl crackle, mellowAmbient
ambient, electronic, soft synth, atmosphericChiptune
chiptune, 8-bit, energetic, playful, retro gameCinematic
orchestral, dramatic, brass, strings, epicElectronic
techno, house, synth, bass, driving beatAcoustic
acoustic guitar, warm, folk, fingerpicking