Skip to content
Fourohtwo

Music generation

www.trezalabs.com/api/x402/music

Music generation: describe a track, get an original piece back in the same response. Google Lyria 3: a 30-second clip ($0.06) or a full song ($0.12). No account or API key: the payment is the only credential.

SolanaAnswering
POSThttps://www.trezalabs.com/api/x402/music

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://www.trezalabs.com/api/x402/music" \
  -d '{"model":"lyria-3-clip","prompt":"warm lo-fi hip hop, soft piano chords, vinyl crackle, relaxed 80 bpm groove"}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "model": "lyria-3-clip",
  "prompt": "warm lo-fi hip hop, soft piano chords, vinyl crackle, relaxed 80 bpm groove"
}

Price changes

  • Nov 25, 20260.06 → 0.12

More from Treza